CVE-2021-47480
Assigner: Linux
Published: 2024-05-22T08:19:32.839Z
State: PUBLISHED
descriptions: value: 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: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 1da177e4c3f4
lessThan: 1105573d964f
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 8e4814a46178
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 61a0faa89f21
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: c2df161f69fb
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 1ce287eff9f2
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: 7b57c38d12ae
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: f30822c0b4c3
status: affected
versionType: git
version: 1da177e4c3f4
lessThan: f2b85040acec
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4.4.292
lessThanOrEqual: 4.4.*
status: unaffected
versionType: custom
version: 4.9.290
lessThanOrEqual: 4.9.*
status: unaffected
versionType: custom
version: 4.14.255
lessThanOrEqual: 4.14.*
status: unaffected
versionType: custom
version: 4.19.216
lessThanOrEqual: 4.19.*
status: unaffected
versionType: custom
version: 5.4.158
lessThanOrEqual: 5.4.*
status: unaffected
versionType: custom
version: 5.10.78
lessThanOrEqual: 5.10.*
status: unaffected
versionType: custom
version: 5.14.17
lessThanOrEqual: 5.14.*
status: unaffected
versionType: custom
version: 5.15
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: scsi: core: Put LLD module refcnt after SCSI device is released
x_generator: engine: bippy-d175d3acf727