btrfs: send: check for inline extents in range_is_hole_in_parent()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.6.122, Kernel 6.18.7, Kernel 6.12.67 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: btrfs: send: check for inline extents in range_is_hole_in_parent() Before accessing the disk_bytenr field of a file extent item we need to check if we are dealing with an inline extent. This is because for inline extents their data starts at the offset of the disk_bytenr field. So accessing the disk_bytenr means we are accessing inline data or in case the inline data is less than 8 bytes we can actually cause an invalid memory access if this inline extent item is the first item in the leaf or access metadata from other items.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.11 <6.6.122, >=6.13 <6.18.7, >=6.7 <6.12.67, =6.19, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <39f83f10772310ba4a77f2b5256aaf36994ef7e8, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <901e581bfc44d181f7d9c3f11880dac3e89deb2e, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <d948055bd46a9c14d1d4217aed65c5c258c32903, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <db00636643e66898d79f2530ac9c56ebd5eca369, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <f2dc6ab3a14c2d2eb0b14783427eb9b03bf631c9, =4.11, >=82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f <08b096c1372cd69627f4f559fb47c9fb67a52b39 | 6.6.122, 6.18.7, 6.12.67, 39f83f10772310ba4a77f2b5256aaf36994ef7e8, 901e581bfc44d181f7d9c3f11880dac3e89deb2e, d948055bd46a9c14d1d4217aed65c5c258c32903, db00636643e66898d79f2530ac9c56ebd5eca369, f2dc6ab3a14c2d2eb0b14783427eb9b03bf631c9, 08b096c1372cd69627f4f559fb47c9fb67a52b39 |
| linux-kernel: Kernel | >=4.11.0 <5.15.209, >=5.16.0 <6.1.167, >=6.13.0 <6.18.7, >=6.2.0 <6.6.122, >=6.7.0 <6.12.67 | 5.15.209, 6.1.167, 6.18.7, 6.6.122, 6.12.67 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket