VDB

CVE-2026-89644

CVE-2026-89644 PUBLISHED

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

Reported by linux · Published September 11, 2026

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.

EPSS 0.17% · 6.8th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxb7c873765875645b11503f94c9bae2ca80127375, 4.7

Risk scores

EPSS Score
0.17%
6.8th percentile

Affected products

VendorProductVersions
LinuxLinux5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af
LinuxLinux4.7, 0, 6.1.191
LinuxLinux5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, 7.3, 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.51-120.1620
amazon:2023kernel6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel4.7, 4.7, 4.7
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-devel0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-headers0

…and 7 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (15 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89644
vulnetix vdb fixes CVE-2026-89644

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89644/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›