Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-40243

published high CVSS 3.1 · 7.8

hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()

Published
04 Dec 2025, 15:31:32 UTC
Updated
05 Aug 2026, 12:08:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fc56548fca732f3d3692c83b40db796259a03887 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bf1683078fbdd09a7f7f9b74121ebaa03432bd00 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2a112cdd66f5a132da5235ca31a320528c86bf33 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e148ed5cda8fd96d4620c4622fb02f552a2d166a · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cfafefcb0e1fc60135f7040f4aed0a4aef4f76ca · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3b447fd401824e1ccf0b769188edefe866a1e676 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 502fa92a71f344611101bd04ef1a595b8b6014f5 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2048ec5b98dbdfe0b929d2e42dc7a54c389c53dd · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.4.301 through 5.4.* (unaffected · semver) · 5.10.246 through 5.10.* (unaffected · semver) · 5.15.196 through 5.15.* (unaffected · semver) · 6.1.158 through 6.1.* (unaffected · semver) · 6.6.115 through 6.6.* (unaffected · semver) · 6.12.56 through 6.12.* (unaffected · semver) · 6.17.6 through 6.17.* (unaffected · semver) · 6.18 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-112 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2025-114 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.247-1 DLA-4404-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-aws-5.15-headers-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-aws-5.15-tools-5.15.0-1100 Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1110 Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-buildinfo-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-buildinfo-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-buildinfo-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-buildinfo-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-buildinfo-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-buildinfo-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-buildinfo-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-buildinfo-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-cloud-tools-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-cloud-tools-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-cloud-tools-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-cloud-tools-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-cloud-tools-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1100 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1100 Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-headers-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-headers-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-headers-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-headers-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-headers-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-headers-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-headers-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-headers-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1094 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1094 Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-image-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-image-unsigned-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-image-unsigned-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-image-unsigned-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-image-unsigned-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-image-unsigned-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-image-unsigned-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-image-unsigned-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-image-unsigned-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1095 Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-170 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-170 Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-modules-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-modules-5.15.0-1052-nvidia-tegra-rt Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-modules-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-modules-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-modules-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-modules-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-modules-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-modules-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-modules-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-modules-5.15.0-170-generic-64k Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-modules-5.15.0-170-generic-lpae Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-modules-5.15.0-170-lowlatency Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-modules-5.15.0-170-lowlatency-64k Advisory build 5.15.0-170.180~20.04.1 USN-8033-1
Ubuntu focal linux-modules-extra-5.15.0-1052-nvidia-tegra Advisory build 5.15.0-1052.52~20.04.2 USN-8034-1
Ubuntu focal linux-modules-extra-5.15.0-1094-ibm Advisory build 5.15.0-1094.97~20.04.1 USN-8033-1
Ubuntu focal linux-modules-extra-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-modules-extra-5.15.0-1097-oracle Advisory build 5.15.0-1097.103~20.04.1 USN-8033-5
Ubuntu focal linux-modules-extra-5.15.0-1100-aws Advisory build 5.15.0-1100.107~20.04.2 USN-8033-4
Ubuntu focal linux-modules-extra-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5
Ubuntu focal linux-modules-extra-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-modules-extra-5.15.0-170-generic Advisory build 5.15.0-170.180~20.04.3 USN-8033-1
Ubuntu focal linux-modules-involflt-5.15.0-1110-azure Advisory build 5.15.0-1110.119~20.04.1 USN-8243-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-1095-intel-iotg Advisory build 5.15.0-1095.101~20.04.1 USN-8033-7
Ubuntu focal linux-modules-iwlwifi-5.15.0-1100-gcp Advisory build 5.15.0-1100.109~20.04.1 USN-8033-5

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits() The syzbot reported issue in hfs_find_set_zero_bits(): ===================================================== BUG: KMSAN: uninit-value in hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_vbm_search_free+0x13c/0x5b0 fs/hfs/bitmap.c:151 hfs_extend_file+0x6a5/0x1b00 fs/hfs/extent.c:408 hfs_get_block+0x435/0x1150 fs/hfs/extent.c:353 __block_write_begin_int+0xa76/0x3030 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x10e1/0x1bc0 fs/buffer.c:2601 hfs_write_begin+0x85/0x130 fs/hfs/inode.c:52 cont_expand_zero fs/buffer.c:2528 [inline] cont_write_begin+0x35a/0x1bc0 fs/buffer.c:2591 hfs_write_begin+0x85/0x130 fs/hfs/inode.c:52 hfs_file_truncate+0x1d6/0xe60 fs/hfs/extent.c:494 hfs_inode_setattr+0x964/0xaa0 fs/hfs/inode.c:654 notify_change+0x1993/0x1aa0 fs/attr.c:552 do_truncate+0x28f/0x310 fs/open.c:68 do_ftruncate+0x698/0x730 fs/open.c:195 do_sys_ftruncate fs/open.c:210 [inline] __do_sys_ftruncate fs/open.c:215 [inline] __se_sys_ftruncate fs/open.c:213 [inline] __x64_sys_ftruncate+0x11b/0x250 fs/open.c:213 x64_sys_call+0xfe3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:78 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4154 [inline] slab_alloc_node mm/slub.c:4197 [inline] __kmalloc_cache_noprof+0x7f7/0xed0 mm/slub.c:4354 kmalloc_noprof include/linux/slab.h:905 [inline] hfs_mdb_get+0x1cc8/0x2a90 fs/hfs/mdb.c:175 hfs_fill_super+0x3d0/0xb80 fs/hfs/super.c:337 get_tree_bdev_flags+0x6e3/0x920 fs/super.c:1681 get_tree_bdev+0x38/0x50 fs/super.c:1704 hfs_get_tree+0x35/0x40 fs/hfs/super.c:388 vfs_get_tree+0xb0/0x5c0 fs/super.c:1804 do_new_mount+0x738/0x1610 fs/namespace.c:3902 path_mount+0x6db/0x1e90 fs/namespace.c:4226 do_mount fs/namespace.c:4239 [inline] __do_sys_mount fs/namespace.c:4450 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4427 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4427 x64_sys_call+0xfa7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 12609 Comm: syz.1.2692 Not tainted 6.16.0-syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 ===================================================== The HFS_SB(sb)->bitmap buffer is allocated in hfs_mdb_get(): HFS_SB(sb)->bitmap = kmalloc(8192, GFP_KERNEL); Finally, it can trigger the reported issue because kmalloc() doesn't clear the allocated memory. If allocated memory contains only zeros, then everything will work pretty fine. But if the allocated memory contains the "garbage", then it can affect the bitmap operations and it triggers the reported issue. This patch simply exchanges the kmalloc() on kzalloc() with the goal to guarantee the correctness of bitmap operations. Because, newly created allocation bitmap should have all available blocks free. Potentially, initialization bitmap's read operation could not fill the whole allocated memory and "garbage" in the not initialized memory will be the reason of volume coruptions and file system driver bugs.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

38

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable code is reached only by mounting an HFS block device or image locally and then issuing ordinary file syscalls (ftruncate/write) against it, as in the syzbot trace via `__x64_sys_ftruncate`. There is no network, adjacent-network, or remote-peer data path into `hfs_mdb_get()` or `hfs_find_set_zero_bits()`; local mounting of attacker-supplied media is routine via udisks2/automount, loop devices, and fstab `user` entries. AC:L - `kmalloc(8192)` never zeroes and the disk read only covers `(fs_ablocks + 8) / 8` bytes, so on every mount the tail of the bitmap object is stale slab data — the vulnerable state exists unconditionally, with no race and no memory-layout luck. Every remaining precondition is attacker-authored on-disk metadata (`drNmAlBlks`, `drClpSiz`, extent `block`/`count` feeding `goal`), the residual slab contents are groomable with standard heap-spray techniques, and the syzbot reproducer triggers it reliably. PR:L - hfs is registered `FS_REQUIRES_DEV` without `FS_USERNS_MOUNT`, so the mount step needs `CAP_SYS_ADMIN` in the initial namespace and is not obtainable via `unshare -Ur`; however, once a privileged automounter such as udisks2 has mounted the removable volume, an ordinary unprivileged local user drives the entire `hfs_inode_setattr → hfs_file_truncate → hfs_get_block → hfs_extend_file → hfs_vbm_search_free` path with a plain `ftruncate()`/`write()`, with no capability check anywhere along it. UI:N - In the removable-media/udisks2 automount scenario the crafted HFS volume is mounted without any deliberate victim action, and the trigger itself is a normal file truncate or write performed by the attacker on their own image. No action by another user or administrator is required. S:U - The uninitialized-memory consumption, the out-of-bounds slab access at the tail of the bitmap object, and any resulting fault all occur inside the host kernel's own security authority. No VM, hypervisor, IOMMU, or sandbox boundary is crossed. C:H - Stale kmalloc'd slab contents — potentially remnants of any prior 8 KiB kernel allocation — are consumed directly as volume allocation state and steer which blocks are handed out; the resulting run lengths and extents are persisted into on-disk metadata the attacker can read back, forming an oracle for leaked heap bytes. Because `goal` from on-disk extents is unvalidated against `fs_ablocks`, the search can also produce extents pointing past the end of the volume, causing `hfs_get_block`/`map_bh` to read device sectors outside the filesystem, and the tail write-back reads a `__be32` past the end of the kmalloc-8k object. I:H - The garbage bits drive `hfs_find_set_zero_bits()` to mark uninitialized regions "used" and return `*num_bits` exceeding the volume, underflowing `HFS_SB(sb)->free_ablocks -= *num_bits` (u32) to a huge value and installing extent records that extend past the volume end, which subsequent writes then commit to sectors outside the filesystem — exactly the "volume corruptions" the fix author cites. At the 64 K-bit boundary the `*curr = cpu_to_be32(n)` store at `done:` performs a 4-byte out-of-bounds read-modify-write on the slab object adjacent to the 8192-byte bitmap allocation, which per the OOB-write guidance is High. A:H - Consuming uninitialized memory as filesystem allocation state yields the reported KMSAN uninit-value bug plus a slab out-of-bounds access that trips KASAN/panics on hardened kernels, corrupted `free_ablocks` accounting, and extents referencing sectors beyond the volume that drive the block layer into repeated I/O failure. A persistent crafted volume retriggers the condition on every file-extension operation, at will.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < fc56548fca732f3d3692c83b40db796259a03887 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < bf1683078fbdd09a7f7f9b74121ebaa03432bd00 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2a112cdd66f5a132da5235ca31a320528c86bf33 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e148ed5cda8fd96d4620c4622fb02f552a2d166a (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cfafefcb0e1fc60135f7040f4aed0a4aef4f76ca (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 3b447fd401824e1ccf0b769188edefe866a1e676 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 502fa92a71f344611101bd04ef1a595b8b6014f5 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 2048ec5b98dbdfe0b929d2e42dc7a54c389c53dd (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.4.301 through 5.4.* (unaffected · semver)5.10.246 through 5.10.* (unaffected · semver)5.15.196 through 5.15.* (unaffected · semver)6.1.158 through 6.1.* (unaffected · semver)6.6.115 through 6.6.* (unaffected · semver)6.12.56 through 6.12.* (unaffected · semver)6.17.6 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

hfs: fix KMSAN uninit-value issue in hfs_find_set_zero_bits()

Provenance

Schema
5.2
Searchable
yes
Content hash
d2ad1cbf0934f7077ff1a53583229f38ba489fdeaf05fadcc806ad36587ddcd9
Ingested
23 Sep 2026, 08:48:04 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected