CVE-2025-22114

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22114
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-22114.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-22114
Downstream
Published
2025-04-16T14:12:59Z
Modified
2025-10-10T08:44:10.416109Z
Summary
btrfs: don't clobber ret in btrfs_validate_super()
Details

In the Linux kernel, the following vulnerability has been resolved:

btrfs: don't clobber ret in btrfsvalidatesuper()

Commit 2a9bb78cfd36 ("btrfs: validate system chunk array at btrfsvalidatesuper()") introduces a call to validatesyschunkarray() in btrfsvalidate_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.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2a9bb78cfd367fdeff74f15b1e98969912292d9e
Fixed
ef6800a2015e706e9852a5ec15263fec9990d012
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2a9bb78cfd367fdeff74f15b1e98969912292d9e
Fixed
9db9c7dd5b4e1d3205137a094805980082c37716

Affected versions

v6.*

v6.13
v6.14
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6
v6.14-rc7
v6.14.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.14.0
Fixed
6.14.2