CVE-2022-50285
Published: Sep 15, 2025
Modified: May 23, 2026
Description
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.
| Vendor | Product | Versions |
|---|---|---|
Linux | Linux | affected a88c769548047b21f76fd71e04b6a3300ff17160 - < 3e50a07b6a5fcd39df1534d3fdaca4292a65efe6affected a88c769548047b21f76fd71e04b6a3300ff17160 - < 629c986e19fe9481227c7cdfd9a105bbc104d245affected a88c769548047b21f76fd71e04b6a3300ff17160 - < 2b35432d324898ec41beb27031d2a1a864a4d40eaffected a88c769548047b21f76fd71e04b6a3300ff17160 - < 11993652d0b49e27272db0a37aa828d8a3a4b92baffected a88c769548047b21f76fd71e04b6a3300ff17160 - < 568e3812b1778b4c0c229649b59977d88f400ece+5 more versions |
Linux | Linux | affected 4.4unaffected 0 - < 4.4unaffected 4.9.332 - <= 4.9.*unaffected 4.14.298 - <= 4.14.*unaffected 4.19.264 - <= 4.19.*+5 more versions |
References
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now