Vulnerability in scsi: core package - Bad Pointer Dereference
Summary
GSD-2021-1001209: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid. Affects Kernel versions >= 66a834d092930cf41d809c0e989b13cd6f9ca006, < c1671d2d2ef8a84837eea1b4d99ca0c6a66fb691. 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 scsi: core package is a component of the Linux Kernel that provides support for SCSI (Small Computer System Interface) devices. It is responsible for handling communication between the operating system and SCSI devices such as hard drives, tape drives, and optical drives. This vulnerability in the scsi: core package involves a bad pointer dereference when the ehandler kthread (error handler kernel thread) is invalid.
Vulnerability Detail
The vulnerability occurs when the ehandler kthread in the scsi: core package is invalid, leading to a bad pointer dereference. An attacker could exploit this vulnerability by triggering a specific condition that causes the ehandler kthread to become invalid. This could result in a kernel crash or potentially allow the attacker to execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.13 of the Linux Kernel and has been fixed in version v5.13.4.
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 known workaround for this vulnerability. It is recommended to apply the fix as soon as possible.
Conclusion
The vulnerability in the scsi: core package involving a bad pointer dereference can lead to kernel crashes or arbitrary code execution with kernel privileges. It is crucial to update the Linux Kernel to version v5.13.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The scsi: core package is a component of the Linux Kernel that provides support for SCSI devices.
A bad pointer dereference occurs when a program tries to access memory using an invalid pointer, leading to unexpected behavior or crashes.
The potential consequences of this vulnerability include kernel crashes and the possibility of arbitrary code execution with kernel privileges.
You can use the Vulert 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 analyze it for any open-source vulnerabilities, including this one.
You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2021-1001209.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.