Skip to content
Medium 7.0

Linux kernelのメモリ管理で脆弱性、フラグ喪失により保護領域が失われるおそれ

CVE-2026-139785 First seen on SecPulse

Summary

Linux kernelのメモリ管理(mm/vma)に脆弱性が見つかりました。VMAのフラグ更新がマージ時に失われ、fork時にガードリージョンのマーカーが引き継がれないなどの影響が起きるおそれがあります。影響を受けるのは6.18.37以降6.18.65未満と、6.19.0以降7.3.6未満のバージョンです。修正版は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/vma)に脆弱性が見つかりました。VMAのフラグ更新がマージ時に失われ、fork時にガードリージョンのマーカーが引き継がれないなどの影響が起きるおそれがあります。影響を受けるのは6.18.37以降6.18.65未満と、6.19.0以降7.3.6未満のバージョンです。修正版は6.18.65と7.3.6で、利用中のディストリビューションの更新情報も確認してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.18.37, < 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 losing atomic VMA flags when setting sticky VMA flags

vma_merge_existing_range() merges an existing VMA (middle) when its
attributes have changed to match those of one or both adjacent VMAs.

Sticky flags are propagated if they are set in any of the merged VMAs. They
are initialised from vmg->vma_flags, which is assumed to contain middle's
sticky flags when the function is invoked.

However, the VMA write lock is not held for middle when they are first
populated, so concurrent updates to atomic VMA flags may occur, which will
be lost upon merge.

This can result in fork failing to propagate guard region markers and (if
file-backed) THP collapse discarding them.

Resolve this by propagating the sticky flags after middle is locked.

Make life easier by factoring this into propagate_sticky_flags(), which
treats vmg->vma_flags as its base (in case any sticky flags are set there),
updating it as sticky flags are accumulated from merged VMAs.

Also update vma_expand() to use propagate_sticky_flags() so all merge paths
utilise it.

propagate_sticky_flags() also asserts that the VMA write lock is held for
the VMA whose sticky flags are being read, with a comment explaining why.

Another means by which atomic VMA flags can fail to be observed is when the
merge is finalised in commit_merge().

rmap locks are dropped in vma_complete() before the sticky flags are
written, meaning an rmap walker can observ…

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