# CVE-2021-47480: scsi: core: Put LLD module refcnt after SCSI device is released

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-22T08:19:32.839Z
- Modified: 2026-06-17T04:17:34.370Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 65110b2168950a19cc78b5027ed18cb811fbdae8 before 1105573d964f7b78734348466b01f5f6ba8a1813; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before 8e4814a461787e15a31d322d9efbe0d4f6822428; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before 61a0faa89f21861d1f8d059123b5c285a5d9ffee; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before c2df161f69fb1c67f63adbd193368b47f511edc0; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before 1ce287eff9f23181d5644db787f472463a61f68b; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before 7b57c38d12aed1b5d92f74748bed25e0d041729f; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before f30822c0b4c35ec86187ab055263943dc71a6836; from 65110b2168950a19cc78b5027ed18cb811fbdae8 before f2b85040acec9a928b4eb1b57a989324e8e38d3f; 2.6.16 (not affected: before 2.6.16; from 4.4.292 up to 4.4.*; from 4.9.290 up to 4.9.*; from 4.14.255 up to 4.14.*; from 4.19.216 up to 4.19.*; from 5.4.158 up to 5.4.*; from 5.10.78 up to 5.10.*; from 5.14.17 up to 5.14.*; from 5.15 up to *)
- linux 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; from 5.11 before 5.14.17; 5.15

## References

- <https://git.kernel.org/stable/c/1105573d964f7b78734348466b01f5f6ba8a1813> (patch)
- <https://git.kernel.org/stable/c/8e4814a461787e15a31d322d9efbe0d4f6822428> (patch)
- <https://git.kernel.org/stable/c/61a0faa89f21861d1f8d059123b5c285a5d9ffee> (patch)
- <https://git.kernel.org/stable/c/c2df161f69fb1c67f63adbd193368b47f511edc0> (patch)
- <https://git.kernel.org/stable/c/1ce287eff9f23181d5644db787f472463a61f68b> (patch)
- <https://git.kernel.org/stable/c/7b57c38d12aed1b5d92f74748bed25e0d041729f> (patch)
- <https://git.kernel.org/stable/c/f30822c0b4c35ec86187ab055263943dc71a6836> (patch)
- <https://git.kernel.org/stable/c/f2b85040acec9a928b4eb1b57a989324e8e38d3f> (patch)

## Sources

- CVE List: [CVE-2021-47480](https://www.cve.org/CVERecord?id=CVE-2021-47480), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47480](https://nvd.nist.gov/vuln/detail/CVE-2021-47480), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47480 · Whole record: https://cve.day/CVE-2021-47480.json · Rebuilt by cve.day 2026-11-25T22:58:08.878Z
