CVE-2026-45974

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

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
5.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00162 · 5.1th percentile
Published
2026-05-27T12:18Z
EPSS history
Timeline
  • 27 MAY 12:18Z
    btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found
    cvelistv5