Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 5 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
hugetlb: only adjust reservation during unmapping if mapcount is 0

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 products

Linux
  • <6.9
  • ==6.9
  • =<7.2.*
  • <5120b1e048d48596ffaec1a8412012a91adba73b
  • <0f001491e5a2ec69aa9d5dd6b799e5742245f9ea
  • <a3c65af20cceb7f997847727636b4017326f845d
  • =<6.18.*
  • =<*