CVE-2026-99336

high
EUVD alias: EUVD-2026-130234
Assigned by CNA: linux
Published 2026-11-19 · Modified 2026-11-22
CVSS v3
7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
—
not yet in upstream
VIR risk
7.0

Description

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 and dying files in the unbind path. Always use slot->gmem.file and take the invalidate lock when it's non-NULL. Normal unbind callers hold slots_lock, which prevents release from clearing the pointer or freeing the file state until unbind completes. Final VM teardown can only see a NULL pointer because guest_memfd pins the KVM until release has cleared all bindings.

Predictions

Exploit likelihood
69%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-99336 NameCVE-2026-99336 DescriptionIn the Linux kernel, the following vulnerability has been resolved: K ... SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus…

CVE-2026-99336

NameCVE-2026-99336
DescriptionIn the Linux kernel, the following vulnerability has been resolved: K ...
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bookworm6.1.176-1fixed
bookworm (security)6.1.192-2fixed
trixie6.12.107-1vulnerable
trixie (security)6.12.117-1vulnerable
forky7.3.4-1fixed
sid7.3.5-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebookworm(not affected)
linuxsource(unstable)7.3.3-1

Notes

[bookworm] - linux <not-affected> (Vulnerable code not present)
https://git.kernel.org/linus/0ee2c883b62deb74d8c43007e8049dc006d3a2fb (7.4-rc1)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
[bookworm] - linux <not-affected> (Vulnerable code not present)https://git.kernel.org/linus/0ee2c883b62deb74d8c43007e8049dc006d3a2fb (7.4-rc1)

OS impact

Azure Linux Affected 1 release
VersionPackageStatusFixed in
4.0 — Affected —
debian Debian Fixed 4 releases
VersionPackageStatusFixed in
trixie linux Fixed 6.12.118-1
sid linux Fixed 7.3.3-1
forky linux Fixed 7.3.3-1
bookworm linux Not affected —
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

Application impact

VendorProductVersionsFixed
linux linuxlinux{"startIncluding":"6.12.59","endExcluding":"6.12.118"}6.12.118
linux linuxlinux{"startIncluding":"6.17.9","endExcluding":"6.18"}6.18
linux linuxlinux6.18

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.