CVE-2024-46838: userfaultfd: don't BUG_ON() if khugepaged yanks our page table

Published Sep 27, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

userfaultfd: don't BUGON() if khugepaged yanks our page table

Since khugepaged was changed to allow retracting page tables in file mappings without holding the mmap lock, these BUGON()s are wrong - get rid of them.

We could also remove the preceding "if (unlikely(...))" block, but then we could reach pteoffsetmaplock() 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.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=6.6<6.6.51
Linux Linux kernel>=6.7<6.10.10
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
Linux Linux kernel=6.11-rc6
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1
Microsoft azl3 kernel 6.6.47.1-1
Microsoft azl3 kernel 6.6.51.1-5

Event History

Sep 27, 2024
CVE Published
via MITRE·12:39 PM
Data Sourced
via MITRE·12:39 PM
Description
Oct 16, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 12, 2024
Data Sourced
via Launchpad·06:26 PM
Description
Jan 13, 2025
Data Sourced
via Ubuntu·06:33 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46838?

CVE-2024-46838 has been classified as having moderate severity due to its implications for system stability.

2

How do I fix CVE-2024-46838?

To fix CVE-2024-46838, update the Linux kernel to versions 5.10.223-1, 5.10.226-1, 6.1.119-1, 6.1.123-1, 6.12.10-1, or 6.12.11-1.

3

What versions of the Linux kernel are affected by CVE-2024-46838?

CVE-2024-46838 affects Linux kernel versions between 6.7 and 6.10.10, as well as specific release candidates of 6.11.

4

Is CVE-2024-46838 exploitable remotely?

CVE-2024-46838 is not classified as remotely exploitable, as it primarily affects local system operations.

5

Does CVE-2024-46838 impact security features in the Linux kernel?

CVE-2024-46838 primarily affects system stability rather than directly impacting security features.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203