btrfs: send: check for inline extents in range_is_hole_in_parent()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.209, 6.1.167, 6.6.122, 6.12.67, 6.18.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in 901e581bfc44d181f7d9c3f11880dac3e89deb2e; From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in d948055bd46a9c14d1d4217aed65c5c258c32903; From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in f2dc6ab3a14c2d2eb0b14783427eb9b03bf631c9; From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in db00636643e66898d79f2530ac9c56ebd5eca369; From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in 39f83f10772310ba4a77f2b5256aaf36994ef7e8; From 82bfb2e7b645c8f228dc3b6d3b27b0b10125ca4f · fixed in 08b096c1372cd69627f4f559fb47c9fb67a52b39
- Linux Linux
4.11
- KernelLinux
From 4.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.167; From 6.2.0 · fixed in 6.6.122; From 6.7.0 · fixed in 6.12.67; From 6.13.0 · fixed in 6.18.7