CVE-2026-45974
btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found
Mitigation
- Upgrade Linux to 5.10 or later.
Who should check
- Anyone running Linux >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 023545e272f369d487e6a986c1e321c6e04be1da; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < fd4913a53e3b54ad7e161847291439fe445d6356; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b5b8ade9da452086e78f5d519b90d3769e354853; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 0761447f6f51e1c7997960d8e6559337deed6729; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < d7cf2314dd5e8661c05d076cd627eea9a7f76616; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b2bd557b75b760e4b9d209112bda19314bd64558; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < ecb7c2484cfc83a93658907580035a8adf1e0a92; ecce1be9f2a366990d0e75dd249fb324e83c34a9; >= 5.9.7, < 5.10
- Anyone running Linux 5.10
Vulnerability facts
- Affected
- Linux >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 023545e272f369d487e6a986c1e321c6e04be1da; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < fd4913a53e3b54ad7e161847291439fe445d6356; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b5b8ade9da452086e78f5d519b90d3769e354853; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 0761447f6f51e1c7997960d8e6559337deed6729; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < d7cf2314dd5e8661c05d076cd627eea9a7f76616; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b2bd557b75b760e4b9d209112bda19314bd64558; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < ecb7c2484cfc83a93658907580035a8adf1e0a92; ecce1be9f2a366990d0e75dd249fb324e83c34a9; >= 5.9.7, < 5.10; Linux 5.10
- Fixed in
- Linux 023545e272f369d487e6a986c1e321c6e04be1da, Linux 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40, Linux 0761447f6f51e1c7997960d8e6559337deed6729, Linux 5.10
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found If btrfs_search_slot_for_read() returns 1, it means we did not find any key greater than or equals to the key we asked for, meaning we have reached the end of the tree and therefore the path is not valid. If this happens we need to break out of the loop and stop, instead of continuing and accessing an invalid path.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 023545e272f369d487e6a986c1e321c6e04be1da; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < fd4913a53e3b54ad7e161847291439fe445d6356; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b5b8ade9da452086e78f5d519b90d3769e354853; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 0761447f6f51e1c7997960d8e6559337deed6729; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < d7cf2314dd5e8661c05d076cd627eea9a7f76616; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b2bd557b75b760e4b9d209112bda19314bd64558; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < ecb7c2484cfc83a93658907580035a8adf1e0a92; ecce1be9f2a366990d0e75dd249fb324e83c34a9; >= 5.9.7, < 5.10 | — | cvelist |
| Linux | 5.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-45974. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-45974.md Affected: Linux >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 023545e272f369d487e6a986c1e321c6e04be1da; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < fd4913a53e3b54ad7e161847291439fe445d6356; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b5b8ade9da452086e78f5d519b90d3769e354853; >= 5223cc60b40ae525ae6c94e… Fixed in: Linux 023545e272f369d487e6a986c1e321c6e04be1da, Linux 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40, Linux 0761447f6f51e1c7997960d8e6559337deed6729, Linux 5.10 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/023545e272f369d487e6a986c1e321c6e04be1da
- https://git.kernel.org/stable/c/fd4913a53e3b54ad7e161847291439fe445d6356
- https://git.kernel.org/stable/c/b5b8ade9da452086e78f5d519b90d3769e354853
- https://git.kernel.org/stable/c/1ee1d006c9fe4d6be5527ab1c84216b80cccbe40
- https://git.kernel.org/stable/c/0761447f6f51e1c7997960d8e6559337deed6729
- https://git.kernel.org/stable/c/d7cf2314dd5e8661c05d076cd627eea9a7f76616
- https://git.kernel.org/stable/c/b2bd557b75b760e4b9d209112bda19314bd64558
- https://git.kernel.org/stable/c/ecb7c2484cfc83a93658907580035a8adf1e0a92
FAQ
Is CVE-2026-45974 being exploited?
There is no confirmed exploitation: CVE-2026-45974 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-45974?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-45974?
Linux >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 023545e272f369d487e6a986c1e321c6e04be1da; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < fd4913a53e3b54ad7e161847291439fe445d6356; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b5b8ade9da452086e78f5d519b90d3769e354853; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < 0761447f6f51e1c7997960d8e6559337deed6729; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < d7cf2314dd5e8661c05d076cd627eea9a7f76616; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < b2bd557b75b760e4b9d209112bda19314bd64558; >= 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, < ecb7c2484cfc83a93658907580035a8adf1e0a92; ecce1be9f2a366990d0e75dd249fb324e83c34a9; >= 5.9.7, < 5.10; Linux 5.10.
Is there a fix for CVE-2026-45974?
Yes. Fixed in Linux 023545e272f369d487e6a986c1e321c6e04be1da, Linux 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40, Linux 0761447f6f51e1c7997960d8e6559337deed6729, Linux 5.10. Upgrade Linux to 5.10 or later.
How do I check if I'm affected by CVE-2026-45974?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.