CVE-2026-89645

btrfs: drop recovered reloc root refs on recovery failure

No CVSS score yet EPSS 0.25%

Published 11 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89645

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-89645 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:

btrfs: drop recovered reloc root refs on recovery failure

During relocation recovery, each fs root gets a reference to its relocation root. If loading or adding a later root fails, or if the first transaction commit fails, btrfs_recover_relocation() jumps to out_unset before merge_reloc_roots() and clean_dirty_subvols().

put_reloc_control() drops the list-owned relocation root references, but it does not clear fs_root->reloc_root or drop the references owned by those pointers. Mount cleanup only drops them when BTRFS_FS_ERROR is set, so an error such as -ENOMEM while processing a later root can leave references behind.

Keep temporary references to the fs roots associated during recovery. On failure, clear their reloc_root pointers and drop the corresponding references. Once the first transaction commit succeeds, drop only the temporary fs root references and let the normal merge and cleanup paths handle the relocation roots.

Fault injection on a pending-relocation image confirmed the cleanup gap. With an injected first-commit failure, 25 fs roots had reloc_root set with fs_error=0. With this fix, the same failure path drops that count to 0 before mount fails.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before f671ffc678e0247aad77126670cb28c766d6ab3d
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before 7b8c6af17287899a5d00c70566831feac237d192
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before 2256d6dc5b88841a8a8b4fd9a9f04730705fb6fd
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before 8a64baeb5bbb706b83d2235c1e39f5b77183817f
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before 4d43107e807bcd92621106b07f5011411c6341a8
affected from f44deb7442edf42abee6be25fca7e3e86061b4c9, before 6d8ba4572922e336f0b59a80751b018e1e135164
Other versions: unaffected
Linux
affected 5.7
unaffected before 5.7
unaffected from 6.1.191 up to and including 6.1.*
unaffected from 6.6.160 up to and including 6.6.*
unaffected from 6.12.109 up to and including 6.12.*
unaffected from 6.18.50 up to and including 6.18.*
unaffected from 7.2.4 up to and including 7.2.*
unaffected 7.3 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-89645 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89645

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-89645
trivy image --scanners vuln IMAGE | grep CVE-2026-89645

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