What’s Vulnerable › Vulnerabilities
CVE-2021-47480: scsi: core: Put LLD module refcnt after SCSI device is released
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-22 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Put LLD module refcnt after SCSI device is released SCSI host release is triggered when SCSI device is freed. We have to make sure that the low-level device driver module won't be unloaded before SCSI host instance is released because shost->hostt is required in the release handler. Make sure to put LLD module refcnt after SCSI device is released. Fixes a kernel panic of 'BUG: unable to handle page fault for address' reported by Changhui and Yi.
Affected products
- Linux kernel: before 4.4.292; from 4.5 before 4.9.290; from 4.10 before 4.14.255; from 4.15 before 4.19.216; from 4.20 before 5.4.158; from 5.5 before 5.10.78 — fixed in 4.14.255, 4.19.216, 4.4.292, 4.9.290, 5.10.78, 5.14.17
How to fix
Upgrade to a fixed version: Linux kernel 4.14.255, 4.19.216, 4.4.292, 4.9.290. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1105573d964f7b78734348466b01f5f6ba8a1813
- https://git.kernel.org/stable/c/1ce287eff9f23181d5644db787f472463a61f68b
- https://git.kernel.org/stable/c/61a0faa89f21861d1f8d059123b5c285a5d9ffee
- https://git.kernel.org/stable/c/7b57c38d12aed1b5d92f74748bed25e0d041729f
- https://git.kernel.org/stable/c/8e4814a461787e15a31d322d9efbe0d4f6822428
- https://git.kernel.org/stable/c/c2df161f69fb1c67f63adbd193368b47f511edc0
- https://git.kernel.org/stable/c/f2b85040acec9a928b4eb1b57a989324e8e38d3f
- https://git.kernel.org/stable/c/f30822c0b4c35ec86187ab055263943dc71a6836
- https://git.kernel.org/stable/c/1105573d964f7b78734348466b01f5f6ba8a1813
- https://git.kernel.org/stable/c/1ce287eff9f23181d5644db787f472463a61f68b
- https://git.kernel.org/stable/c/61a0faa89f21861d1f8d059123b5c285a5d9ffee
- https://git.kernel.org/stable/c/7b57c38d12aed1b5d92f74748bed25e0d041729f
Get alerted when CVE-2021-47480 or the next vulnerability affects your stack