Vulnerability in Kernel package: scsi: core: Put LLD module refcnt after SCSI device is released
Summary
GSD-2021-1002208: scsi: core: Put LLD module refcnt after SCSI device is released. Affects Kernel versions < f2b85040acec9a928b4eb1b57a989324e8e38d3f. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel package is a critical component of the Linux operating system. It provides the core functionality and interfaces for various hardware devices and software components. The scsi (Small Computer System Interface) subsystem within the Kernel is responsible for managing SCSI devices, which are commonly used for storage and other peripheral devices. This vulnerability specifically affects the scsi core module, which is responsible for handling low-level driver (LLD) interactions with SCSI devices. The vulnerability arises from a flaw in the reference counting mechanism of LLD modules, which can lead to use-after-free issues when releasing SCSI devices.
Vulnerability Detail
The vulnerability occurs when the LLD module reference count is not properly managed after a SCSI device is released. This can result in a use-after-free scenario, where a reference to the LLD module is accessed after it has been freed. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability has been fixed in Linux Kernel version v5.15 by commit f2b85040acec9a928b4eb1b57a989324e8e38d3f.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel package's scsi core module can lead to use-after-free issues when releasing SCSI devices. It is crucial to update the Kernel package to version v5.15 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.
There is no information available regarding exploitation of this vulnerability in the wild.
All versions of the Kernel package prior to v5.15 are affected by this vulnerability.
The recommended mitigation is to update the Kernel package to version v5.15 or later.
More information about this vulnerability can be found in the references link provided in the vulnerability details.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.