5.5

CVE-2022-50285: mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages

Analyzed
AliasesUBUNTU-CVE-2022-50285DEBIAN-CVE-2022-50285
Published 15-09-2025Last modified 23-05-2026

Vulnerability summary

CVE-2022-50285 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.16% chance of exploitation in the next 30 days, higher than 5.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.16%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 15-09-2025
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.16%

Chance of exploitation in the next 30 days

Percentile

5%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.16% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu119 products
  • linuxAll versions (No fix recorded) | < 4.15.0-204.215 | < 5.4.0-139.156 | < 5.15.0-60.66
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 4.15.0-1150.163 | < 5.4.0-1096.104 | < 5.15.0-1030.34
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 3e50a07b6a5fcd39df1534d3fdaca4292a65efe6 | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 629c986e19fe9481227c7cdfd9a105bbc104d245 | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 2b35432d324898ec41beb27031d2a1a864a4d40e | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 11993652d0b49e27272db0a37aa828d8a3a4b92b | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 568e3812b1778b4c0c229649b59977d88f400ece | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 112a005d1ded04a4b41b6d01833cc0bda90625cc | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < c828fab903725279aa9dc6ae3d44bb7e4778f92c | ≥ a88c769548047b21f76fd71e04b6a3300ff17160, < 12df140f0bdfae5dcfc81800970dd7f6f632e00c | 3f5fae4d1a3189d95b02b4b45e1218df147122bc | ≥ 4.3.6, < 4.4 | 4.4
  • 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
Debian1 product
  • linux< 6.0.6-1

3 vendors · 122 products

References

12 links
Show all 12 references