PT-2025-8591 · Linux+2 · Linux Kernel+2
Kuee K1R0A
·
Published
2022-07-01
·
Updated
2025-05-20
·
CVE-2022-49658
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 (affected versions not specified)
Description
The issue is related to insufficient bounds propagation in the Linux kernel's bpf (Berkeley Packet Filter) functionality. Specifically, it concerns the
adjust scalar min max vals function, where a corner case allows for leaking pointers by turning a pointer register into an unknown scalar. This can occur when the tnum becomes constant after a call to reg bound offset(), but the register's bounds are not updated accordingly. The problem arises from the intersection with var off not being performed via update reg bounds(), leading to a 'malformed' constant. To address this, the code has been refactored to introduce a reg bounds sync() helper, ensuring consistent bounds correction.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse