CVE-2025-22114

published 16 Apr 2025 · updated 5 Aug 2026

btrfs: don't clobber ret in btrfs_validate_super()

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9db9c7dd5b4e1d3205137a094805980082c37716 and Kernel ef6800a2015e706e9852a5ec15263fec9990d012.

In the Linux kernel, the following vulnerability has been resolved: btrfs: don't clobber ret in btrfs_validate_super() Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at btrfs_validate_super()") introduces a call to validate_sys_chunk_array() in btrfs_validate_super(), which clobbers the value of ret set earlier. This has the effect of negating the validity checks done earlier, making it so btrfs could potentially try to mount invalid filesystems.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.14, >=2a9bb78cfd367fdeff74f15b1e98969912292d9e <9db9c7dd5b4e1d3205137a094805980082c37716, >=2a9bb78cfd367fdeff74f15b1e98969912292d9e <ef6800a2015e706e9852a5ec15263fec9990d0129db9c7dd5b4e1d3205137a094805980082c37716, ef6800a2015e706e9852a5ec15263fec9990d012

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22114 severity on Zeptric[![CVE-2025-22114](https://zeptric.io/badge/cve/CVE-2025-22114.svg)](https://zeptric.io/cve/CVE-2025-22114)