CVE-2025-40351: Linux kernel · hfsplus: fix KMSAN uninit-value issue in hfsplus_delete_cat()
Affects Linux kernelSource GCVE Database
Not known to be exploited · fixed in 5.15.0-1100.107~20.04.2 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 17:16 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1100.107~20.04.2, 5.15.0-1110.119~20.04.1, 5.15.0-1114.123~20.04.1 +72
Exploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by updating to the fixed Linux kernel versions as specified by the Ubuntu security advisory USN-8029-1. Systems running affected versions should upgrade to the patched kernels to remediate this issue. No additional mitigation steps are indicated beyond applying the official fix.
Description
A use of uninitialized value vulnerability was identified and fixed in the Linux kernel's hfsplus filesystem code, specifically in the hfsplus_delete_cat() function. The issue was detected by the Kernel Memory Sanitizer (KMSAN) and could lead to kernel instability or crashes. This flaw has been addressed in updated Linux kernel versions. The vulnerability affects certain Ubuntu Linux kernel versions prior to specific patched releases. No known exploits are reported in the wild.
References
- ubuntu.com/security/CVE-2025-40351 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40351 (opens in a new tab)
- git.kernel.org/linus/9b3d15a758910bb98ba8feb4109d99cc67450ee4 (opens in a new tab)
- git.kernel.org/stable/c/1b9e5ade272f8be6421c9eea4c4f6810180017f9 (opens in a new tab)
- git.kernel.org/stable/c/295527bfdefd5bf31ec8218e2891a65777141d05 (opens in a new tab)
- git.kernel.org/stable/c/2bb8bc99b1a7a46d83f95c46f530305f6df84eaf (opens in a new tab)
- git.kernel.org/stable/c/4891bf2b09c313622a6e07d7f108aa5e123c768d (opens in a new tab)
- git.kernel.org/stable/c/9b3d15a758910bb98ba8feb4109d99cc67450ee4 (opens in a new tab)
- git.kernel.org/stable/c/9df3c241fbf69edce968b20eeeeb3f6da34af041 (opens in a new tab)
- git.kernel.org/stable/c/a2bee43b451615531ae6f3cf45054f02915ef885 (opens in a new tab)
- git.kernel.org/stable/c/b07630afe1671096dc64064190cae3b6165cf6e4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8034-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8033-5 (opens in a new tab)