PT-2024-29137
CVE-2024-40915
·
Published
2024-05-15
·
Updated
2026-08-23
Description by
CVSS 4.0
6.8
MediumMetricsAV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
Linux kernel versions prior to 6.9.0
Description
The issue is related to the
kernel map pages() function, which is a debug function that clears the valid bit in page table entries for deallocated pages to detect illegal memory accesses to freed pages. This function uses set memory() to set or clear the valid bit, and set memory() acquires init mm's semaphore, which may sleep. However, kernel map pages() can be called in atomic context, making it illegal to sleep. An example warning is provided, showing a BUG message indicating a sleeping function called from an invalid context.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾