Fix NULL dereference on XCOPY completion in Kernel
Summary
GSD-2021-1001169: scsi: target: Fix NULL dereference on XCOPY completion. Affects Kernel versions >= 39ae3edda325e9cf9e978c9788affe88231f3b34, < e7732c5a19a15a62b0b23fd683a639b0483e1f40. 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 that manages system resources and provides an interface for software to interact with the hardware. It is responsible for tasks such as memory management, process scheduling, and device drivers. The vulnerability in question affects the Kernel's SCSI target subsystem, which is responsible for handling SCSI commands from initiators. The vulnerability can lead to a NULL dereference on XCOPY completion, potentially resulting in a system crash or other unpredictable behavior.
Vulnerability Detail
The vulnerability arises from a NULL dereference issue in the SCSI target subsystem when processing XCOPY completion. This issue can be triggered by a malicious or malformed SCSI command sent by an initiator. If successfully exploited, it could lead to a system crash or other unpredictable behavior, potentially allowing an attacker to disrupt the normal operation of the system. The vulnerability was introduced in version v5.13 of the Linux Kernel and has been fixed in version v5.13.6.
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 mentioned above as soon as possible.
Conclusion
The NULL dereference vulnerability in the SCSI target subsystem of the Linux Kernel can lead to system crashes and other unpredictable behavior. It is crucial to update the Kernel to version v5.13.6 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a system crash or other unpredictable behavior, potentially allowing an attacker to disrupt the normal operation of the system.
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 the Vulert Playground will analyze it for any known vulnerabilities.
At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to mitigate any potential risks.
This vulnerability requires an attacker to send a malicious or malformed SCSI command to the system. Therefore, it is unlikely to be exploitable remotely unless the system is directly exposed to untrusted initiators.
The only known mitigation for this vulnerability is to apply the fix mentioned above by updating the Linux Kernel to version v5.13.6 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.