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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-09-11T19:44:56.557Z
- Modified: 2026-10-19T09:17:55.587Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from df7a6d1f64056aec572162c5d35ed9ff86ece6f3 before b0b1b9ca80b795ed2223e76dd787db7067121fb9; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3 before a3c65af20cceb7f997847727636b4017326f845d; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3 before 0f001491e5a2ec69aa9d5dd6b799e5742245f9ea; from df7a6d1f64056aec572162c5d35ed9ff86ece6f3 before 5120b1e048d48596ffaec1a8412012a91adba73b; 6.9 (not affected: before 6.9; from 6.12.110 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## 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>

## Sources

- CVE List: [CVE-2026-89593](https://www.cve.org/CVERecord?id=CVE-2026-89593), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89593](https://nvd.nist.gov/vuln/detail/CVE-2026-89593), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89593 · Whole record: https://cve.day/CVE-2026-89593.json · Rebuilt by cve.day 2026-11-25T22:59:38.077Z
