CVE-2024-39497
概要

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;

公表日 2024年7月12日22:15
登録日 2024年7月13日10:01
最終更新日 2024年11月21日18:27
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Linux の Linux Kernel における到達可能なアサーションに関する脆弱性
タイトル Linux の Linux Kernel における到達可能なアサーションに関する脆弱性
概要

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

想定される影響 サービス運用妨害 (DoS) 状態にされる可能性があります。 
対策

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

公表日 2024年5月21日0:00
登録日 2025年9月24日14:17
最終更新日 2025年9月24日14:17
影響を受けるシステム
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 (共通脆弱性タイプ一覧)
ベンダー情報
変更履歴
No 変更内容 変更日
1 [2025年09月24日]
  掲載
2025年9月24日14:17