# CVE-2025-38714: hfsplus: fix slab-out-of-bounds in hfsplus\_bnode\_read()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-04T15:33:09.206Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 032f7ed6717a4cd3714f9801be39fdfc7f1c7644; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ffee8a7bed0fbfe29da239a922b59c5db897c613; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a2abd574d2fe22b8464cf6df5abb6f24d809eac0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8583d067ae22b7f32ce5277ca5543ac8bf86a3e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 475d770c19929082aab43337e6c077d0e2043df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291b7f2538920aa229500dbdd6c5f0927a51bc8b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7fa4cef8ea13b37811287ef60674c5fd1dd02ee6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c80aa2aaaa5e69d5219c6af8ef7e754114bd08d2
- Anyone running Linux 2.6.12

## Description

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

hfsplus: fix slab-out-of-bounds in hfsplus\_bnode\_read()

The hfsplus\_bnode\_read() method can trigger the issue:

\[  174.852007\]\[ T9784\] ==================================================================
\[  174.852709\]\[ T9784\] BUG: KASAN: slab-out-of-bounds in hfsplus\_bnode\_read+0x2f4/0x360
\[  174.853412\]\[ T9784\] Read of size 8 at addr ffff88810b5fc6c0 by task repro/9784
\[  174.854059\]\[ T9784\]
\[  174.854272\]\[ T9784\] CPU: 1 UID: 0 PID: 9784 Comm: repro Not tainted 6.16.0-rc3 \#7 PREEMPT(full)
\[  174.854281\]\[ T9784\] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
\[  174.854286\]\[ T9784\] Call Trace:
\[  174.854289\]\[ T9784\]  \<TASK\>
\[  174.854292\]\[ T9784\]  dump\_stack\_lvl+0x10e/0x1f0
\[  174.854305\]\[ T9784\]  print\_report+0xd0/0x660
\[  174.854315\]\[ T9784\]  ? \_\_virt\_addr\_valid+0x81/0x610
\[  174.854323\]\[ T9784\]  ? \_\_phys\_addr+0xe8/0x180
\[  174.854330\]\[ T9784\]  ? hfsplus\_bnode\_read+0x2f4/0x360
\[  174.854337\]\[ T9784\]  kasan\_report+0xc6/0x100
\[  174.854346\]\[ T9784\]  ? hfsplus\_bnode\_read+0x2f4/0x360
\[  174.854354\]\[ T9784\]  hfsplus\_bnode\_read+0x2f4/0x360
\[  174.854362\]\[ T9784\]  hfsplus\_bnode\_dump+0x2ec/0x380
\[  174.854370\]\[ T9784\]  ? \_\_pfx\_hfsplus\_bnode\_dump+0x10/0x10
\[  174.854377\]\[ T9784\]  ? hfsplus\_bnode\_write\_u16+0x83/0xb0
\[  174.854385\]\[ T9784\]  ? srcu\_gp\_start+0xd0/0x310
\[  174.854393\]\[ T9784\]  ? \_\_mark\_inode\_dirty+0x29e/0xe40
\[  174.854402\]\[ T9784\]  hfsplus\_brec\_remove+0x3d2/0x4e0
\[  174.854411\]\[ T9784\]  \_\_hfsplus\_delete\_attr+0x290/0x3a0
\[  174.854419\]\[ T9784\]  ? \_\_pfx\_hfs\_find\_1st\_rec\_by\_cnid+0x10/0x10
\[  174.854427\]\[ T9784\]  ? \_\_pfx\_\_\_hfsplus\_delete\_attr+0x10/0x10
\[  174.854436\]\[ T9784\]  ? \_\_asan\_memset+0x23/0x50
\[  174.854450\]\[ T9784\]  hfsplus\_delete\_all\_attrs+0x262/0x320
\[  174.854459\]\[ T9784\]  ? \_\_pfx\_hfsplus\_delete\_all\_attrs+0x10/0x10
\[  174.854469\]\[ T9784\]  ? rcu\_is\_watching+0x12/0xc0
\[  174.854476\]\[ T9784\]  ? \_\_mark\_inode\_dirty+0x29e/0xe40
\[  174.854483\]\[ T9784\]  hfsplus\_delete\_cat+0x845/0xde0
\[  174.854493\]\[ T9784\]  ? \_\_pfx\_hfsplus\_delete\_cat+0x10/0x10
\[  174.854507\]\[ T9784\]  hfsplus\_unlink+0x1ca/0x7c0
\[  174.854516\]\[ T9784\]  ? \_\_pfx\_hfsplus\_unlink+0x10/0x10
\[  174.854525\]\[ T9784\]  ? down\_write+0x148/0x200
\[  174.854532\]\[ T9784\]  ? \_\_pfx\_down\_write+0x10/0x10
\[  174.854540\]\[ T9784\]  vfs\_unlink+0x2fe/0x9b0
\[  174.854549\]\[ T9784\]  do\_unlinkat+0x490/0x670
\[  174.854557\]\[ T9784\]  ? \_\_pfx\_do\_unlinkat+0x10/0x10
\[  174.854565\]\[ T9784\]  ? \_\_might\_fault+0xbc/0x130
\[  174.854576\]\[ T9784\]  ? getname\_flags.part.0+0x1c5/0x550
\[  174.854584\]\[ T9784\]  \_\_x64\_sys\_unlink+0xc5/0x110
\[  174.854592\]\[ T9784\]  do\_syscall\_64+0xc9/0x480
\[  174.854600\]\[ T9784\]  entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f
\[  174.854608\]\[ T9784\] RIP: 0033:0x7f6fdf4c3167
\[  174.854614\]\[ T9784\] Code: f0 ff ff 73 01 c3 48 8b 0d 26 0d 0e 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 08
\[  174.854622\]\[ T9784\] RSP: 002b:00007ffcb948bca8 EFLAGS: 00000206 ORIG\_RAX: 0000000000000057
\[  174.854630\]\[ T9784\] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6fdf4c3167
\[  174.854636\]\[ T9784\] RDX: 00007ffcb948bcc0 RSI: 00007ffcb948bcc0 RDI: 00007ffcb948bd50
\[  174.854641\]\[ T9784\] RBP: 00007ffcb948cd90 R08: 0000000000000001 R09: 00007ffcb948bb40
\[  174.854645\]\[ T9784\] R10: 00007f6fdf564fc0 R11: 0000000000000206 R12: 0000561e1bc9c2d0
\[  174.854650\]\[ T9784\] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
\[  174.854658\]\[ T9784\]  \</TASK\>
\[  174.854661\]\[ T9784\]
\[  174.879281\]\[ T9784\] Allocated by task 9784:
\[  174.879664\]\[ T9784\]  kasan\_save\_stack+0x20/0x40
\[  174.880082\]\[ T9784\]  kasan\_save\_track+0x14/0x30
\[  174.880500\]\[ T9784\]  \_\_kasan\_kmalloc+0xaa/0xb0
\[  174.880908\]\[ T9784\]  \_\_kmalloc\_noprof+0x205/0x550
\[  174.881337\]\[ T9784\]  \_\_hfs\_bnode\_create+0x107/0x890
\[  174.881779\]\[ T9784\]  hfsplus\_bnode\_find+0x2d0/0xd10
\[  174.882222\]\[ T9784\]  hfsplus\_brec\_find+0x2b0/0x520
\[  174.882659\]\[ T9784\]  hfsplus\_delete\_all\_attrs+0x23b/0x3
---truncated---

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 032f7ed6717a4cd3714f9801be39fdfc7f1c7644; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ffee8a7bed0fbfe29da239a922b59c5db897c613; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a2abd574d2fe22b8464cf6df5abb6f24d809eac0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8583d067ae22b7f32ce5277ca5543ac8bf86a3e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 475d770c19929082aab43337e6c077d0e2043df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291b7f2538920aa229500dbdd6c5f0927a51bc8b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7fa4cef8ea13b37811287ef60674c5fd1dd02ee6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c80aa2aaaa5e69d5219c6af8ef7e754114bd08d2 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-38714.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 032f7ed6717a4cd3714f9801be39fdfc7f1c7644; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ffee8a7bed0fbfe29da239a922b59c5db897c613; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 032f7ed6717a4cd3714f9801be39fdfc7f1c7644, Linux 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29, Linux 8583d067ae22b7f32ce5277ca5543ac8bf86a3e5, Linux 475d770c19929082aab43337e6c077d0e2043df3, Linux 291b7f2538920aa229500dbdd6c5f0927a51bc8b, Linux 7fa4cef8ea13b37811287ef60674c5fd1dd02ee6

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-38714 being exploited?

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 032f7ed6717a4cd3714f9801be39fdfc7f1c7644; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ffee8a7bed0fbfe29da239a922b59c5db897c613; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a2abd574d2fe22b8464cf6df5abb6f24d809eac0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8583d067ae22b7f32ce5277ca5543ac8bf86a3e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 475d770c19929082aab43337e6c077d0e2043df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 291b7f2538920aa229500dbdd6c5f0927a51bc8b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 7fa4cef8ea13b37811287ef60674c5fd1dd02ee6; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c80aa2aaaa5e69d5219c6af8ef7e754114bd08d2; Linux 2.6.12.

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

Yes. Fixed in Linux 032f7ed6717a4cd3714f9801be39fdfc7f1c7644, Linux 5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29, Linux 8583d067ae22b7f32ce5277ca5543ac8bf86a3e5, Linux 475d770c19929082aab43337e6c077d0e2043df3, Linux 291b7f2538920aa229500dbdd6c5f0927a51bc8b, Linux 7fa4cef8ea13b37811287ef60674c5fd1dd02ee6. No fix listed yet: follow the vendor advisory.

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

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/032f7ed6717a4cd3714f9801be39fdfc7f1c7644>
- patch: <https://git.kernel.org/stable/c/ffee8a7bed0fbfe29da239a922b59c5db897c613>
- patch: <https://git.kernel.org/stable/c/5ab59229bef6063edf3a6fc2e3e3fd7cd2181b29>
- patch: <https://git.kernel.org/stable/c/a2abd574d2fe22b8464cf6df5abb6f24d809eac0>
- patch: <https://git.kernel.org/stable/c/8583d067ae22b7f32ce5277ca5543ac8bf86a3e5>
- patch: <https://git.kernel.org/stable/c/475d770c19929082aab43337e6c077d0e2043df3>
- patch: <https://git.kernel.org/stable/c/291b7f2538920aa229500dbdd6c5f0927a51bc8b>
- patch: <https://git.kernel.org/stable/c/7fa4cef8ea13b37811287ef60674c5fd1dd02ee6>
- patch: <https://git.kernel.org/stable/c/c80aa2aaaa5e69d5219c6af8ef7e754114bd08d2>
- 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-38714>

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