Vulnerability in Kernel: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001424: scsi: core: Fix bad pointer dereference when ehandler kthread is invalid. Affects Kernel versions >= db08ce595dd64ea9859f7d088b51cbfc8e685c66, < f3d0a109240c9bed5c60d819014786be3a2fe515. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software. It manages system resources, facilitates communication between different software components, and ensures the stability and security of the system. The scsi (Small Computer System Interface) subsystem is responsible for handling SCSI devices, such as hard drives and tape drives, connected to the system. It provides a standardized interface for communication with these devices.

In the scsi core of the Kernel, there is a vulnerability that can lead to a bad pointer dereference when the error handler (ehandler) kthread 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.

Vulnerability Detail

The vulnerability in the scsi core of the Kernel arises from a bad pointer dereference when the ehandler kthread is invalid. This can occur due to a programming error or an attacker deliberately manipulating the system. When the ehandler kthread is invalid, accessing it can result in a crash or other undefined behavior. An attacker may exploit this vulnerability to disrupt the normal functioning of the system or gain unauthorized access to sensitive information.

The impact of this vulnerability can vary depending on the specific context and system configuration. However, in general, it poses a risk of system instability, potential data loss, and unauthorized access to the system.

The vulnerability was introduced in version v4.14.237 of the Linux Kernel by commit db08ce595dd64ea9859f7d088b51cbfc8e685c66. It has been fixed in version v4.14.240 by commit f3d0a109240c9bed5c60d819014786be3a2fe515.

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 available for this vulnerability. However, as a general security measure, it is recommended to follow best practices for system hardening and security. This includes implementing proper access controls, network segmentation, and monitoring mechanisms to detect and respond to potential security incidents. Regularly updating the system with security patches and keeping abreast of the latest security advisories is also crucial.

Conclusion

The vulnerability in the scsi core of the Kernel, which results in a bad pointer dereference when the ehandler kthread is invalid, poses a risk to the stability and security of the system. It is important to promptly update the Linux Kernel to version v4.14.240 or later to mitigate this vulnerability. Following best practices for system administration and security is also essential to ensure a robust and secure environment.

For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a fundamental component of the Linux operating system that provides core functionalities and acts as an interface between hardware and software.

The scsi (Small Computer System Interface) subsystem is responsible for handling SCSI devices, such as hard drives and tape drives, connected to the system. It provides a standardized interface for communication with these devices.

A bad pointer dereference occurs when a program attempts to access memory using an invalid or uninitialized pointer. This can lead to crashes, undefined behavior, and potential security vulnerabilities.

The potential consequences of this vulnerability include system instability, potential data loss, and unauthorized access to the system.

To protect your system from this vulnerability, it is recommended to update the Linux Kernel to version v4.14.240 or later. Additionally, following best practices for system hardening and security, such as implementing proper access controls and regularly applying security patches, is crucial.

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