{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-36000","id":"CVE-2024-36000","title":"mm/hugetlb: fix missing hugetlb_lock for resv uncharge","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: fix missing hugetlb_lock for resv uncharge\n\nThere is a recent report on UFFDIO_COPY over hugetlb:\n\nhttps://lore.kernel.org/all/000000000000ee06de0616177560@google.com/\n\n350:\tlockdep_assert_held(&hugetlb_lock);\n\nShould be an issue in hugetlb but triggered in an userfault context, where\nit goes into the unlikely path wh","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/hugetlb: fix missing hugetlb_lock for resv uncharge\n\nThere is a recent report on UFFDIO_COPY over hugetlb:\n\nhttps://lore.kernel.org/all/000000000000ee06de0616177560@google.com/\n\n350:\tlockdep_assert_held(&hugetlb_lock);\n\nShould be an issue in hugetlb but triggered in an userfault context, where\nit goes into the unlikely path where two threads modifying the resv map\ntogether.  Mike has a fix in that path for resv uncharge but it looks like\nthe locking criteria was overlooked: hugetlb_cgroup_uncharge_folio_rsvd()\nwill update the cgroup pointer, so it requires to be called with the lock\nheld.","published":"2024-05-20T09:48:02.318Z","updated":"2026-11-17T07:02:57.038998734Z","reserved":"2024-05-17T13:50:33.149Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"79aa925bf239c234be8586780e482872dc4690dd","lessThan":"4c806333efea1000a2a9620926f560ad2e1ca7cc","status":"affected","versionType":"git"},{"version":"79aa925bf239c234be8586780e482872dc4690dd","lessThan":"f6c5d21db16a0910152ec8aa9d5a7aed72694505","status":"affected","versionType":"git"},{"version":"79aa925bf239c234be8586780e482872dc4690dd","lessThan":"538faabf31e9c53d8c870d114846fda958a0de10","status":"affected","versionType":"git"},{"version":"79aa925bf239c234be8586780e482872dc4690dd","lessThan":"b76b46902c2d0395488c8412e1116c2486cdfcb2","status":"affected","versionType":"git"},{"version":"f87004c0b2bdf0f1066b88795d8e6c1dfad6cea0","status":"affected","versionType":"git"},{"version":"5.9.7","lessThan":"5.10","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.10","status":"affected"},{"version":"0","lessThan":"5.10","status":"unaffected","versionType":"semver"},{"version":"6.1.91","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.30","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.9","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-617"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4c806333efea1000a2a9620926f560ad2e1ca7cc","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/f6c5d21db16a0910152ec8aa9d5a7aed72694505","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/538faabf31e9c53d8c870d114846fda958a0de10","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/b76b46902c2d0395488c8412e1116c2486cdfcb2","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36000.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36000","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00225,"epssPercentile":0.13272,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-36000","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36000","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-36000","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-36000","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}