cve-ja
← 新着
CVE

解放済みのメモリを使われ、カーネルが不安定になるおそれ。

shmem の解放済みメモリの使用。対象は Linux kernel(6.18.65 未満・7.3.6 未満・7.4-rc2 未満)。

CVE-2026-139799参考情報

一言・影響を受ける人・対策は AI(sonnet)が元の説明文から作成。版の番号などは元の文と機械で照合した。対応の前に元の告知を確かめてほしい。誤りに気づいたら運営者へ。

CVSS
7.0
High
CNA
悪用
未確認
CISA の一覧には無い
PoC
見つかっていない
12/6 時点
修正
修正版あり
6.18.65・7.3.6・7.4-rc2 以降
国内
まだ無い
同じ CVE 番号の記事を待っている
まずやること:Linux カーネルを 6.18.65・7.3.6 以降に更新する
公開
2026年11月30日
最終更新
2026年11月30日
優先度の理由
特定構成のみ
最終確認
2026年12月5日
EPSS
0.23%
PoC
見つかっていない
攻撃の条件
手元の操作・一般のログインが要る・相手の操作は要らない・既定でない設定のとき
国内
まだ無い

概要

解放済みのメモリを使われ、カーネルが不安定になるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: mm/shmem: hold off eviction in shmem_writeout() Once shmem_writeout() has moved the folio from the page cache to the swap cache, the folio lock no longer keeps the inode alive: truncation and eviction find a swap entry, free it and do not wait for anybody. That did not matter as long as swap_writeout() was the last thing the function did. But since it puts the folio back when swap_writeout() returns AOP_WRITEPAGE_ACTIVATE, it uses the mapping and the inode afterwards: reclaim last close of an unlinked file shmem_writeout() shmem_delete_from_page_cache() swap_writeout() zswap_store() fails shmem_evict_inode() writeback is disabled shmem_truncate_range() return AOP_WRITEPAGE_ACTIVATE shmem_free_swap() destroy_inode() ... RCU grace period, freed shmem_add_to_page_cache(mapping) xas_lock_irq() <- use after free swap_writeout() behaves that way if zswap is enabled, cannot take the folio and the memcg or one of its ancestors has memory.zswap.writeback set to 0. shmem_unuse() already added infrastructure to deal with that. Reuse info->stop_eviction to protect the inode during writeout. Increment it before removing the folio from the page cache, and decrement it after swap_writeout() and any attempted reinsertion and inode accounting. In shmem_evict_inode(), wait for the counter to reach zero even if swapoff has already removed the inode from the swap list. Add some helpers to make the code easier to digest. There is a known remaining issue with two swapoffs racing, and the empty list check not being able to detect that race. That will be addressed separately later. Fix generated by an LLM and sent by Josef Bacik in private. [ david: code cleanups; improve description ]

影響を受ける人

zswap を使う Linux の管理者

対策

  • Linux カーネルを 6.18.65・7.3.6 以降に更新する

国内の動き

本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。

海外の動き

本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。

PoC

公開されている PoC は、まだ見つかっていない。

経過

2026年11月30日・一次情報
脆弱性が公開された

影響する版

Linux Linux範囲は告知を確認
Linux Linux6.18.65 未満が対象(6.18.65 で修正)・7.3.6 未満が対象(7.3.6 で修正)・7.4-rc2 未満が対象(7.4-rc2 で修正)