CVE-2024-46838
userfaultfd: don't BUG_ON() if khugepaged yanks our page table
Reported by linux · Published September 27, 2024
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: don't BUG_ON() if khugepaged yanks our page table Since khugepaged was changed to allow retracting page tables in file mappings without holding the mmap lock, these BUG_ON()s are wrong - get rid of them. We could also remove the preceding "if (unlikely(...))" block, but then we could reach pte_offset_map_lock() with transhuge pages not just for file mappings but also for anonymous mappings - which would probably be fine but I think is not necessarily expected.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1d65b771bc08cd054cf6d3766a72e113dc46d62f, 1d65b771bc08cd054cf6d3766a72e113dc46d62f, 1d65b771bc08cd054cf6d3766a72e113dc46d62f |
| Linux | Linux | 6.6, 0, 6.6.51 |
| Linux | Linux | 6.6.51, 0, 6.10.10 |
| linux | linux_kernel | 6.6, 6.6, 6.6 |
Timeline
- Sep 27, 2024 CVE Published
- Sep 28, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (15 in total, the first dated here)
- Jan 4, 2026 Security Advisory (143 in total, the first dated here)
- Jan 4, 2026 CVE Updated
- May 28, 2026 Distribution Patch (123 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-46838
vulnetix vdb fixes CVE-2024-46838
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46838/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart