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

VectorAV: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 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
BDU:2025-03440
CVE-2024-39497
DLA-4008-1
DLA-4075-1
INFSA-2024_9315
OESA-2024-1961
OESA-2024-1962
OESA-2024-1964
OESA-2025-1078
OPENSUSE-SU-2024_2947-1
RHSA-2024:9315
RHSA-2024_9315
SUSE-SU-2024:2894-1
SUSE-SU-2024:2939-1
SUSE-SU-2024:2947-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3383-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-6999-1
USN-6999-2
USN-7004-1
USN-7005-1
USN-7005-2
USN-7008-1
USN-7029-1
USN-7288-1
USN-7288-2
USN-7289-1
USN-7289-2
USN-7289-3
USN-7289-4
USN-7291-1
USN-7305-1
USN-7308-1
USN-7331-1
USN-7388-1
USN-7389-1
USN-7390-1
USN-7458-1

Affected Products

Astra Linux
Debian
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu