Skip to content
High 7.0

Linux Kernelのメモリ管理に脆弱性、VMAの排他制御が破られるおそれ

CVE-2026-139786 First seen on SecPulse

Summary

Linux Kernelのメモリ管理で、mm_lock_seqのオーバーフロー時に読み取りロックの排他が効かなくなる脆弱性が見つかりました。影響を受けるのは6.4.0から6.6.163未満、6.7.0から6.12.119未満、6.13.0から6.18.65未満、7.3.0から7.3.6未満の版です。修正版は6.6.163、6.12.119、6.18.65、7.3.6なので、ディストリビューションが提供する更新を適用してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux Kernelのメモリ管理で、mm_lock_seqのオーバーフロー時に読み取りロックの排他が効かなくなる脆弱性が見つかりました。影響を受けるのは6.4.0から6.6.163未満、6.7.0から6.12.119未満、6.13.0から6.18.65未満、7.3.0から7.3.6未満の版です。修正版は6.6.163、6.12.119、6.18.65、7.3.6なので、ディストリビューションが提供する更新を適用してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.4.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.119→ 6.12.119
≥ 6.13.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 wh…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details