NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-39497
Summary

In the Linux kernel, the following vulnerability has been resolved:

drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

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:
BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags));

Return -EINVAL early if COW mapping is detected.

This bug affects all drm drivers using default shmem helpers.
It can be reproduced by this simple example:
void *ptr = mmap(0, size, PROT_WRITE, MAP_PRIVATE, fd, mmap_offset);
ptr[0] = 0;

Publication Date July 12, 2024, 10:15 p.m.
Registration Date July 13, 2024, 10:01 a.m.
Last Update Nov. 21, 2024, 6:27 p.m.
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Linux の Linux Kernel における到達可能なアサーションに関する脆弱性
Title Linux の Linux Kernel における到達可能なアサーションに関する脆弱性
Summary

Linux の Linux Kernel には、到達可能なアサーションに関する脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。 
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date May 21, 2024, midnight
Registration Date Sept. 24, 2025, 2:17 p.m.
Last Update Sept. 24, 2025, 2:17 p.m.
Affected System
Linux
Linux Kernel 5.11 以上 5.15.169 未満
Linux Kernel 5.16 以上 6.1.114 未満
Linux Kernel 5.2 以上 5.10.229 未満
Linux Kernel 6.10
Linux Kernel 6.2 以上 6.6.35 未満
Linux Kernel 6.7 以上 6.9.6 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2025年09月24日]
  掲載
Sept. 24, 2025, 2:17 p.m.