CVE-2026-89644
btrfs: fix extent map leak in NOCOW direct I/O write
Mitigation
- Upgrade Linux to 3f950867c307c5413d628a153ac44915bd117ffd or later.
Who should check
- Anyone running Linux >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 8d264d35df981e943171ddc09cd6cc1d38c65e17; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < cb732d302245b14943a5017015fffa8e6db7a6c0; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < b7c873765875645b11503f94c9bae2ca80127375; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 3f950867c307c5413d628a153ac44915bd117ffd
- Anyone running Linux 4.7
Vulnerability facts
- Affected
- Linux >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 8d264d35df981e943171ddc09cd6cc1d38c65e17; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < cb732d302245b14943a5017015fffa8e6db7a6c0; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < b7c873765875645b11503f94c9bae2ca80127375; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 3f950867c307c5413d628a153ac44915bd117ffd; Linux 4.7
- Fixed in
- Linux 8d264d35df981e943171ddc09cd6cc1d38c65e17, Linux 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d, Linux 3f950867c307c5413d628a153ac44915bd117ffd
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.21% chance of exploitation in 30 days (percentile 7, 2026-11-26)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 8d264d35df981e943171ddc09cd6cc1d38c65e17; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < cb732d302245b14943a5017015fffa8e6db7a6c0; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < b7c873765875645b11503f94c9bae2ca80127375; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 3f950867c307c5413d628a153ac44915bd117ffd | — | cvelist |
| Linux | 4.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-89644. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-89644.md Affected: Linux >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 8d264d35df981e943171ddc09cd6cc1d38c65e17; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < cb732d302245b14943a5017015fffa8e6db7a6c0; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < b7c873765875645b11503f94c9bae2ca80127375; >= 5f9a8a51d8b95505d8de8b7… Fixed in: Linux 8d264d35df981e943171ddc09cd6cc1d38c65e17, Linux 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d, Linux 3f950867c307c5413d628a153ac44915bd117ffd 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.
References
Other
- https://git.kernel.org/stable/c/8d264d35df981e943171ddc09cd6cc1d38c65e17
- https://git.kernel.org/stable/c/cb732d302245b14943a5017015fffa8e6db7a6c0
- https://git.kernel.org/stable/c/b7c873765875645b11503f94c9bae2ca80127375
- https://git.kernel.org/stable/c/f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2
- https://git.kernel.org/stable/c/05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d
- https://git.kernel.org/stable/c/3f950867c307c5413d628a153ac44915bd117ffd
FAQ
Is CVE-2026-89644 being exploited?
There is no confirmed exploitation: CVE-2026-89644 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-89644?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-89644?
Linux >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 8d264d35df981e943171ddc09cd6cc1d38c65e17; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < cb732d302245b14943a5017015fffa8e6db7a6c0; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < b7c873765875645b11503f94c9bae2ca80127375; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < f42efd634c0ae7ba0ce2fc5e30e291b0803b0ae2; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d; >= 5f9a8a51d8b95505d8de8b7191ae2ed8c504d4af, < 3f950867c307c5413d628a153ac44915bd117ffd; Linux 4.7.
Is there a fix for CVE-2026-89644?
Yes. Fixed in Linux 8d264d35df981e943171ddc09cd6cc1d38c65e17, Linux 05a1a816eef8b3e4332620a64fc8cf45c4eb5c0d, Linux 3f950867c307c5413d628a153ac44915bd117ffd. Upgrade Linux to 3f950867c307c5413d628a153ac44915bd117ffd or later.
How do I check if I'm affected by CVE-2026-89644?
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.