Skip to main content
VulnerabilityPublished

CVE-2025-40224: Linux kernel · hwmon: (cgbc-hwmon) Add missing NULL check after devm_kzalloc()

Source GCVE Database

0
Compare

Not known to be exploited.

Data as of 25 Nov 2026, 03:38 UTC

Severity
Medium

Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

References

Community reviews

Loading reviews…