Skip to main content
Network Thinking Solutions Logo

CVE-2022-50285

Linux kernel: mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages

All CVEs
CVE-2022-50285Published 9/15/2025

Linux kernel: mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
9/15/2025
Last modified
11/5/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.3.6, < 4.4

Verify advisory

Source
linux kernel
linux
≥ 4.4.1, < 4.9.332

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.298

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.264

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.223

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.153

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.76

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.6

Verify advisory

Source
linux kernel
linux
4.4

Verify advisory

Source
linux kernel
linux
4.4

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
linux kernel
linux
6.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 3e50a07b6a5fcd39df1534d3fdaca4292a65efe6

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 629c986e19fe9481227c7cdfd9a105bbc104d245

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 2b35432d324898ec41beb27031d2a1a864a4d40e

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 11993652d0b49e27272db0a37aa828d8a3a4b92b

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 568e3812b1778b4c0c229649b59977d88f400ece

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 112a005d1ded04a4b41b6d01833cc0bda90625cc

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < c828fab903725279aa9dc6ae3d44bb7e4778f92c

Verify advisory

Source
Linux
Linux
≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 12df140f0bdfae5dcfc81800970dd7f6f632e00c

Verify advisory

Source
Linux
Linux
3f5fae4d1a3189d95b02b4b45e1218df147122bc

Verify advisory

Source
Linux
Linux
≥ 4.3.6, < 4.4

Verify advisory

Source
Linux
Linux
4.4

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.