CVE-2024-39497: Linux kernel · drm/shmem-helper: Fix BUG_ON() on mmap
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 02:36 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel to return an error early when a copy-on-write mapping is detected, preventing the kernel panic. Users should apply the official kernel updates that include this fix. No additional mitigations are specified or required beyond applying the patch.
Description
A vulnerability in the Linux kernel's drm/shmem-helper subsystem allows a local user with write permissions to a file descriptor to trigger a kernel panic. This occurs due to a missing check for copy-on-write (COW) mappings in drm_gem_shmem_mmap, which leads to a BUG_ON condition when mmap is called with PROT_WRITE and MAP_PRIVATE flags. The issue affects all DRM drivers using the default shmem helpers.
References
- nvd.nist.gov/vuln/detail/CVE-2024-39497 (opens in a new tab)
- git.kernel.org/stable/c/03c71c42809ef4b17f5d874cdb2d3bf40e847b86 (opens in a new tab)
- git.kernel.org/stable/c/1b4a8b89bf6787090b56424d269bf84ba00c3263 (opens in a new tab)
- git.kernel.org/stable/c/2219e5f97244b79c276751a1167615b9714db1b0 (opens in a new tab)
- git.kernel.org/stable/c/39bc27bd688066a63e56f7f64ad34fae03fbe3b8 (opens in a new tab)
- git.kernel.org/stable/c/3ae63a8c1685e16958560ec08d30defdc5b9cca0 (opens in a new tab)
- git.kernel.org/stable/c/a508a102edf8735adc9bb73d37dd13c38d1a1b10 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)