IT

Tracker / CVE-2022-50285

CVE-2022-50285

Medium 5.5

In the Linux kernel, the following vulnerability has been resolved: mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages The h->*_huge_pages counters are protected by the hugetlb_lock, but alloc_huge_page has a corner case where it can decrement the counter outside of the lock. This could lead to a corrupted value of h->resv_huge_pages, which we have observed on our systems. Take the hugetlb_lock before decrementing h->resv_huge_pages to avoid a potential race.

Affected products and versions

linux linux_kernel
linux linux_kernel · 4.10 → 4.14.298
linux linux_kernel · 4.15 → 4.19.264
linux linux_kernel · 4.20 → 5.4.223
linux linux_kernel · 4.3.6 → 4.4
linux linux_kernel · 4.4.1 → 4.9.332
linux linux_kernel · 5.11 → 5.15.76
linux linux_kernel · 5.16 → 6.0.6
linux linux_kernel · 5.5 → 5.10.153

Analysis

This page is not indexable yet.Until it carries original analysis — what it actually exposes, how to check in two minutes whether a system was touched, what to do if it was — the page stays noindex. The database decides that, not the template.

References