Skip to content
High 7.0

Linux Kernelのguest_memfd処理に脆弱性、ゲストが応答しなくなるおそれ

CVE-2026-99336 First seen on SecPulse

Summary

Linux KernelのKVMにあるguest_memfdの処理で、ファイルの解放中にバインディングを削除する際の競合状態により、ゲストのページフォルトが永久に再試行されるおそれがあります。影響するのは6.12.59以降6.12.118未満、6.17.9以降6.18未満、6.18.0以降6.18.64未満、6.19.0以降7.3.2未満の版で、修正版は6.12.118、6.18、6.18.64、7.3.2です。修正版への更新が必要です。

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のKVMにあるguest_memfdの処理で、ファイルの解放中にバインディングを削除する際の競合状態により、ゲストのページフォルトが永久に再試行されるおそれがあります。影響するのは6.12.59以降6.12.118未満、6.17.9以降6.18未満、6.18.0以降6.18.64未満、6.19.0以降7.3.2未満の版で、修正版は6.12.118、6.18、6.18.64、7.3.2です。修正版への更新が必要です。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.12.59, < 6.12.118→ 6.12.118
≥ 6.17.9, < 6.18→ 6.18
≥ 6.18.0, < 6.18.64→ 6.18.64
≥ 6.19.0, < 7.3.2→ 7.3.2

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:

KVM: guest_memfd: take the invalidate lock when unbinding a dying file

kvm_gmem_unbind() takes mapping->invalidate_lock only if the
get_file_active() succeeds. When the guest_memfd file is dying, its
reference count is already zero so get_file_active fails and the binding
is removed without holding the invalidate lock.

kvm_gmem_invalidate_{start,end}() checks f->bindings independently to
decide whether to begin or end KVM MMU invalidation. So, the bindings
must therefore remain stable between the two calls. Otherwise, unbind
can remove a binding after start increments mmu_invalidate_in_progress,
but before end finds the binding and decrements it.
Example, unbind race with memory failure:

CPU 0: memory failure CPU 1: memslot delete


                                  (guest_memfd file is dying)

kvm_gmem_error_folio()
kvm_gmem_invalidate_start()
finds binding
mmu_invalidate_in_progress++
kvm_gmem_unbind()
get_file_active() fails
removes binding
kvm_gmem_invalidate_end()
no binding found
counter stays elevated

mmu_invalidate_retry() then returns 1 forever, so guest page faults
retry without ever installing a mapping and the guest hangs.

Remove the distinction between live an…

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