CVE-2021-47480
JSON

5.5medium

scsi: core: Put LLD module refcnt after SCSI device is released

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelbefore 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.15NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: core: colocar el módulo LLD refcnt después de liberar el dispositivo SCSI. La liberación del host SCSI se activa cuando se libera el dispositivo SCSI. Tenemos que asegurarnos de que el módulo del controlador de dispositivo de bajo nivel no se descargue antes de que se lance la instancia del host SCSI porque se requiere shost->hostt en el controlador de lanzamiento. Asegúrese de poner el módulo LLD refcnt después de lanzar el dispositivo SCSI. Corrige un problema de pánico del kernel de 'ERROR: no se puede manejar el error de página para la dirección' informado por Changhui y Yi.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47480 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47480 changed 2026-06-17Public domain