CVE-2022-50285 Details
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.
A vulnerability in the Linux kernel's memory management for huge pages has been identified. The issue arises in the hugetlb subsystem, where the counters tracking reserved huge pages can be decremented outside of the proper synchronization lock. This mismanagement can lead to an incorrect count of reserved huge pages, potentially causing memory allocation issues. The vulnerability has been observed in systems running the affected kernel version.
Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed. Instructions for downloading the latest kernel version can be found on the official Linux kernel website.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc | kernel.org | Patch |
| https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b | kernel.org | Patch |
| https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c | kernel.org | Patch |
| https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e | kernel.org | Patch |
| https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6 | kernel.org | Patch |
| https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece | kernel.org | Patch |
| https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 4.3.6, < 4.4 >= 4.4.1, < 4.9.332 >= 4.10, < 4.14.298 >= 4.15, < 4.19.264 >= 4.20, < 5.4.223 >= 5.5, < 5.10.153 >= 5.11, < 5.15.76 >= 5.16, < 6.0.6 4.4 - 4.4 rc5 4.4 rc6 4.4 rc7 4.4 rc8 6.1 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 4, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |