VDB

CVE-2026-45974

CVE-2026-45974 PUBLISHED

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

Reported by linux · Published May 27, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.15-14.217.amzn2023
kernel-livepatch-6.18.15-14.217Amazon Linux1:1.0-0.amzn2023
kernel6.12-libbpfAmazon Linux1:6.12.77-99.140.amzn2023
kernel-toolsAmazon Linux1:6.1.166-197.305.amzn2023
kernelAmazon Linux1:6.1.166-197.305.amzn2023
kernel-headersAmazon Linux1:6.1.166-197.305.amzn2023

Affected products

VendorProductVersions
LinuxLinux5223cc60b40ae525ae6c94e98824129f1a5b4ae5, 5223cc60b40ae525ae6c94e98824129f1a5b4ae5, 5223cc60b40ae525ae6c94e98824129f1a5b4ae5
LinuxLinux5.10, 0, 5.10.252
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.18.15-14.2170
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-tools0
amazon:2023kernel0
amazon:2023kernel-headers0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023kernel6.12-tools0
amazon:2023bpftool6.180
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023perf0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.166-197.3050
amazon:2023perf6.180
amazon:2023kernel6.18-devel0
amazon:2023bpftool0

…and 26 more

Timeline

  • May 27, 2026 CVE Published
  • May 27, 2026 CVE Updated
  • May 28, 2026 EPSS Score (14 in total, the first dated here)
  • May 29, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45974
vulnetix vdb fixes CVE-2026-45974

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45974/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›