CVE-2026-45974

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

No CVSS score yet EPSS 0.16%

Published 27 May 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-45974

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45974 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.00% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before 023545e272f369d487e6a986c1e321c6e04be1da
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before fd4913a53e3b54ad7e161847291439fe445d6356
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before b5b8ade9da452086e78f5d519b90d3769e354853
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before 0761447f6f51e1c7997960d8e6559337deed6729
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before d7cf2314dd5e8661c05d076cd627eea9a7f76616
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before b2bd557b75b760e4b9d209112bda19314bd64558
affected from 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, before ecb7c2484cfc83a93658907580035a8adf1e0a92
affected ecce1be9f2a366990d0e75dd249fb324e83c34a9
affected from 5.9.7, before 5.10
Other versions: unaffected
Linux
affected 5.10
unaffected before 5.10
unaffected from 5.10.252 up to and including 5.10.*
unaffected from 5.15.202 up to and including 5.15.*
unaffected from 6.1.165 up to and including 6.1.*
unaffected from 6.6.128 up to and including 6.6.*
unaffected from 6.12.75 up to and including 6.12.*
unaffected from 6.18.14 up to and including 6.18.*
unaffected from 6.19.4 up to and including 6.19.*
unaffected 7.0 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45974 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45974

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45974
trivy image --scanners vuln IMAGE | grep CVE-2026-45974

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-45974 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.