# CVE-2025-38713: hfsplus: fix slab-out-of-bounds read in hfsplus\_uni2asc()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 13, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-04T15:33:03.464Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 73f7da507d787b489761a0fa280716f84fa32b2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76a4c6636a69d69409aa253b049b1be717a539c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ccf0ad56a779e6704c0b27f555dec847f50c7557; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13604b1d7e7b125fb428cddbec6b8d92baad25d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291bb5d931c6f3cd7227b913302a17be21cf53b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1ca69007e52a73bd8b84b988b61b319816ca8b01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94458781aee6045bd3d0ad4b80b02886b9e2219b
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

hfsplus: fix slab-out-of-bounds read in hfsplus\_uni2asc()

The hfsplus\_readdir() method is capable to crash by calling
hfsplus\_uni2asc():

\[  667.121659\]\[ T9805\] ==================================================================
\[  667.122651\]\[ T9805\] BUG: KASAN: slab-out-of-bounds in hfsplus\_uni2asc+0x902/0xa10
\[  667.123627\]\[ T9805\] Read of size 2 at addr ffff88802592f40c by task repro/9805
\[  667.124578\]\[ T9805\]
\[  667.124876\]\[ T9805\] CPU: 3 UID: 0 PID: 9805 Comm: repro Not tainted 6.16.0-rc3 \#1 PREEMPT(full)
\[  667.124886\]\[ T9805\] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
\[  667.124890\]\[ T9805\] Call Trace:
\[  667.124893\]\[ T9805\]  \<TASK\>
\[  667.124896\]\[ T9805\]  dump\_stack\_lvl+0x10e/0x1f0
\[  667.124911\]\[ T9805\]  print\_report+0xd0/0x660
\[  667.124920\]\[ T9805\]  ? \_\_virt\_addr\_valid+0x81/0x610
\[  667.124928\]\[ T9805\]  ? \_\_phys\_addr+0xe8/0x180
\[  667.124934\]\[ T9805\]  ? hfsplus\_uni2asc+0x902/0xa10
\[  667.124942\]\[ T9805\]  kasan\_report+0xc6/0x100
\[  667.124950\]\[ T9805\]  ? hfsplus\_uni2asc+0x902/0xa10
\[  667.124959\]\[ T9805\]  hfsplus\_uni2asc+0x902/0xa10
\[  667.124966\]\[ T9805\]  ? hfsplus\_bnode\_read+0x14b/0x360
\[  667.124974\]\[ T9805\]  hfsplus\_readdir+0x845/0xfc0
\[  667.124984\]\[ T9805\]  ? \_\_pfx\_hfsplus\_readdir+0x10/0x10
\[  667.124994\]\[ T9805\]  ? stack\_trace\_save+0x8e/0xc0
\[  667.125008\]\[ T9805\]  ? iterate\_dir+0x18b/0xb20
\[  667.125015\]\[ T9805\]  ? trace\_lock\_acquire+0x85/0xd0
\[  667.125022\]\[ T9805\]  ? lock\_acquire+0x30/0x80
\[  667.125029\]\[ T9805\]  ? iterate\_dir+0x18b/0xb20
\[  667.125037\]\[ T9805\]  ? down\_read\_killable+0x1ed/0x4c0
\[  667.125044\]\[ T9805\]  ? putname+0x154/0x1a0
\[  667.125051\]\[ T9805\]  ? \_\_pfx\_down\_read\_killable+0x10/0x10
\[  667.125058\]\[ T9805\]  ? apparmor\_file\_permission+0x239/0x3e0
\[  667.125069\]\[ T9805\]  iterate\_dir+0x296/0xb20
\[  667.125076\]\[ T9805\]  \_\_x64\_sys\_getdents64+0x13c/0x2c0
\[  667.125084\]\[ T9805\]  ? \_\_pfx\_\_\_x64\_sys\_getdents64+0x10/0x10
\[  667.125091\]\[ T9805\]  ? \_\_x64\_sys\_openat+0x141/0x200
\[  667.125126\]\[ T9805\]  ? \_\_pfx\_filldir64+0x10/0x10
\[  667.125134\]\[ T9805\]  ? do\_user\_addr\_fault+0x7fe/0x12f0
\[  667.125143\]\[ T9805\]  do\_syscall\_64+0xc9/0x480
\[  667.125151\]\[ T9805\]  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
\[  667.125158\]\[ T9805\] RIP: 0033:0x7fa8753b2fc9
\[  667.125164\]\[ T9805\] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 48
\[  667.125172\]\[ T9805\] RSP: 002b:00007ffe96f8e0f8 EFLAGS: 00000217 ORIG\_RAX: 00000000000000d9
\[  667.125181\]\[ T9805\] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fa8753b2fc9
\[  667.125185\]\[ T9805\] RDX: 0000000000000400 RSI: 00002000000063c0 RDI: 0000000000000004
\[  667.125190\]\[ T9805\] RBP: 00007ffe96f8e110 R08: 00007ffe96f8e110 R09: 00007ffe96f8e110
\[  667.125195\]\[ T9805\] R10: 0000000000000000 R11: 0000000000000217 R12: 0000556b1e3b4260
\[  667.125199\]\[ T9805\] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
\[  667.125207\]\[ T9805\]  \</TASK\>
\[  667.125210\]\[ T9805\]
\[  667.145632\]\[ T9805\] Allocated by task 9805:
\[  667.145991\]\[ T9805\]  kasan\_save\_stack+0x20/0x40
\[  667.146352\]\[ T9805\]  kasan\_save\_track+0x14/0x30
\[  667.146717\]\[ T9805\]  \_\_kasan\_kmalloc+0xaa/0xb0
\[  667.147065\]\[ T9805\]  \_\_kmalloc\_noprof+0x205/0x550
\[  667.147448\]\[ T9805\]  hfsplus\_find\_init+0x95/0x1f0
\[  667.147813\]\[ T9805\]  hfsplus\_readdir+0x220/0xfc0
\[  667.148174\]\[ T9805\]  iterate\_dir+0x296/0xb20
\[  667.148549\]\[ T9805\]  \_\_x64\_sys\_getdents64+0x13c/0x2c0
\[  667.148937\]\[ T9805\]  do\_syscall\_64+0xc9/0x480
\[  667.149291\]\[ T9805\]  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
\[  667.149809\]\[ T9805\]
\[  667.150030\]\[ T9805\] The buggy address belongs to the object at ffff88802592f000
\[  667.150030\]\[ T9805\]  which belongs to the cache kmalloc-2k of size 2048
\[  667.151282\]\[ T9805\] The buggy address is located 0 bytes to the right of
\[  667.151282\]\[ T9805\]  allocated 1036-byte region \[ffff88802592f000, ffff88802592f40c)
\[  667.1
---truncated---

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 73f7da507d787b489761a0fa280716f84fa32b2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76a4c6636a69d69409aa253b049b1be717a539c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ccf0ad56a779e6704c0b27f555dec847f50c7557; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13604b1d7e7b125fb428cddbec6b8d92baad25d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291bb5d931c6f3cd7227b913302a17be21cf53b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1ca69007e52a73bd8b84b988b61b319816ca8b01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94458781aee6045bd3d0ad4b80b02886b9e2219b (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 94458781aee6045bd3d0ad4b80b02886b9e2219b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38713. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38713.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 73f7da507d787b489761a0fa280716f84fa32b2f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 76a4c6636a69d69409aa253b049b1be717a539c5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ccf0ad56a779e6704c0b27f555dec847f50c7557; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 73f7da507d787b489761a0fa280716f84fa32b2f, Linux 76a4c6636a69d69409aa253b049b1be717a539c5, Linux 13604b1d7e7b125fb428cddbec6b8d92baad25d5, Linux 291bb5d931c6f3cd7227b913302a17be21cf53b0, Linux 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9, Linux 1ca69007e52a73bd8b84b988b61b319816ca8b01, Linux 94458…

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.
```

## FAQ

### Is CVE-2025-38713 being exploited?

There is no confirmed exploitation: CVE-2025-38713 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38713?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38713?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 73f7da507d787b489761a0fa280716f84fa32b2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 76a4c6636a69d69409aa253b049b1be717a539c5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ccf0ad56a779e6704c0b27f555dec847f50c7557; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13604b1d7e7b125fb428cddbec6b8d92baad25d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291bb5d931c6f3cd7227b913302a17be21cf53b0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 1ca69007e52a73bd8b84b988b61b319816ca8b01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 94458781aee6045bd3d0ad4b80b02886b9e2219b; Linux 2.6.12.

### Is there a fix for CVE-2025-38713?

Yes. Fixed in Linux 73f7da507d787b489761a0fa280716f84fa32b2f, Linux 76a4c6636a69d69409aa253b049b1be717a539c5, Linux 13604b1d7e7b125fb428cddbec6b8d92baad25d5, Linux 291bb5d931c6f3cd7227b913302a17be21cf53b0, Linux 6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9, Linux 1ca69007e52a73bd8b84b988b61b319816ca8b01, Linux 94458781aee6045bd3d0ad4b80b02886b9e2219b. Upgrade Linux to 94458781aee6045bd3d0ad4b80b02886b9e2219b or later.

### How do I check if I'm affected by CVE-2025-38713?

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.

## References

- patch: <https://git.kernel.org/stable/c/73f7da507d787b489761a0fa280716f84fa32b2f>
- patch: <https://git.kernel.org/stable/c/76a4c6636a69d69409aa253b049b1be717a539c5>
- patch: <https://git.kernel.org/stable/c/ccf0ad56a779e6704c0b27f555dec847f50c7557>
- patch: <https://git.kernel.org/stable/c/13604b1d7e7b125fb428cddbec6b8d92baad25d5>
- patch: <https://git.kernel.org/stable/c/291bb5d931c6f3cd7227b913302a17be21cf53b0>
- patch: <https://git.kernel.org/stable/c/f7534cbfac0a9ffa4fa17cacc6e8b6446dae24ee>
- patch: <https://git.kernel.org/stable/c/6f93694bcbc2c2ab3e01cd8fba2f296faf34e6b9>
- patch: <https://git.kernel.org/stable/c/1ca69007e52a73bd8b84b988b61b319816ca8b01>
- patch: <https://git.kernel.org/stable/c/94458781aee6045bd3d0ad4b80b02886b9e2219b>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38713>

HTML: <https://flawdb.com/CVE-2025-38713> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38713>
