btrfs: fix invalid leaf access in btrfs_quota_enable() if ref key not found
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.252, Kernel 5.15.202, Kernel 6.1.165 and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.10.1 <5.10.252, >=5.11 <5.15.202, >=5.16 <6.1.165, >=5.9.7 <5.10, >=6.13 <6.18.14, >=6.19 <6.19.4, >=6.2 <6.6.128, >=6.7 <6.12.75, =5.10, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <023545e272f369d487e6a986c1e321c6e04be1da, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <0761447f6f51e1c7997960d8e6559337deed6729, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <1ee1d006c9fe4d6be5527ab1c84216b80cccbe40, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <b2bd557b75b760e4b9d209112bda19314bd64558, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <b5b8ade9da452086e78f5d519b90d3769e354853, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <d7cf2314dd5e8661c05d076cd627eea9a7f76616, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <ecb7c2484cfc83a93658907580035a8adf1e0a92, >=5223cc60b40ae525ae6c94e98824129f1a5b4ae5 <fd4913a53e3b54ad7e161847291439fe445d6356, =ecce1be9f2a366990d0e75dd249fb324e83c34a9 | 5.10.252, 5.15.202, 6.1.165, 5.10, 6.18.14, 6.19.4, 6.6.128, 6.12.75, 023545e272f369d487e6a986c1e321c6e04be1da, 0761447f6f51e1c7997960d8e6559337deed6729, 1ee1d006c9fe4d6be5527ab1c84216b80cccbe40, b2bd557b75b760e4b9d209112bda19314bd64558, b5b8ade9da452086e78f5d519b90d3769e354853, d7cf2314dd5e8661c05d076cd627eea9a7f76616, ecb7c2484cfc83a93658907580035a8adf1e0a92, fd4913a53e3b54ad7e161847291439fe445d6356 |
| linux-kernel: Kernel | >=5.10.0 <5.10.252, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=5.9.7 <5.10, >=6.13.0 <6.18.14, >=6.19.0 <6.19.4, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 5.10.252, 5.15.202, 6.1.165, 5.10, 6.18.14, 6.19.4, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket