PT-2025-40141 · Linux+2 · Linux Kernel+2
Published
2022-12-20
·
Updated
2025-10-23
·
CVE-2022-50456
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 5.12.0-07246-g75175d5adc74-dirty #199
Description
The Linux kernel contains a flaw in the BTRFS file system related to resolving back references for inline extents followed by preallocated extents. Specifically, if a file includes an inline extent immediately followed by a regular or preallocated extent, attempting to resolve a logical address within the non-inline region can lead to reading an invalid offset field from the inline extent. This can cause a general protection fault and system panic. The issue occurs when
add all parents attempts to access the offset field of the inline extent, potentially going beyond the end of the extent block.Recommendations
Update to version 5.12.0-07246-g75175d5adc74-dirty #199 or a later version that includes the fix.
Exploit
Fix
Out of bounds Read
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Btrfs
Linux Kernel
Suse