Shellfeed logo Shellfeed

CVE-2026-89593 · HIGH (CVSS 7.1)

Summary: hugetlb: only adjust reservation during unmapping if mapcount is 0

Details

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.

Severity

HIGH (CVSS 7.1) — vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [df7a6d1f64056aec572162c5d35ed9ff86ece6f3 – b0b1b9ca80b795ed2223e76dd787db7067121fb9]
  • Linux Kernel [6.9.0 – 6.12.110] [6.13.0 – 6.18.50] [6.19.0 – 7.2.4]

References