# CVE-2026-80656: hfsplus: Add a sanity check for btree node size

> 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.17% (percentile 3, 2026-11-26)
- **Published:** 2026-08-28T06:49:02.596Z
- **Modified:** 2026-08-29T07:16:48.437Z

## Who should check

- Anyone running Linux \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 306265eb9384d2c224f1b14d83a29323f0eab6d1; \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 3f95e2661574ff13f099dd13456751933c280628
- Anyone running Linux 7.1

## Description

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

hfsplus: Add a sanity check for btree node size

Syzbot reported an uninit-value bug in \[1\] with a corrupted HFS+ image,
during the file system mounting process, specifically while loading the
catalog, a corrupted node\_size value of 1 caused the rec\_off argument
passed to hfs\_bnode\_read\_u16() (within hfs\_bnode\_find()) to be excessively
large. Consequently, the function failed to return a valid value to
initialize the off variable, triggering the bug \[1\].

Every node starts from BTree node descriptor: struct hfs\_bnode\_desc.
So, the size of node cannot be lesser than that. However, technical
specification declares that: "The node size (which is expressed in bytes)
must be power of two, from 512 through 32,768, inclusive." Add a check
for btree node size base on technical specification.

\[1\]
BUG: KMSAN: uninit-value in hfsplus\_bnode\_find+0x141c/0x1600 fs/hfsplus/bnode.c:584
 hfsplus\_bnode\_find+0x141c/0x1600 fs/hfsplus/bnode.c:584
 hfsplus\_btree\_open+0x169a/0x1e40 fs/hfsplus/btree.c:382
 hfsplus\_fill\_super+0x111f/0x2770 fs/hfsplus/super.c:553
 get\_tree\_bdev\_flags+0x6e6/0x920 fs/super.c:1694
 get\_tree\_bdev+0x38/0x50 fs/super.c:1717
 hfsplus\_get\_tree+0x35/0x40 fs/hfsplus/super.c:709
 vfs\_get\_tree+0xb3/0x5d0 fs/super.c:1754
 fc\_mount fs/namespace.c:1193 \[inline\]

## Affected and fixed versions

- Linux: \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 306265eb9384d2c224f1b14d83a29323f0eab6d1; \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 3f95e2661574ff13f099dd13456751933c280628 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 3f95e2661574ff13f099dd13456751933c280628 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-80656.md
Affected: Linux >= 8ad2c6a36ac4328072377906a47ea0bff11e4032, < 306265eb9384d2c224f1b14d83a29323f0eab6d1; >= 8ad2c6a36ac4328072377906a47ea0bff11e4032, < 3f95e2661574ff13f099dd13456751933c280628; Linux 7.1
Fixed in: Linux 306265eb9384d2c224f1b14d83a29323f0eab6d1, Linux 3f95e2661574ff13f099dd13456751933c280628

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-2026-80656 being exploited?

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

### How serious is CVE-2026-80656?

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

### Which versions are affected by CVE-2026-80656?

Linux \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 306265eb9384d2c224f1b14d83a29323f0eab6d1; \>= 8ad2c6a36ac4328072377906a47ea0bff11e4032, \< 3f95e2661574ff13f099dd13456751933c280628; Linux 7.1.

### Is there a fix for CVE-2026-80656?

Yes. Fixed in Linux 306265eb9384d2c224f1b14d83a29323f0eab6d1, Linux 3f95e2661574ff13f099dd13456751933c280628. Upgrade Linux to 3f95e2661574ff13f099dd13456751933c280628 or later.

### How do I check if I'm affected by CVE-2026-80656?

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

- other: <https://git.kernel.org/stable/c/306265eb9384d2c224f1b14d83a29323f0eab6d1>
- other: <https://git.kernel.org/stable/c/3f95e2661574ff13f099dd13456751933c280628>

## 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-2026-80656>

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