CVE-2025-40224: Linux kernel · hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc()
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 03:38 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
The vulnerability has been fixed in the Linux kernel by adding the missing NULL check and proper error handling. Users should apply the official kernel update that includes this fix to remediate the issue.
Description
A vulnerability in the Linux kernel's cgbc-hwmon driver involved a missing NULL check after a memory allocation call with devm_kzalloc(). This flaw could cause a kernel crash if the allocation failed and the NULL pointer was dereferenced. The issue has been fixed by adding a NULL pointer check and returning an error code to handle allocation failure properly.