CVE-2022-50285
Unknown
Unknown - Not Provided
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-12-04
Assigner: kernel.org
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 4.3.6 (inc) to 4.4 (exc) |
| linux | linux_kernel | From 4.4.1 (inc) to 4.9.332 (exc) |
| linux | linux_kernel | From 4.10 (inc) to 4.14.298 (exc) |
| linux | linux_kernel | From 4.15 (inc) to 4.19.264 (exc) |
| linux | linux_kernel | From 4.20 (inc) to 5.4.223 (exc) |
| linux | linux_kernel | From 5.5 (inc) to 5.10.153 (exc) |
| linux | linux_kernel | From 5.11 (inc) to 5.15.76 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.0.6 (exc) |
| linux | linux_kernel | 4.4 |
| linux | linux_kernel | 4.4 |
| linux | linux_kernel | 4.4 |
| linux | linux_kernel | 4.4 |
| linux | linux_kernel | 4.4 |
| linux | linux_kernel | 6.1 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-NVD-CWE-noinfo |