PT-2024-28512 · Linux+7 · Linux Kernel+7
Karol Wachowski
·
Published
2024-05-20
·
Updated
2025-09-29
·
CVE-2024-39497
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A lack of check for copy-on-write (COW) mapping in
drm gem shmem mmap allows users to call mmap with PROT WRITE and MAP PRIVATE flag, causing a kernel panic due to BUG ON in vmf insert pfn prot. The issue can be reproduced by calling mmap with specific parameters, such as void *ptr = mmap(0, size, PROT WRITE, MAP PRIVATE, fd, mmap offset);. This bug affects all drm drivers using default shmem helpers.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Assertion Failure
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu