Vulnerability in scsi: core package - Bad Pointer Dereference

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001343: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid. Affects Kernel versions >= 79296e292d67fa7b5fb8d8c27343683e823872c8, < 887bfae2732b5b02a86a859fd239d34f7ff93c05. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The scsi: core package is a component of the Linux Kernel, which is responsible for managing SCSI (Small Computer System Interface) devices. It provides the necessary functionality for communication between the operating system and SCSI devices, such as hard drives, tape drives, and optical drives. The scsi: core package plays a crucial role in ensuring the proper functioning of SCSI devices and their integration with the Linux operating system.

Vulnerability Detail

The identified vulnerability in the scsi: core package involves a bad pointer dereference when the ehandler kthread (kernel thread) is invalid. This vulnerability can potentially be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges. The vulnerability was introduced in version v5.4.126 of the Linux Kernel and has been fixed in version v5.4.134.

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

As a workaround, users can disable the affected functionality by unloading the scsi_mod kernel module. This can be achieved by running the following command as root:

rmmod scsi_mod

However, it is important to note that this workaround will result in the loss of SCSI device support until the vulnerability is properly fixed.

Conclusion

In conclusion, the scsi: core package in the Linux Kernel is vulnerable to a bad pointer dereference issue. This vulnerability can be mitigated by updating the kernel to version v5.4.134 or later. Alternatively, users can temporarily disable the affected functionality, but this will result in the loss of SCSI device support. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The scsi: core package is a component of the Linux Kernel that handles the communication between the operating system and SCSI devices.

A bad pointer dereference occurs when a program or kernel attempts to access memory using an invalid pointer, leading to unexpected behavior or crashes.

This vulnerability can be exploited by an attacker to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.4.134 or later.

Yes, users can disable the affected functionality by unloading the scsi_mod kernel module. However, this will result in the loss of SCSI device support.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback