{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "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's 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."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/scsi/mpt3sas/mpt3sas_scsih.c"
               ],
               "versions": [
                  {
                     "version": "f92363d12359",
                     "lessThan": "5d4d50b1f159",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "58ef2c7a6de1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "dd035ca0e7a1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "0d4b29eaadc1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "7e324f734a91",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "2bf9c5a5039c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "8485649a7655",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "f92363d12359",
                     "lessThan": "0ee4ba13e09c",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/scsi/mpt3sas/mpt3sas_scsih.c"
               ],
               "versions": [
                  {
                     "version": "3.8",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.8",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.4.294",
                     "lessThanOrEqual": "4.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.292",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.257",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.219",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.163",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.83",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.6",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "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-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47565",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
