CVE-2025-22114
kernel: btrfs: don't clobber ret in btrfs_validate_super()
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · April 16, 2025
Updated · October 30, 2026
Description
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.
Statement
This vulnerability presents no risk to supported Red Hat environments because the flawed code path introduced in upstream kernels is not present in Red Hat Enterprise Linux. In vulnerable upstream systems, the flaw allows invalid or malformed file system images to bypass superblock verification checks during mount operations, which could result in kernel instability or denial of service. Furthermore, the Btrfs file system is not supported in Red Hat Enterprise Linux, preventing exposure on standard deployments.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE not specified