CVE-2025-40082
published high CVSS 3.1 · 7.1hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxccf0ad56a779e6704c0b27f555dec847f50c7557 to < 343fe375a8dd6ee51a193a1c233b999f5ea4d479 · 13604b1d7e7b125fb428cddbec6b8d92baad25d5 to < 782acde47e127c98a113726e2ff8024bd65c0454 · 291bb5d931c6f3cd7227b913302a17be21cf53b0 to < c3db89ea1ed3d540eebe8f3c36e806fb75ee4a1e · f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee to < 5b5228964619b180f366940505b77255b1a03929 · 94458781aee6045bd3d0ad4b80b02886b9e2219b to < 857aefc70d4ae3b9bf1ae67434d27d0f79f80c9e · 94458781aee6045bd3d0ad4b80b02886b9e2219b to < bea3e1d4467bcf292c8e54f080353d556d355e26 · 73f7da507d787b489761a0fa280716f84fa32b2f · 76a4c6636a69d69409aa253b049b1be717a539c5 · 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9 · 1ca69007e52a73bd8b84b988b61b319816ca8b01 · 5.15.190 to < 5.15.200 · 6.1.149 to < 6.1.163 · 6.6.103 to < 6.6.124 · 6.12.43 to < 6.12.70 · 5.4.297 to < 5.5 · 5.10.241 to < 5.11 · 6.15.11 to < 6.16 · 6.16.2 to < 6.17 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 5.15.200 through 5.15.* (unaffected · semver) · 6.1.163 through 6.1.* (unaffected · semver) · 6.6.124 through 6.6.* (unaffected · semver) · 6.12.70 through 6.12.* (unaffected · semver) · 6.17.3 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 | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.164-1 | DSA-6163-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.164-1~deb11u1 | DLA-4499-1 |
| Debian | trixie | linux | Advisory build | 6.12.73-1 | DSA-6141-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el10uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-200.74.27.el9uek | ELSA-2026-50160 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc() BUG: KASAN: slab-out-of-bounds in hfsplus_uni2asc+0xa71/0xb90 fs/hfsplus/unicode.c:186 Read of size 2 at addr ffff8880289ef218 by task syz.6.248/14290 CPU: 0 UID: 0 PID: 14290 Comm: syz.6.248 Not tainted 6.16.4 #1 PREEMPT(full) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1b0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xca/0x5f0 mm/kasan/report.c:482 kasan_report+0xca/0x100 mm/kasan/report.c:595 hfsplus_uni2asc+0xa71/0xb90 fs/hfsplus/unicode.c:186 hfsplus_listxattr+0x5b6/0xbd0 fs/hfsplus/xattr.c:738 vfs_listxattr+0xbe/0x140 fs/xattr.c:493 listxattr+0xee/0x190 fs/xattr.c:924 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x143/0x360 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcb/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fe0e9fae16d Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fe0eae67f98 EFLAGS: 00000246 ORIG_RAX: 00000000000000c3 RAX: ffffffffffffffda RBX: 00007fe0ea205fa0 RCX: 00007fe0e9fae16d RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000200000000000 RBP: 00007fe0ea0480f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe0ea206038 R14: 00007fe0ea205fa0 R15: 00007fe0eae48000 </TASK> Allocated by task 14290: kasan_save_stack+0x24/0x50 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 poison_kmalloc_redzone mm/kasan/common.c:377 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394 kasan_kmalloc include/linux/kasan.h:260 [inline] __do_kmalloc_node mm/slub.c:4333 [inline] __kmalloc_noprof+0x219/0x540 mm/slub.c:4345 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x95/0x1f0 fs/hfsplus/bfind.c:21 hfsplus_listxattr+0x331/0xbd0 fs/hfsplus/xattr.c:697 vfs_listxattr+0xbe/0x140 fs/xattr.c:493 listxattr+0xee/0x190 fs/xattr.c:924 filename_listxattr fs/xattr.c:958 [inline] path_listxattrat+0x143/0x360 fs/xattr.c:988 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcb/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f When hfsplus_uni2asc is called from hfsplus_listxattr, it actually passes in a struct hfsplus_attr_unistr*. The size of the corresponding structure is different from that of hfsplus_unistr, so the previous fix (94458781aee6) is insufficient. The pointer on the unicode buffer is still going beyond the allocated memory. This patch introduces two warpper functions hfsplus_uni2asc_xattr_str and hfsplus_uni2asc_str to process two unicode buffers, struct hfsplus_attr_unistr* and struct hfsplus_unistr* respectively. When ustrlen value is bigger than the allocated memory size, the ustrlen value is limited to an safe size.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Scenarios
- en: AV:L - The attacker-controlled input is an on-disk HFS+ attributes B-tree key, and the vulnerable conversion is reached through the ordinary local `listxattr()`/`llistxattr()` syscall on a mounted volume; there is no network or remote-peer input path. Local rather than Physical because the volume can be attached locally via a loop device and the trigger is a plain local syscall. AC:L - The `length` field of the `hfsplus_attr_unistr` key name is written verbatim by the attacker in the crafted image and was clamped to 255 instead of 127, so the 256-byte overread fires deterministically on the first `listxattr()` call. No race, no heap grooming, and no condition outside the attacker's control. PR:L - Nothing on the `path_listxattrat` → `vfs_listxattr` → `hfsplus_listxattr` → `hfsplus_uni2asc` path performs any capability check — the only `capable(CAP_SYS_ADMIN)` test (`can_list()`) runs after the out-of-bounds conversion and merely filters `trusted.*` names. Any unprivileged local user who can traverse an HFS+ volume (e.g. one udisks2-automounted from attacker-supplied removable media) triggers it. UI:N - In the automount/kiosk scenario the volume is mounted by the system on device insertion with no victim action, and the attacker then issues the `listxattr()` himself; likewise an attacker with loop-mount access performs every step. Choosing the higher-severity option where the mount could otherwise be attributed to a victim. S:U - The out-of-bounds read, the leaked bytes, and any resulting fault all stay within the kernel's own security authority. No VM, IOMMU, or sandbox boundary is crossed. C:H - This is not a bounded few-byte read: up to 256 bytes past the `kzalloc(536)` key allocation are consumed, NLS-converted into `strbuf`, and copied out to userspace by `copy_name()` plus the `copy_to_user()` in `listxattr()`, giving a direct kernel-heap disclosure channel rather than a mere oracle. On slub_debug/KASAN/KFENCE and hardened configurations those bytes are live redzone/stale slab content adjacent to the allocation. I:N - `hfsplus_uni2asc()` only dereferences and converts the input; the output writes are bounded by `*len_p` via `nls->uni2char()` returning `-ENAMETOOLONG`. There is no out-of-bounds write, no type confusion, and no mechanism to modify kernel memory or hijack control flow. A:H - The slab out-of-bounds read is a guaranteed KASAN/KFENCE report and, with `panic_on_warn`/`panic_on_oops`, a kernel panic; where the overread crosses a KFENCE guard page it faults outright. It also leaves the xattr listing returning `-EIO`/garbage, rendering the volume's attribute handling unusable, and is repeatable at will by an unprivileged user.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ccf0ad56a779e6704c0b27f555dec847f50c7557 to < 343fe375a8dd6ee51a193a1c233b999f5ea4d479 (affected · git)13604b1d7e7b125fb428cddbec6b8d92baad25d5 to < 782acde47e127c98a113726e2ff8024bd65c0454 (affected · git)291bb5d931c6f3cd7227b913302a17be21cf53b0 to < c3db89ea1ed3d540eebe8f3c36e806fb75ee4a1e (affected · git)f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee to < 5b5228964619b180f366940505b77255b1a03929 (affected · git)94458781aee6045bd3d0ad4b80b02886b9e2219b to < 857aefc70d4ae3b9bf1ae67434d27d0f79f80c9e (affected · git)94458781aee6045bd3d0ad4b80b02886b9e2219b to < bea3e1d4467bcf292c8e54f080353d556d355e26 (affected · git)73f7da507d787b489761a0fa280716f84fa32b2f (affected · git)76a4c6636a69d69409aa253b049b1be717a539c5 (affected · git)6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9 (affected · git)1ca69007e52a73bd8b84b988b61b319816ca8b01 (affected · git)5.15.190 to < 5.15.200 (affected · semver)6.1.149 to < 6.1.163 (affected · semver)6.6.103 to < 6.6.124 (affected · semver)6.12.43 to < 6.12.70 (affected · semver)5.4.297 to < 5.5 (affected · semver)5.10.241 to < 5.11 (affected · semver)6.15.11 to < 6.16 (affected · semver)6.16.2 to < 6.17 (affected · semver)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)5.15.200 through 5.15.* (unaffected · semver)6.1.163 through 6.1.* (unaffected · semver)6.6.124 through 6.6.* (unaffected · semver)6.12.70 through 6.12.* (unaffected · semver)6.17.3 through 6.17.* (unaffected · semver)6.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/343fe375a8dd6ee51a193a1c233b999f5ea4d479
- https://git.kernel.org/stable/c/5b5228964619b180f366940505b77255b1a03929
- https://git.kernel.org/stable/c/782acde47e127c98a113726e2ff8024bd65c0454
- https://git.kernel.org/stable/c/857aefc70d4ae3b9bf1ae67434d27d0f79f80c9e
- https://git.kernel.org/stable/c/bea3e1d4467bcf292c8e54f080353d556d355e26
- https://git.kernel.org/stable/c/c3db89ea1ed3d540eebe8f3c36e806fb75ee4a1e
Provider assertions
2Linux · cna
hfsplus: fix slab-out-of-bounds read in hfsplus_uni2asc()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0859ed7d6e11870ee521f25b48fc9603ab7b73cd930371bbbb9027d46db86866
- Ingested
- 15 Oct 2026, 23:29:36 UTC
- Source record
- Official CVE record