# CVE-2026-139610: hfs/hfsplus: serialize B-tree close against folio release

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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)
- **Published:** 2026-11-30T13:36:20.540Z
- **Modified:** 2026-12-01T06:17:46.603Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bc2955a1f757a53206d4df7fdfcebc9c9d3c831f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06663fea795aad27ab24f480dacd3e8213d40925; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 41daf8439db9087a4a57dedfceefc49eb45437e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 586fff868a2f9efa47fef09227b38d1fe4b6123d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 170fada4a1781effac912d7e3e368b91745a841a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b57bb1f1df39aa175cbfc68b86a4d00249ac1390; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dce0e0248205bb3dc5b4c6793cd2ecb453152259
- Anyone running Linux 2.6.12

## Description

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

hfs/hfsplus: serialize B-tree close against folio release

B-tree nodes with a zero reference count remain in the node hash until
folio reclaim or tree teardown frees them.  The folio release callbacks
remove nodes while holding hash\_lock, but hfs\_btree\_close() walks and
frees the same hash without that lock.  Reclaim can therefore unhash and
free a node after close has loaded its pointer, causing a use-after-free
or double-free.

The following syzkaller crashes seem to be the same UAF in
{hfs,hfsplus}\_btree\_close() (or {hfs,hfsplus}\_bnode\_unhash()) and follow
the same pattern, but do not contain a reproducer to confirm.

Detach each node with hfs\_bnode\_unhash() while holding hash\_lock before
inspecting and freeing it.  Drop the lock before hfs\_bnode\_free() so a
large tree is not freed while holding a spinlock.  Apply the same fix to
the matching HFS+ implementation.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bc2955a1f757a53206d4df7fdfcebc9c9d3c831f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06663fea795aad27ab24f480dacd3e8213d40925; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 41daf8439db9087a4a57dedfceefc49eb45437e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 586fff868a2f9efa47fef09227b38d1fe4b6123d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 170fada4a1781effac912d7e3e368b91745a841a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b57bb1f1df39aa175cbfc68b86a4d00249ac1390; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dce0e0248205bb3dc5b4c6793cd2ecb453152259 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## 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-2026-139610. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-139610.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < bc2955a1f757a53206d4df7fdfcebc9c9d3c831f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 06663fea795aad27ab24f480dacd3e8213d40925; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 41daf8439db9087a4a57dedfceefc49eb45437e5; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 06663fea795aad27ab24f480dacd3e8213d40925, Linux 41daf8439db9087a4a57dedfceefc49eb45437e5, Linux 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05, Linux 586fff868a2f9efa47fef09227b38d1fe4b6123d, Linux 170fada4a1781effac912d7e3e368b91745a841a

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

There is no confirmed exploitation: CVE-2026-139610 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< bc2955a1f757a53206d4df7fdfcebc9c9d3c831f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 06663fea795aad27ab24f480dacd3e8213d40925; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 41daf8439db9087a4a57dedfceefc49eb45437e5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 586fff868a2f9efa47fef09227b38d1fe4b6123d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 170fada4a1781effac912d7e3e368b91745a841a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b57bb1f1df39aa175cbfc68b86a4d00249ac1390; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dce0e0248205bb3dc5b4c6793cd2ecb453152259; Linux 2.6.12.

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

Yes. Fixed in Linux 06663fea795aad27ab24f480dacd3e8213d40925, Linux 41daf8439db9087a4a57dedfceefc49eb45437e5, Linux 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05, Linux 586fff868a2f9efa47fef09227b38d1fe4b6123d, Linux 170fada4a1781effac912d7e3e368b91745a841a. No fix listed yet: follow the vendor advisory.

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

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/bc2955a1f757a53206d4df7fdfcebc9c9d3c831f>
- other: <https://git.kernel.org/stable/c/06663fea795aad27ab24f480dacd3e8213d40925>
- other: <https://git.kernel.org/stable/c/41daf8439db9087a4a57dedfceefc49eb45437e5>
- other: <https://git.kernel.org/stable/c/25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05>
- other: <https://git.kernel.org/stable/c/586fff868a2f9efa47fef09227b38d1fe4b6123d>
- other: <https://git.kernel.org/stable/c/170fada4a1781effac912d7e3e368b91745a841a>
- other: <https://git.kernel.org/stable/c/b57bb1f1df39aa175cbfc68b86a4d00249ac1390>
- other: <https://git.kernel.org/stable/c/dce0e0248205bb3dc5b4c6793cd2ecb453152259>

## 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-139610>

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