# btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found

CVE record · `CVE-2026-45974`

- **Identifiers:** `CVE-2026-45974`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 27 May 2026
- **Updated:** 6 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 27 May 2026, 12:18 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before 023545e272f369d487e6a986c1e321c6e04be1da` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before fd4913a53e3b54ad7e161847291439fe445d6356` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before b5b8ade9da452086e78f5d519b90d3769e354853` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before 0761447f6f51e1c7997960d8e6559337deed6729` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before d7cf2314dd5e8661c05d076cd627eea9a7f76616` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before b2bd557b75b760e4b9d209112bda19314bd64558` (git)
  - affected: `5223cc60b40ae525ae6c94e98824129f1a5b4ae5 to before ecb7c2484cfc83a93658907580035a8adf1e0a92` (git)
  - affected: `ecce1be9f2a366990d0e75dd249fb324e83c34a9` (git)
  - affected: `5.9.7 to before 5.10` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.10`
  - unaffected: `before 5.10` (semver)
  - unaffected: `5.10.252 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.202 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.165 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.128 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.75 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.14 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.4 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Linux kernel btrfs quota enabling (btrfs_quota_enable) can access an invalid tree path when a reference key is not found. The source gives few details on what an attacker needs or what impact results. Upgrade to Linux 5.10.252, 5.15.202, 6.1.165, 6.6.128, or a later release in those series.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 27 May 2026, 12:18 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-45974)
- 27 May 2026, 14:17 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-45974)

## Sources

- [CVE List: CVE-2026-45974](https://www.cve.org/CVERecord?id=CVE-2026-45974)
- [NVD: CVE-2026-45974](https://nvd.nist.gov/vuln/detail/CVE-2026-45974)

### References from the CNA

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

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-45974>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-45974/>. Everything for agents: <https://agentprime.io/llms.txt>.
