CVE-2025-40244
hfsplus: fix KMSAN uninit-value issue in __hfsplus_ext_cache_extent()
Mitigation
- Upgrade Linux to 4840ceadef4290c56cc422f0fc697655f3cbf070 or later.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ec90bed504640a42bb20a5f413be39cd17ad71; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b8a72692aa42b7dcd179a96b90bc2763ac74576a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c135b8dca65526aa5b8814e9954e0ae317d9c598; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d7e313039a8f3a6ee072dc5ff4643234d2d735cf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a5bfb13b4f406aef1a450f99d22d3e48df01528c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 99202d94909d323a30d154ab0261c0a07166daec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 14c673a2f3ecf650b694a52a88688f1d71849899; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4840ceadef4290c56cc422f0fc697655f3cbf070
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ec90bed504640a42bb20a5f413be39cd17ad71; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b8a72692aa42b7dcd179a96b90bc2763ac74576a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c135b8dca65526aa5b8814e9954e0ae317d9c598; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d7e313039a8f3a6ee072dc5ff4643234d2d735cf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a5bfb13b4f406aef1a450f99d22d3e48df01528c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 99202d94909d323a30d154ab0261c0a07166daec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 14c673a2f3ecf650b694a52a88688f1d71849899; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4840ceadef4290c56cc422f0fc697655f3cbf070; Linux 2.6.12
- Fixed in
- Linux 99202d94909d323a30d154ab0261c0a07166daec, Linux 14c673a2f3ecf650b694a52a88688f1d71849899, Linux 4840ceadef4290c56cc422f0fc697655f3cbf070
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.23% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix KMSAN uninit-value issue in __hfsplus_ext_cache_extent() The syzbot reported issue in __hfsplus_ext_cache_extent(): [ 70.194323][ T9350] BUG: KMSAN: uninit-value in __hfsplus_ext_cache_extent+0x7d0/0x990 [ 70.195022][ T9350] __hfsplus_ext_cache_extent+0x7d0/0x990 [ 70.195530][ T9350] hfsplus_file_extend+0x74f/0x1cf0 [ 70.195998][ T9350] hfsplus_get_block+0xe16/0x17b0 [ 70.196458][ T9350] __block_write_begin_int+0x962/0x2ce0 [ 70.196959][ T9350] cont_write_begin+0x1000/0x1950 [ 70.197416][ T9350] hfsplus_write_begin+0x85/0x130 [ 70.197873][ T9350] generic_perform_write+0x3e8/0x1060 [ 70.198374][ T9350] __generic_file_write_iter+0x215/0x460 [ 70.198892][ T9350] generic_file_write_iter+0x109/0x5e0 [ 70.199393][ T9350] vfs_write+0xb0f/0x14e0 [ 70.199771][ T9350] ksys_write+0x23e/0x490 [ 70.200149][ T9350] __x64_sys_write+0x97/0xf0 [ 70.200570][ T9350] x64_sys_call+0x3015/0x3cf0 [ 70.201065][ T9350] do_syscall_64+0xd9/0x1d0 [ 70.201506][ T9350] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.202054][ T9350] [ 70.202279][ T9350] Uninit was created at: [ 70.202693][ T9350] __kmalloc_noprof+0x621/0xf80 [ 70.203149][ T9350] hfsplus_find_init+0x8d/0x1d0 [ 70.203602][ T9350] hfsplus_file_extend+0x6ca/0x1cf0 [ 70.204087][ T9350] hfsplus_get_block+0xe16/0x17b0 [ 70.204561][ T9350] __block_write_begin_int+0x962/0x2ce0 [ 70.205074][ T9350] cont_write_begin+0x1000/0x1950 [ 70.205547][ T9350] hfsplus_write_begin+0x85/0x130 [ 70.206017][ T9350] generic_perform_write+0x3e8/0x1060 [ 70.206519][ T9350] __generic_file_write_iter+0x215/0x460 [ 70.207042][ T9350] generic_file_write_iter+0x109/0x5e0 [ 70.207552][ T9350] vfs_write+0xb0f/0x14e0 [ 70.207961][ T9350] ksys_write+0x23e/0x490 [ 70.208375][ T9350] __x64_sys_write+0x97/0xf0 [ 70.208810][ T9350] x64_sys_call+0x3015/0x3cf0 [ 70.209255][ T9350] do_syscall_64+0xd9/0x1d0 [ 70.209680][ T9350] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 70.210230][ T9350] [ 70.210454][ T9350] CPU: 2 UID: 0 PID: 9350 Comm: repro Not tainted 6.12.0-rc5 #5 [ 70.211174][ T9350] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 70.212115][ T9350] ===================================================== [ 70.212734][ T9350] Disabling lock debugging due to kernel taint [ 70.213284][ T9350] Kernel panic - not syncing: kmsan.panic set ... [ 70.213858][ T9350] CPU: 2 UID: 0 PID: 9350 Comm: repro Tainted: G B 6.12.0-rc5 #5 [ 70.214679][ T9350] Tainted: [B]=BAD_PAGE [ 70.215057][ T9350] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 70.215999][ T9350] Call Trace: [ 70.216309][ T9350] <TASK> [ 70.216585][ T9350] dump_stack_lvl+0x1fd/0x2b0 [ 70.217025][ T9350] dump_stack+0x1e/0x30 [ 70.217421][ T9350] panic+0x502/0xca0 [ 70.217803][ T9350] ? kmsan_get_metadata+0x13e/0x1c0 [ 70.218294][ Message fromT sy9350] kmsan_report+0x296/slogd@syzkaller 0x2aat Aug 18 22:11:058 ... kernel :[ 70.213284][ T9350] Kernel panic - not syncing: kmsan.panic [ 70.220179][ T9350] ? kmsan_get_metadata+0x13e/0x1c0 set ... [ 70.221254][ T9350] ? __msan_warning+0x96/0x120 [ 70.222066][ T9350] ? __hfsplus_ext_cache_extent+0x7d0/0x990 [ 70.223023][ T9350] ? hfsplus_file_extend+0x74f/0x1cf0 [ 70.224120][ T9350] ? hfsplus_get_block+0xe16/0x17b0 [ 70.224946][ T9350] ? __block_write_begin_int+0x962/0x2ce0 [ 70.225756][ T9350] ? cont_write_begin+0x1000/0x1950 [ 70.226337][ T9350] ? hfsplus_write_begin+0x85/0x130 [ 70.226852][ T9350] ? generic_perform_write+0x3e8/0x1060 [ 70.227405][ T9350] ? __generic_file_write_iter+0x215/0x460 [ 70.227979][ T9350] ? generic_file_write_iter+0x109/0x5e0 [ 70.228540][ T9350] ? vfs_write+0xb0f/0x14e0 [ 70.228997][ T9350] ? ksys_write+0x23e/0x490 ---truncated---
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ec90bed504640a42bb20a5f413be39cd17ad71; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b8a72692aa42b7dcd179a96b90bc2763ac74576a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c135b8dca65526aa5b8814e9954e0ae317d9c598; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d7e313039a8f3a6ee072dc5ff4643234d2d735cf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a5bfb13b4f406aef1a450f99d22d3e48df01528c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 99202d94909d323a30d154ab0261c0a07166daec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 14c673a2f3ecf650b694a52a88688f1d71849899; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4840ceadef4290c56cc422f0fc697655f3cbf070 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40244. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40244.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ec90bed504640a42bb20a5f413be39cd17ad71; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b8a72692aa42b7dcd179a96b90bc2763ac74576a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c135b8dca65526aa5b8814e9954e0ae317d9c598; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 99202d94909d323a30d154ab0261c0a07166daec, Linux 14c673a2f3ecf650b694a52a88688f1d71849899, Linux 4840ceadef4290c56cc422f0fc697655f3cbf070 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/c1ec90bed504640a42bb20a5f413be39cd17ad71
- https://git.kernel.org/stable/c/b8a72692aa42b7dcd179a96b90bc2763ac74576a
- https://git.kernel.org/stable/c/c135b8dca65526aa5b8814e9954e0ae317d9c598
- https://git.kernel.org/stable/c/d7e313039a8f3a6ee072dc5ff4643234d2d735cf
- https://git.kernel.org/stable/c/a5bfb13b4f406aef1a450f99d22d3e48df01528c
- https://git.kernel.org/stable/c/99202d94909d323a30d154ab0261c0a07166daec
- https://git.kernel.org/stable/c/14c673a2f3ecf650b694a52a88688f1d71849899
- https://git.kernel.org/stable/c/4840ceadef4290c56cc422f0fc697655f3cbf070
FAQ
Is CVE-2025-40244 being exploited?
There is no confirmed exploitation: CVE-2025-40244 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40244?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-40244?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c1ec90bed504640a42bb20a5f413be39cd17ad71; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b8a72692aa42b7dcd179a96b90bc2763ac74576a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c135b8dca65526aa5b8814e9954e0ae317d9c598; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < d7e313039a8f3a6ee072dc5ff4643234d2d735cf; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a5bfb13b4f406aef1a450f99d22d3e48df01528c; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 99202d94909d323a30d154ab0261c0a07166daec; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 14c673a2f3ecf650b694a52a88688f1d71849899; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4840ceadef4290c56cc422f0fc697655f3cbf070; Linux 2.6.12.
Is there a fix for CVE-2025-40244?
Yes. Fixed in Linux 99202d94909d323a30d154ab0261c0a07166daec, Linux 14c673a2f3ecf650b694a52a88688f1d71849899, Linux 4840ceadef4290c56cc422f0fc697655f3cbf070. Upgrade Linux to 4840ceadef4290c56cc422f0fc697655f3cbf070 or later.
How do I check if I'm affected by CVE-2025-40244?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.