Skip to main content
VulnerabilityPublished Updated

CVE-2025-40243: Linux kernel · hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()

Source GCVE Database

0

Not known to be exploited · CVSS 7.8 High.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: 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 26 Oct 2026.

What to do

AI-suggested

The issue was fixed by replacing kmalloc() with kzalloc() in the Linux kernel source code for the HFS filesystem. Users should apply the official Linux kernel updates once available that include this fix.

Description

A use of uninitialized memory issue was found and fixed in the Linux kernel's HFS filesystem code in the function hfs_find_set_zero_bits(). The problem was caused by the use of kmalloc() which does not zero memory, potentially leading to corrupted bitmap operations and filesystem errors. The fix replaced kmalloc() with kzalloc() to ensure allocated memory is zeroed, preventing uninitialized data from affecting bitmap handling.

References

Community reviews

Loading reviews…