CVE-2025-40224
Last modified
CVE-2025-40224 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
Description
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 08ebc9def79fc0c4dbb6ecc39263006e3f98b750, < 240b82b86a091c1aa49d951d4467425420a081a0; >= 08ebc9def79fc0c4dbb6ecc39263006e3f98b750, < a09a5aa8bf258ddc99a22c30f17fe304b96b5350 |
| Linux | Linux | 6.15 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-40224?
How severe is CVE-2025-40224?
How do I fix CVE-2025-40224?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-40219In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4022A vulnerability was found in web-arena-x webarena up to 0.2.…8.8
- CVE-2025-40220In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40221In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40222In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40223In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40225In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40226In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40227In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40228In the Linux kernel, the following vulnerability has been re…
- CVE-2025-40229In the Linux kernel, the following vulnerability has been re…
- CVE-2025-4023A vulnerability was found in itsourcecode Placement Manageme…9.8
Are you affected by CVE-2025-40224?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
