PT-2024-29776 · Linux+4 · Linux Kernel+4
Jose E. Marchesi
·
Published
2024-04-23
·
Updated
2026-05-26
·
CVE-2024-42151
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 the Linux kernel's bpf (Berkeley Packet Filter) functionality. A test case, dummy st ops/dummy init ret value, passes a NULL value as the first parameter to the
test 1() function. To prevent a potential NULL pointer dereference, the bpf dummy struct ops.test 1 parameter is marked as nullable. This change makes the verifier aware of the possibility of a NULL value being passed, thus preventing the removal of the NULL check in the test 1() code. The test 1() function is defined with the SEC("struct ops/test 1") annotation and uses the struct bpf dummy ops state *state parameter.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Linux Kernel
Ubuntu