{"id":"CVE-2022-50285","published":"2025-09-15T14:21:21Z","modified":"2026-11-05T20:10:33Z","title":"mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages\n\nThe h->*_huge_pages counters are protected by the hugetlb_lock, but\nalloc_huge_page has a corner case where it can decrement the counter\noutside of the lock.\n\nThis could lead to a corrupted value of h->resv_huge_pages, which we have\nobserved on our systems.\n\nTake the hugetlb_lock before decrementing h->resv_huge_pages to avoid a\npotential race.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00166,"percentile":0.05997,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/3e50a07b6a5fcd39df1534d3fdaca4292a65efe6","tags":[]},{"url":"https://git.kernel.org/stable/c/629c986e19fe9481227c7cdfd9a105bbc104d245","tags":[]},{"url":"https://git.kernel.org/stable/c/2b35432d324898ec41beb27031d2a1a864a4d40e","tags":[]},{"url":"https://git.kernel.org/stable/c/11993652d0b49e27272db0a37aa828d8a3a4b92b","tags":[]},{"url":"https://git.kernel.org/stable/c/568e3812b1778b4c0c229649b59977d88f400ece","tags":[]},{"url":"https://git.kernel.org/stable/c/112a005d1ded04a4b41b6d01833cc0bda90625cc","tags":[]},{"url":"https://git.kernel.org/stable/c/c828fab903725279aa9dc6ae3d44bb7e4778f92c","tags":[]},{"url":"https://git.kernel.org/stable/c/12df140f0bdfae5dcfc81800970dd7f6f632e00c","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.2}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a88c769548047b21f76fd71e04b6a3300ff17160, < 3e50a07b6a5fcd39df1534d3fdaca4292a65efe6",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 629c986e19fe9481227c7cdfd9a105bbc104d245",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 2b35432d324898ec41beb27031d2a1a864a4d40e",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 11993652d0b49e27272db0a37aa828d8a3a4b92b",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 568e3812b1778b4c0c229649b59977d88f400ece",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 112a005d1ded04a4b41b6d01833cc0bda90625cc",">= a88c769548047b21f76fd71e04b6a3300ff17160, < c828fab903725279aa9dc6ae3d44bb7e4778f92c",">= a88c769548047b21f76fd71e04b6a3300ff17160, < 12df140f0bdfae5dcfc81800970dd7f6f632e00c","3f5fae4d1a3189d95b02b4b45e1218df147122bc",">= 4.3.6, < 4.4"]},{"vendor":"Linux","product":"Linux","versions":["4.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T20:08:59.508628Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-55570","exploited":false,"provenance":"source"}}