CVE-2022-50285

MEDIUM

Linux Kernel 4.3.6-4.3.9 - Race Condition in HugeTLB Page Reservation Counter

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (30)
linux/Kernel 4.10.0 - 4.14.298linux
linux/Kernel 4.15.0 - 4.19.264linux
linux/Kernel 4.20.0 - 5.4.223linux
linux/Kernel 4.4.0 - 4.9.332linux
linux/Kernel 5.11.0 - 5.15.76linux
linux/Kernel 5.16.0 - 6.0.6linux
linux/Kernel 5.5.0 - 5.10.153linux
Linux/Linux < 4.4
Linux/Linux 3f5fae4d1a3189d95b02b4b45e1218df147122bc
Linux/Linux 4.14.298 - 4.14.*
... and 20 more
Published Sep 15, 2025
Tracked Since Feb 18, 2026