Skip to main content
← All vulnerabilities
CVE-2026-45974

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published

Affected versions

  • Linux Linux

    From 5.9.7 · fixed in 5.10

  • Linux Linux

    5.10

References 8

git.kernel.org