Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-50285

medium

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…

Vendor / product: Linux — linux kernel

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
5.5
5.5 (CVSS v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2025-09-15 15:15
Modified: 2026-11-05 20:17
NVD status: Analyzed
Last synced 1 week ago
Verified against the source API 2026-11-05 20:22 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

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

Weakness classification (CWE)

NVD-CWE-noinfo

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc
Patch / mitigation: https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b
Patch / mitigation: https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c
Patch / mitigation: https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e
Patch / mitigation: https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6
Patch / mitigation: https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece
Patch / mitigation: https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245
Patch / mitigation: https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-05 20:22 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs