# CVE-2025-22114: btrfs: don't clobber ret in btrfs_validate_super()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-04-16T14:12:59.898Z
- Modified: 2026-08-05T11:56:51.717Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2a9bb78cfd367fdeff74f15b1e98969912292d9e before ef6800a2015e706e9852a5ec15263fec9990d012; from 2a9bb78cfd367fdeff74f15b1e98969912292d9e before 9db9c7dd5b4e1d3205137a094805980082c37716; 6.14 (not affected: before 6.14; from 6.14.2 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.14 before 6.14.2

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/ef6800a2015e706e9852a5ec15263fec9990d012> (patch)
- <https://git.kernel.org/stable/c/9db9c7dd5b4e1d3205137a094805980082c37716> (patch)

## Sources

- CVE List: [CVE-2025-22114](https://www.cve.org/CVERecord?id=CVE-2025-22114), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-22114](https://nvd.nist.gov/vuln/detail/CVE-2025-22114), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-22114 · Whole record: https://cve.day/CVE-2025-22114.json · Rebuilt by cve.day 2026-11-25T22:58:56.618Z
