{"id":"CVE-2024-46838","published":"2024-09-27T12:39:33Z","modified":"2026-05-11T20:37:32Z","title":"userfaultfd: don't BUG_ON() if khugepaged yanks our page table","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nuserfaultfd: don't BUG_ON() if khugepaged yanks our page table\n\nSince khugepaged was changed to allow retracting page tables in file\nmappings without holding the mmap lock, these BUG_ON()s are wrong - get\nrid of them.\n\nWe could also remove the preceding \"if (unlikely(...))\" block, but then we\ncould reach pte_offset_map_lock() with transhuge pages not just for file\nmappings but also for anonymous mappings - which would probably be fine\nbut I think is not necessarily expected.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.003,"percentile":0.15097,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4a594acc12d5954cdc71d4450a386748bf3d136a","tags":[]},{"url":"https://git.kernel.org/stable/c/db978287e908d48b209e374b00d847b2d785e0a9","tags":[]},{"url":"https://git.kernel.org/stable/c/4828d207dc5161dc7ddf9a4f6dcfd80c7dd7d20a","tags":[]}],"priority":{"score":3.0,"factors":[{"name":"EPSS percentile","points":3.02}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1d65b771bc08cd054cf6d3766a72e113dc46d62f, < 4a594acc12d5954cdc71d4450a386748bf3d136a",">= 1d65b771bc08cd054cf6d3766a72e113dc46d62f, < db978287e908d48b209e374b00d847b2d785e0a9",">= 1d65b771bc08cd054cf6d3766a72e113dc46d62f, < 4828d207dc5161dc7ddf9a4f6dcfd80c7dd7d20a"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-29T14:03:06.286371Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42099","exploited":false,"provenance":"source"}}