cve-ja
← 新着
CVE

排他制御が破れ、メモリ破壊や NULL 参照が起きるおそれ。

メモリ領域ロックの競合状態。対象は Linux kernel(6.6.163 未満・6.12.119 未満・6.18.65 未満・7.3.6 未満・7.4-rc1 未満)。

CVE-2026-139786参考情報

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

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

概要

排他制御が破れ、メモリ破壊や NULL 参照が起きるおそれ。

元の説明(英語)を読む

In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid spurious write locks when mm->mm_lock_seq overflows So far the assumption has been that mm->mm_lock_seq overflow is benign, resulting only in readers spuriously falling back to the mmap lock, however it turns out that this was an unsafe assumption. If a VMA can be spuriously considered write locked that means read lock exclusion does not take place, and thus a VMA can end up write-locked with concurrent readers. Since overflow only occurs every 2^31 write lock/unlock cycles, resolve the issue by resetting every VMA's vma->vm_lock_seq each time such an overflow occurs. This is done in vma_end_write_all(), which is called when the mmap write lock is released, i.e. in mmap_write_unlock() and mmap_write_downgrade(). Care must be taken, as resetting the sequence count at overflow means changing the seqcount of VMAs which are already attached and observable. The mm's seqcount is guaranteed to be odd when a write lock is held, and thus any write locked VMA will have an odd seqcount assigned. Therefore resetting to an even value prevents spurious write locks, since these can only occur with the mmap write lock held, at which point the mmap seqcount will be odd. However, vma_start_read() also checks vma->vm_lock_seq == mm->mm_lock_seq, bailing if so (indicating a write lock). This would cause any even reset value chosen to prevent VMA read locks from being taken - avoid this by also checking whether the VMA seqcount is odd before bailing on the read lock. So far, vma->vm_lock_seq has defaulted to UINT_MAX, but this has been unnecessary since commit e5e7fb278e59 ("mm: convert mm_lock_seq to a proper seqcount"), since this is assigned when the VMA is still detached, and cannot be observed. Therefore perform both reset and initialisation of vma->vm_lock_seq by simply setting vma->vm_lock_seq to zero. The reset, performed in __mm_reset_vma_seqcounts(), only needs to WRITE_ONCE() the value. However the read of vma->vm_lock_seq in vma_start_read() needs to have acquire semantics to pair with the smp_wmb() in do_raw_write_seqcount_end() so a reader reading a reset value also observes VMA modifications made under the write lock. Since all VMA write locks were just released and the mmap write lock is still held, there are no concurrent VMA writers. Concurrent VMA readers are unaffected. New VMA readers observe either zero, never a write lock, or the prior seqcount, behaving as before the reset. Since this only occurs every 2^31 write lock/unlock cycles, the time taken to update all VMAs is considered to be acceptable. Also update comments, documentation and VMA userland tests to reflect the change. User facing effects are - dangerous races that could cause memory corruption or NULL pointer derefences (especially on page table traversal) are avoided.

影響を受ける人

Linux カーネルの管理者

対策

  • Linux カーネルを 6.6.163・6.12.119・6.18.65・7.3.6 のうち使用中の系列の版以降に更新する

国内の動き

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

海外の動き

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

PoC

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

経過

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

影響する版

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