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

CVE-2021-47480
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 65110b2168950a19cc78b5027ed18cb811fbdae8 < 1105573d964f7b78734348466b01f5f6ba8a1813 ; affected 65110b2168950a19cc78b5027ed18cb811fbdae8 < 8e4814a461787e15a31d322d9efbe0d4f6822428 ; affected 65110b2168950a19cc78b5027ed18cb811fbdae8 < 61a0faa89f21861d1f8d059123b5c285a5d9ffee ; affected 65110b2168950a19cc78b5027ed18cb811fbdae8 < c2df161f69fb1c67f63adbd193368b47f511edc0 ; affected 65110b2168950a19cc78b5027ed18cb811fbdae8 < 1ce287eff9f23181d5644db787f472463a61f68b ; affected 65110b2168950a19cc78b5027ed18cb811fbdae8 < 7b57c38d12aed1b5d92f74748bed25e0d041729f
Linux · Linuxaffected 2.6.16 ; unaffected 0 < 2.6.16 ; unaffected 4.4.292 ≤ 4.4.* ; unaffected 4.9.290 ≤ 4.9.* ; unaffected 4.14.255 ≤ 4.14.* ; unaffected 4.19.216 ≤ 4.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD