CVE-2025-22114

btrfs: don't clobber ret in btrfs_validate_super()

published April 16, 2025

CVSS
—
EPSS
0%
Percentile
7.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00181 · 7.3th percentile
Published
2025-04-16T14:12Z
EPSS history
Timeline
  • 16 APR 14:12Z
    btrfs: don't clobber ret in btrfs_validate_super()
    cvelistv5