PT-2024-26770 · Linux+5 · Linux Kernel+5
Sergey Shtylyov
·
Published
2024-03-27
·
Updated
2026-05-26
·
CVE-2024-35878
CVSS v3.1
5.3
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The issue is related to a NULL pointer dereference in the
vsnprintf() function within the Linux kernel. Specifically, in the of modalias() function, the str and len parameters can cause a kernel oops in vsnprintf() if a NULL pointer is passed without a length of 0. Additionally, negative values of the len parameter must be filtered out to prevent huge buffer allocations, as snprintf() takes a size t parameter while the kernel uses ssize t. This vulnerability was found by the Linux Verification Center using the Svace static analysis tool.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Debian
Linuxmint
Linux Kernel
Red Hat
Suse
Ubuntu