hugetlb: only adjust reservation during unmapping if mapcount is 0
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel b0b1b9ca80b795ed2223e76dd787db7067121fb9, Kernel 0f001491e5a2ec69aa9d5dd6b799e5742245f9ea, Kernel 5120b1e048d48596ffaec1a8412012a91adba73b and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=df7a6d1f64056aec572162c5d35ed9ff86ece6f3 <b0b1b9ca80b795ed2223e76dd787db7067121fb9, >=df7a6d1f64056aec572162c5d35ed9ff86ece6f3 <0f001491e5a2ec69aa9d5dd6b799e5742245f9ea, >=df7a6d1f64056aec572162c5d35ed9ff86ece6f3 <5120b1e048d48596ffaec1a8412012a91adba73b, >=df7a6d1f64056aec572162c5d35ed9ff86ece6f3 <a3c65af20cceb7f997847727636b4017326f845d, =6.9 | b0b1b9ca80b795ed2223e76dd787db7067121fb9, 0f001491e5a2ec69aa9d5dd6b799e5742245f9ea, 5120b1e048d48596ffaec1a8412012a91adba73b, a3c65af20cceb7f997847727636b4017326f845d |
| linux-kernel: Kernel | >=6.19.0 <7.2.4, >=6.9.0 <6.12.110, >=6.13.0 <6.18.50 | 7.2.4, 6.12.110, 6.18.50 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket