CVE-2026-45974

Source
https://cve.org/CVERecord?id=CVE-2026-45974
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45974.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45974
Downstream
BELL (1)
DEBIAN (1)
openSUSE (1)
ROOT (3)
SUSE (10)
UBUNTU (1)
Related
Published
2026-05-27T12:18:33Z
Modified
2026-10-08T02:51:24Z
Summary
btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45974.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5223cc60b40ae525ae6c94e98824129f1a5b4ae5
Fixed
023545e272f369d487e6a986c1e321c6e04be1da
Fixed
fd4913a53e3b54ad7e161847291439fe445d6356
Fixed
b5b8ade9da452086e78f5d519b90d3769e354853
Fixed
1ee1d006c9fe4d6be5527ab1c84216b80cccbe40
Fixed
0761447f6f51e1c7997960d8e6559337deed6729
Fixed
d7cf2314dd5e8661c05d076cd627eea9a7f76616
Fixed
b2bd557b75b760e4b9d209112bda19314bd64558
Fixed
ecb7c2484cfc83a93658907580035a8adf1e0a92
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
5.9.7
Fixed
5.10
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ecce1be9f2a366990d0e75dd249fb324e83c34a9

Affected versions

v5.*
v5.9.10
v5.9.11
v5.9.12
v5.9.13
v5.9.14
v5.9.15
v5.9.16
v5.9.7
v5.9.8
v5.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45974.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.10.0
Fixed
5.10.252
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.202
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.165
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.128
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.75
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.14
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45974.json"