{"id":"CVE-2021-47503","published":"2024-05-24T15:01:50Z","modified":"2026-05-11T13:55:54Z","title":"scsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: pm80xx: Do not call scsi_remove_host() in pm8001_alloc()\n\nCalling scsi_remove_host() before scsi_add_host() results in a crash:\n\n BUG: kernel NULL pointer dereference, address: 0000000000000108\n RIP: 0010:device_del+0x63/0x440\n Call Trace:\n  device_unregister+0x17/0x60\n  scsi_remove_host+0xee/0x2a0\n  pm8001_pci_probe+0x6ef/0x1b90 [pm80xx]\n  local_pci_probe+0x3f/0x90\n\nWe cannot call scsi_remove_host() in pm8001_alloc() because scsi_add_host()\nhas not been called yet at that point in time.\n\nFunction call tree:\n\n  pm8001_pci_probe()\n  |\n  `- pm8001_pci_alloc()\n  |  |\n  |  `- pm8001_alloc()\n  |     |\n  |     `- scsi_remove_host()\n  |\n  `- scsi_add_host()","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00326,"percentile":0.18136,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/1e434d2687e8bc0b3cdc9dd093c0e9047c0b4add","tags":[]},{"url":"https://git.kernel.org/stable/c/f8dccc1bdea7e21b5ec06c957aef8831c772661c","tags":[]},{"url":"https://git.kernel.org/stable/c/653926205741add87a6cf452e21950eebc6ac10b","tags":[]}],"priority":{"score":8.0,"factors":[{"name":"EPSS percentile","points":3.63},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 05c6c029a44d9f43715577e33e95eba87f44d285, < 1e434d2687e8bc0b3cdc9dd093c0e9047c0b4add",">= 05c6c029a44d9f43715577e33e95eba87f44d285, < f8dccc1bdea7e21b5ec06c957aef8831c772661c",">= 05c6c029a44d9f43715577e33e95eba87f44d285, < 653926205741add87a6cf452e21950eebc6ac10b"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-28T15:53:11.089005Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34507","exploited":false,"provenance":"source"}}