Vulnerability in Kernel: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid
Summary
GSD-2021-1001458: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid. Affects Kernel versions >= 8958181c1663e24a13434448e7d6b96b5d04900a, < d2f0b960d07e52bb664471b4de0ed8b08c636b3a. 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 is a crucial component of the Linux operating system, responsible for managing system resources and facilitating communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The scsi (Small Computer System Interface) subsystem within the Kernel handles communication with SCSI devices, enabling data transfer between the operating system and storage devices. However, a vulnerability has been identified in the scsi core component, specifically related to the handling of the ehandler kthread. This vulnerability could lead to a bad pointer dereference, potentially resulting in system crashes or other unpredictable behavior.
Vulnerability Detail
The vulnerability arises from an invalid ehandler kthread, which can cause a bad pointer dereference. This could be exploited by an attacker to crash the system or execute arbitrary code with elevated privileges. The issue was introduced in Kernel version v4.9.273 and is fixed in version v4.9.276. The impact and attack plausibility of this vulnerability have not been proven yet.
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
No specific workaround has been mentioned for this vulnerability.
Conclusion
The vulnerability in the Kernel's scsi core component could lead to system crashes or unauthorized code execution. It is crucial to update the Kernel to version v4.9.276 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The scsi subsystem in the Kernel is responsible for handling communication with SCSI devices, facilitating data transfer between the operating system and storage devices.
A bad pointer dereference occurs when a program attempts to access memory using an invalid pointer, leading to unpredictable behavior or crashes.
This vulnerability could result in system crashes or allow an attacker to execute arbitrary code with elevated privileges.
You can use Vulert's playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will provide real-time alerts for open-source vulnerabilities.
For more details about this vulnerability, you can refer to the vulnerability ID GSD-2021-1001458 in the Vulert database (https://vulert.com).
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.