CVE-2022-50285
Last modified
CVE-2022-50285 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.15% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.3.6, < 4.4 | — |
| Linux | Linux Kernel | >= 4.4.1, < 4.9.332 | — |
| 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 | >= 5.5, < 5.10.153 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.76 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.6 | — |
| Linux | Linux Kernel | 4.4 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-50285?
How severe is CVE-2022-50285?
How do I fix CVE-2022-50285?
Are you affected by CVE-2022-50285?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
