PT-2024-29137

CVE-2024-40915

·

Published

2024-05-15

·

Updated

2026-08-23

Description by

CVSS 4.0
6.8
Medium
MetricsAV: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
Related identifiers
AZL-67449
DLA-4008-1
DSA-5731-1
OESA-2024-1941
OESA-2024-1942
OESA-2024-1943
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1
USN-7100-1
USN-7100-2
USN-7123-1
USN-7144-1
USN-7194-1
Found an issue in the description? Have something to add? Feel free to write us 👾