Kernel Crash Vulnerability in Linux Package Due to Blocksize Race Condition

linux Updated 02 Oct 2025

Summary

18/06/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-38073: In the Linux kernel, the following vulnerability has been resolved: block: fix race between set_blocksize and read paths With the new large sector size support, it's now the case that set_blocksize can change i_blksize a... Affects linux versions < 6.12.32-1. Fixed in 6.12.32-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, providing essential functionalities for managing hardware and system resources. It is responsible for handling system calls, managing memory, and facilitating communication between hardware and software. This vulnerability arises from a race condition between the set_blocksize function and concurrent read operations, which can lead to system instability and crashes.

Vulnerability Detail

In the Linux kernel, a race condition exists between the set_blocksize function and read paths, particularly when handling block devices with varying sector sizes. When a block device is accessed concurrently by different processes, a change in block size can lead to a scenario where a read operation attempts to use an invalid block device reference, ultimately causing a kernel crash. This vulnerability is critical as it can lead to system downtime and data loss, especially in environments relying on stable block device operations.

How To Fix

Minimum fixed version

6.12.32-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

As a temporary workaround, users can avoid mounting filesystems with different sector sizes on the same block device while the system is under heavy load. This can help mitigate the risk of encountering the race condition until the package is updated.

Conclusion

The vulnerability identified in the Linux package poses significant risks due to a race condition that can lead to kernel crashes. Users are strongly advised to update to the patched version to mitigate these risks. Temporary workarounds can be employed while awaiting updates, but the best course of action is to ensure the system is running the latest software.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a race condition between the set_blocksize function and read operations in the Linux kernel, which can lead to kernel crashes.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include potential system crashes, data loss, and instability in environments that rely on block device operations.

Yes, the patch is available in version 6.12.32-1 of the Linux package. Users should update to this version or later.

If immediate updates are not possible, consider avoiding operations that involve changing block sizes on the same device to reduce the risk of encountering the issue.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.32-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