PT-2025-18519 · Linux+2 · Linux Kernel+2
Published
2025-05-01
·
Updated
2025-07-10
·
CVE-2022-49802
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
A null pointer dereference issue has been identified in the Linux kernel, specifically in the ftrace module. The
@ftrace mod is allocated by kzalloc(), resulting in both members {prev,next} of @ftrace mode->list being NULL. This is not a valid state to call list del(). If kstrdup() for @ftrace mod->{func|module} fails, it leads to a null pointer dereference when list del() is called. The issue can cause a kernel panic with a fatal exception.Recommendations
To resolve this issue, call
INIT LIST HEAD() to initialize the list member. This will prevent the null pointer dereference and fix the problem.Note: The exact affected versions are not specified, and 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
Astra Linux
Linux Kernel
Suse