CVE-2025-40224

In the Linux kernel, the following vulnerability has been resolved: hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc() The driver allocates memory for sensor data using devm_kzalloc(), but did not check if the allocation succeeded. In case of memory allocation failure, dereferencing the NULL pointer would lead to a kernel crash. Add a NULL pointer check and return -ENOMEM to handle allocation failure properly.
CVSS

No CVSS.

Configurations

No configuration.

History

No history.

Information

Published : 2025-12-04 16:16

Updated : 2026-06-17 09:21


NVD link : CVE-2025-40224

Mitre link : CVE-2025-40224

CVE.ORG link : CVE-2025-40224


JSON object : View

Products Affected

No product.

CWE

No CWE.