PT-2024-33996 · Linux+5 · Linux Kernel+5
Lonial Con
·
Published
2024-10-22
·
Updated
2026-05-26
·
CVE-2024-50164
CVSS v3.1
7.1
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel versions prior to 6.6.61
Description:
The issue is related to the BPF verifier in the Linux kernel, where the meaning of MEM UNINIT has been overloaded, allowing a BPF program to write to a map marked as read-only. This is due to checks added later that set meta to NULL, bypassing verifier write checks to the memory. The problem arises from the double meaning of MEM UNINIT, which initially meant that the passed buffer to the BPF helper does not need to be initialized, but over time also meant that the passed buffer is being written to. The estimated number of potentially affected devices worldwide is not specified. There is no information about real-world incidents where this issue was exploited.
Recommendations:
For Linux kernel versions prior to 6.6.61, update to version 6.6.61 or later to resolve the issue. As a temporary workaround, consider disabling BPF programs that access read-only maps until a patch is available. Restrict access to the BPF verifier to minimize the risk of exploitation. Avoid using the
meta argument in the check mem reg() function until the issue is resolved.Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu