PT-2024-29173 · Linux+8 · Linux Kernel+8
Jianguo Wu
·
Published
2024-06-13
·
Updated
2025-09-29
·
CVE-2024-40957
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 seg6 module, where the
input action end dx4() and input action end dx6() functions are called with NF HOOK() for the PREROUTING hook. In this hook, a valid indev and a NULL outdev should be passed to NF HOOK(). However, if a NULL indev is passed, it may trigger a NULL pointer dereference. This can occur when input action end dx4() passes a NULL indev to NF HOOK(), which can then trigger a NULL dereference in rpfilter mt()->rpfilter is loopback(). The rpfilter is loopback() function checks if a packet is a loopback packet or if the input device has the IFF LOOPBACK flag set.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
Almalinux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu