5.5

CVE-2022-50285

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 4.3.6 < 4.4
LinuxLinux Kernel Version >= 4.4.1 < 4.9.332
LinuxLinux Kernel Version >= 4.10 < 4.14.298
LinuxLinux Kernel Version >= 4.15 < 4.19.264
LinuxLinux Kernel Version >= 4.20 < 5.4.223
LinuxLinux Kernel Version >= 5.5 < 5.10.153
LinuxLinux Kernel Version >= 5.11 < 5.15.76
LinuxLinux Kernel Version >= 5.16 < 6.0.6
LinuxLinux Kernel Version4.4 Update-
LinuxLinux Kernel Version4.4 Updaterc5
LinuxLinux Kernel Version4.4 Updaterc6
LinuxLinux Kernel Version4.4 Updaterc7
LinuxLinux Kernel Version4.4 Updaterc8
LinuxLinux Kernel Version6.1 Updaterc1
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.02% 0.041
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.