CVE-2024-46838

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46838
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46838.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-46838
Downstream
Published
2024-09-27T13:15:15Z
Modified
2024-10-09T15:35:40Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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 pteoffsetmap_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.

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.10.11-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}