Critical Memory Crash Vulnerability in Linux Package: DEBIAN-CVE-2025-21873

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21873: In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: bsg: Fix crash when arpmb command fails If the device doesn't support arpmb we'll crash due to copying user data in bsg_transport_sg_io... Affects linux versions < 6.12.19-1. Fixed in 6.12.19-1. 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 Linux package is a core component of the Debian operating system, responsible for managing system resources and hardware interactions. It provides essential functionalities for device management, process scheduling, and memory management. This vulnerability specifically affects the SCSI (Small Computer System Interface) subsystem, which is crucial for communication between the operating system and storage devices.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the SCSI UFS (Universal Flash Storage) core related to the bsg (Block Storage Generic) transport layer. The issue arises when the ARPMB (Authenticated Read Protected Memory Block) command fails, leading to a crash due to improper handling of user data in the bsg_transport_sg_io_fn() function. If the device does not support the ARPMB command, the kernel may crash, resulting in system instability and potential data loss. The vulnerability is traced back to the failure to set the job's reply length when an error occurs in ufs_bsg_exec_advanced_rpmb_req(). This can lead to memory corruption and crashes, as evidenced by the provided backtrace.

How To Fix

Minimum fixed version

6.12.19-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch by updating the package as described above.

Conclusion

The DEBIAN-CVE-2025-21873 vulnerability poses a significant risk to systems running the Linux package, particularly in relation to SCSI UFS operations. Users are strongly encouraged to update to the patched version to ensure system stability and security. Regular monitoring for vulnerabilities using tools like Vulert can further enhance security measures.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

It is a critical vulnerability in the Linux kernel affecting the SCSI UFS subsystem, which can lead to system crashes.

If your system encounters a device that does not support the ARPMB command, it may crash, leading to potential data loss and instability.

Yes, the patched version is 6.12.19-1. Users should update their Linux package to this version to mitigate the risk.

While there are no specific workarounds, it is advisable to monitor your system closely and avoid using devices that may trigger this vulnerability until an update can be applied.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software. You can check your application using the Vulert playground without any signup at Vulert Scanner.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.19-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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