CVE-2024-36000

MEDIUM

Linux Kernel 5.9.7-5.10 - Reachable Assertion in Hugetlb Lock Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: mm/hugetlb: fix missing hugetlb_lock for resv uncharge There is a recent report on UFFDIO_COPY over hugetlb: https://lore.kernel.org/all/[email protected]/ 350: lockdep_assert_held(&hugetlb_lock); Should be an issue in hugetlb but triggered in an userfault context, where it goes into the unlikely path where two threads modifying the resv map together. Mike has a fix in that path for resv uncharge but it looks like the locking criteria was overlooked: hugetlb_cgroup_uncharge_folio_rsvd() will update the cgroup pointer, so it requires to be called with the lock held.

Scores

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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-617
Status published
Products (15)
Linux/Linux < 5.10
Linux/Linux 5.10
Linux/Linux 5.9.7 - 5.10
Linux/Linux 6.1.91 - 6.1.*
Linux/Linux 6.6.30 - 6.6.*
Linux/Linux 6.8.9 - 6.8.*
Linux/Linux 6.9
Linux/Linux 79aa925bf239c234be8586780e482872dc4690dd - 4c806333efea1000a2a9620926f560ad2e1ca7cc
Linux/Linux 79aa925bf239c234be8586780e482872dc4690dd - 538faabf31e9c53d8c870d114846fda958a0de10
Linux/Linux 79aa925bf239c234be8586780e482872dc4690dd - b76b46902c2d0395488c8412e1116c2486cdfcb2
... and 5 more
Published May 20, 2024
Tracked Since Feb 18, 2026