Critical Vulnerability in Linux Kernel: RAID1 Block Group Write Pointer Mismatch

linux Updated 02 Oct 2025

Summary

08/05/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-37827: In the Linux kernel, the following vulnerability has been resolved: btrfs: zoned: return EIO on RAID1 block group write pointer mismatch There was a bug report about a NULL pointer dereference in btrfs_add_free_space_zon... Affects linux versions < 6.12.27-1. Fixed in 6.12.27-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is the core component of many operating systems, responsible for managing hardware and system resources. It provides essential services for all other parts of the operating system. The kernel is highly modular, allowing for various functionalities, including file systems, process management, and device drivers. This vulnerability specifically affects the Btrfs file system, which is designed for high performance and reliability, particularly in RAID configurations.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the Btrfs file system related to RAID1 configurations. The issue arises from a NULL pointer dereference in the __btrfs_add_free_space_zoned() function, triggered by a mismatch in the write pointer offsets of zones in a RAID1 profile. This can lead to system crashes and data loss, as the kernel attempts to access invalid memory addresses. The vulnerability is characterized by an error message indicating a write pointer offset mismatch, which occurs when the system detects inconsistencies between the disks in a RAID set.

How To Fix

Minimum fixed version

6.12.27-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. Users are advised to apply the patch as soon as it becomes available.

Conclusion

The identified vulnerability in the Linux kernel poses significant risks to systems using the Btrfs file system in RAID1 configurations. Users are strongly encouraged to update to the latest patched version to ensure system stability and data integrity. Monitoring tools like Vulert can assist in identifying vulnerabilities in your software stack.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the Btrfs file system, which can lead to system crashes and data loss.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

The vulnerability can result in system instability, crashes, and potential data loss due to improper handling of RAID1 configurations.

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

While there are no specific workarounds, it is crucial to monitor your system closely and apply the update as soon as possible to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

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