PT-2025-49051 · Linux+2 · Linux Kernel+2
CVE-2025-40224
·
Published
2025-10-17
·
Updated
2026-02-24
CVSS v2.0
4.6
Medium
| Vector | AV:L/AC:L/Au:S/C:N/I:N/A:C |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
The Linux kernel driver allocates memory for sensor data using
devm kzalloc(), but lacks a check to ensure the allocation was successful. If memory allocation fails, attempting to dereference the resulting NULL pointer can cause a kernel crash. A NULL pointer check has been added, and the function now returns -ENOMEM to handle allocation failures correctly.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
Linuxmint
Linux Kernel
Ubuntu