VYPR
Medium severity5.5NVD Advisory· Published Sep 27, 2024· Updated Jun 17, 2026

CVE-2024-46838

CVE-2024-46838

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

10
  • Linux/Kernel9 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 8 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=6.6,<6.6.51
    • cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.11:rc2:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.11:rc3:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.11:rc4:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.11:rc5:*:*:*:*:*:*
    • cpe:2.3:o:linux:linux_kernel:6.11:rc6:*:*:*:*:*:*
    • (no CPE)range: 6.6
    • (no CPE)
  • osv-coords
    Range: >= 6.6.0, < 6.6.51

Patches

Vulnerability mechanics

References

3

News mentions

0

No linked articles in our index yet.