CVE-2021-47565 (GCVE-0-2021-47565)

Vulnerability from cvelistv5 – Published: 2024-05-24 15:12 – Updated: 2025-05-04 07:13
VLAI?
Title
scsi: mpt3sas: Fix kernel panic during drive powercycle test
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: mpt3sas: Fix kernel panic during drive powercycle test While looping over shost's sdev list it is possible that one of the drives is getting removed and its sas_target object is freed but its sdev object remains intact. Consequently, a kernel panic can occur while the driver is trying to access the sas_address field of sas_target object without also checking the sas_target object for NULL.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 5d4d50b1f159a5ebab7617f47121b4370aa58afe (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 58ef2c7a6de13721865d84b80eecf56d6cba0937 (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < dd035ca0e7a142870a970d46b1d19276cfe2bc8c (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 0d4b29eaadc1f59cec0c7e85eae77d08fcca9824 (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 7e324f734a914957b8cc3ff4b4c9f0409558adb5 (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 8485649a7655e791a6e4e9f15b4d30fdae937184 (git)
Affected: f92363d12359498f9a9960511de1a550f0ec41c2 , < 0ee4ba13e09c9d9c1cb6abb59da8295d9952328b (git)
Create a notification for this product.
    Linux Linux Affected: 3.8
Unaffected: 0 , < 3.8 (semver)
Unaffected: 4.4.294 , ≤ 4.4.* (semver)
Unaffected: 4.9.292 , ≤ 4.9.* (semver)
Unaffected: 4.14.257 , ≤ 4.14.* (semver)
Unaffected: 4.19.219 , ≤ 4.19.* (semver)
Unaffected: 5.4.163 , ≤ 5.4.* (semver)
Unaffected: 5.10.83 , ≤ 5.10.* (semver)
Unaffected: 5.15.6 , ≤ 5.15.* (semver)
Unaffected: 5.16 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:39:59.770Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47565",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:35:14.174817Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:33:20.028Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/mpt3sas/mpt3sas_scsih.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5d4d50b1f159a5ebab7617f47121b4370aa58afe",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "58ef2c7a6de13721865d84b80eecf56d6cba0937",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "dd035ca0e7a142870a970d46b1d19276cfe2bc8c",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "0d4b29eaadc1f59cec0c7e85eae77d08fcca9824",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "7e324f734a914957b8cc3ff4b4c9f0409558adb5",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "8485649a7655e791a6e4e9f15b4d30fdae937184",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            },
            {
              "lessThan": "0ee4ba13e09c9d9c1cb6abb59da8295d9952328b",
              "status": "affected",
              "version": "f92363d12359498f9a9960511de1a550f0ec41c2",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/mpt3sas/mpt3sas_scsih.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.294",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.292",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.219",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.16",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.4.294",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.292",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.257",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.219",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.163",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.83",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.6",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: mpt3sas: Fix kernel panic during drive powercycle test\n\nWhile looping over shost\u0027s sdev list it is possible that one\nof the drives is getting removed and its sas_target object is\nfreed but its sdev object remains intact.\n\nConsequently, a kernel panic can occur while the driver is trying to access\nthe sas_address field of sas_target object without also checking the\nsas_target object for NULL."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:13:45.710Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe"
        },
        {
          "url": "https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5"
        },
        {
          "url": "https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b"
        }
      ],
      "title": "scsi: mpt3sas: Fix kernel panic during drive powercycle test",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47565",
    "datePublished": "2024-05-24T15:12:52.786Z",
    "dateReserved": "2024-05-24T15:11:00.728Z",
    "dateUpdated": "2025-05-04T07:13:45.710Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.770Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47565\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T15:35:14.174817Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:16.189Z\"}}], \"cna\": {\"title\": \"scsi: mpt3sas: Fix kernel panic during drive powercycle test\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"5d4d50b1f159a5ebab7617f47121b4370aa58afe\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"58ef2c7a6de13721865d84b80eecf56d6cba0937\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"dd035ca0e7a142870a970d46b1d19276cfe2bc8c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"0d4b29eaadc1f59cec0c7e85eae77d08fcca9824\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"7e324f734a914957b8cc3ff4b4c9f0409558adb5\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"8485649a7655e791a6e4e9f15b4d30fdae937184\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"f92363d12359498f9a9960511de1a550f0ec41c2\", \"lessThan\": \"0ee4ba13e09c9d9c1cb6abb59da8295d9952328b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/scsi/mpt3sas/mpt3sas_scsih.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.294\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.292\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.257\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.219\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.163\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.83\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.6\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.16\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/scsi/mpt3sas/mpt3sas_scsih.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/5d4d50b1f159a5ebab7617f47121b4370aa58afe\"}, {\"url\": \"https://git.kernel.org/stable/c/58ef2c7a6de13721865d84b80eecf56d6cba0937\"}, {\"url\": \"https://git.kernel.org/stable/c/dd035ca0e7a142870a970d46b1d19276cfe2bc8c\"}, {\"url\": \"https://git.kernel.org/stable/c/0d4b29eaadc1f59cec0c7e85eae77d08fcca9824\"}, {\"url\": \"https://git.kernel.org/stable/c/7e324f734a914957b8cc3ff4b4c9f0409558adb5\"}, {\"url\": \"https://git.kernel.org/stable/c/2bf9c5a5039c8f4b037236aed505e6a25c1d5f7b\"}, {\"url\": \"https://git.kernel.org/stable/c/8485649a7655e791a6e4e9f15b4d30fdae937184\"}, {\"url\": \"https://git.kernel.org/stable/c/0ee4ba13e09c9d9c1cb6abb59da8295d9952328b\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: mpt3sas: Fix kernel panic during drive powercycle test\\n\\nWhile looping over shost\u0027s sdev list it is possible that one\\nof the drives is getting removed and its sas_target object is\\nfreed but its sdev object remains intact.\\n\\nConsequently, a kernel panic can occur while the driver is trying to access\\nthe sas_address field of sas_target object without also checking the\\nsas_target object for NULL.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T07:44:56.437Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47565\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T07:44:56.437Z\", \"dateReserved\": \"2024-05-24T15:11:00.728Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-24T15:12:52.786Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…