CVE-2026-89644

btrfs: fix extent map leak in NOCOW direct I/O write

No CVSS score yet EPSS 0.21%

Published 11 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89644

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-89644 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: fix extent map leak in NOCOW direct I/O write

btrfs_dio_iomap_begin() calls btrfs_get_extent(), which returns an extent map reference that must be dropped on all exit paths.

For direct writes into a NOCOW range, btrfs_get_blocks_direct_write() keeps using that extent map and asks btrfs_create_dio_extent() to allocate the ordered extent. If that fails, for example because btrfs_alloc_ordered_extent() fails, the function returns the error without dropping the input extent map. The PREALLOC path avoided this by dropping the input extent map before replacing it with the newly created one.

Check the error from btrfs_create_dio_extent() before replacing the map and drop the input extent map on failure.

Exploitation

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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before 8d264d35df981e943171ddc09cd6cc1d38c65e17
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before cb732d302245b14943a5017015fffa8e6db7a6c0
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before b7c873765875645b11503f94c9bae2ca80127375
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d
affected from 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, before 3f950867c307c5413d628a153ac44915bd117ffd
Other versions: unaffected
Linux
affected 4.7
unaffected before 4.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.111 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-89644 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89644

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

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