Vulnerability in Kernel: Put LLD module refcnt after SCSI device is released

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002144: scsi: core: Put LLD module refcnt after SCSI device is released. Affects Kernel versions < f30822c0b4c35ec86187ab055263943dc71a6836. 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 Kernel is a crucial component of the Linux operating system that provides core functionality and interfaces with hardware devices. It manages the communication between software and hardware, including the SCSI (Small Computer System Interface) devices. SCSI is a standard for connecting and transferring data between computers and peripheral devices, such as hard drives and tape drives. The vulnerability in the Kernel arises from a flaw in the handling of LLD (Low-Level Driver) module reference counts after a SCSI device is released.

Vulnerability Detail

The vulnerability occurs in the SCSI core of the Kernel. When a SCSI device is released, the LLD module reference count is not properly decremented, leading to a use-after-free vulnerability. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.14.17 by commit f30822c0b4c35ec86187ab055263943dc71a6836.

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

If updating the Kernel is not immediately feasible, a possible workaround is to disable or remove the affected LLD module from the system. However, this workaround may impact the functionality of SCSI devices that rely on the module. It is recommended to consult the documentation or support channels for the specific LLD module to determine the appropriate course of action.

Conclusion

The vulnerability in the Kernel's SCSI core, which involves the improper handling of LLD module reference counts after releasing a SCSI device, could potentially lead to arbitrary code execution or denial-of-service. It is crucial to update the Linux Kernel to version v5.14.17 or later to mitigate this vulnerability. If immediate updating is not possible, consider disabling or removing the affected LLD module, but be aware of potential impacts on SCSI device functionality. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a core component of the Linux operating system that provides essential functionality and interfaces with hardware devices.

SCSI (Small Computer System Interface) is a standard for connecting and transferring data between computers and peripheral devices, such as hard drives and tape drives.

An LLD (Low-Level Driver) module is a component that provides the necessary software interface for a specific hardware device, such as a SCSI device.

A use-after-free vulnerability occurs when a program continues to use a memory reference after it has been freed, potentially leading to unexpected behavior or security issues.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application or system is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.

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