scsi: core: Put LLD module refcnt after SCSI device is released
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 65110b2168950a19cc78b5027ed18cb811fbdae8 · < 7b57c38d12aed1b5d92f74748bed25e0d041729f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel SCSI core can unload a low-level driver module before its SCSI host is released, causing a kernel panic. The input does not specify how an attacker could trigger this, or whether authentication or user interaction is required.
Engineers running Linux kernels with SCSI support should check their deployments; affected versions are not specified.