7.8high
btrfs: don't clobber ret in btrfs_validate_super()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.18% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 6.14 before 6.14.2 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: btrfs: no modificar la matriz de fragmentos del sistema en btrfs_validate_super(). El commit 2a9bb78cfd36 ("btrfs: validar la matriz de fragmentos del sistema en btrfs_validate_super()") introduce una llamada a validate_sys_chunk_array() en btrfs_validate_super(), que modifica el valor de ret establecido previamente. Esto invalida las comprobaciones de validez realizadas previamente, lo que permite que btrfs intente montar sistemas de archivos no vĂ¡lidos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-22114 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-22114 changed 2026-07-30 | Public domain |