CVE-2026-139610

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

7.0 high EPSS 0.14%

Published 30 Nov 2026 Updated 1 Dec 2026 CNA: Linux

Check your servers for CVE-2026-139610

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139610 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.0 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.68% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before bc2955a1f757a53206d4df7fdfcebc9c9d3c831f
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 06663fea795aad27ab24f480dacd3e8213d40925
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 41daf8439db9087a4a57dedfceefc49eb45437e5
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 25cc86f0dfaf7d5366fe2dc5aa4302f5d0b87a05
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 586fff868a2f9efa47fef09227b38d1fe4b6123d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 170fada4a1781effac912d7e3e368b91745a841a
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b57bb1f1df39aa175cbfc68b86a4d00249ac1390
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before dce0e0248205bb3dc5b4c6793cd2ecb453152259
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.119 up to and including 6.12.*
unaffected from 6.18.65 up to and including 6.18.*
unaffected from 7.3.6 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139610 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139610

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139610
trivy image --scanners vuln IMAGE | grep CVE-2026-139610

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139610 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.