CVE-2026-43265
JSON

5.5medium

KVM: x86: Ignore -EBUSY when checking nested events from vcpu_block()

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Ignore -EBUSY when checking nested events from vcpu_block() Ignore -EBUSY when checking nested events after exiting a blocking state while L2 is active, as exiting to userspace will generate a spurious userspace exit, usually with KVM_EXIT_UNKNOWN, and likely lead to the VM's demise. Continuing with the wakeup isn't perfect either, as *something* has gone sideways if a vCPU is awakened in L2 with an injected event (or worse, a nested run pending), but continuing on gives the VM a decent chance of surviving without any major side effects. As explained in the Fixes commits, it _should_ be impossible for a vCPU to be put into a blocking state with an already-injected event (exception, IRQ, or NMI). Unfortunately, userspace can stuff MP_STATE and/or injected events, and thus put the vCPU into what should be an impossible state. Don't bother trying to preserve the WARN, e.g. with an anti-syzkaller Kconfig, as WARNs can (hopefully) be added in paths where _KVM_ would be violating x86 architecture, e.g. by WARNing if KVM attempts to inject an exception or interrupt while the vCPU isn't running.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 26844fee6adee9b1557d2279b0506285de9ee82b before 78265cd066d73a5cb41c088fcae4a2515e480d97, from 26844fee6adee9b1557d2279b0506285de9ee82b before ec3be7dc9391085a2d96700e159d66d1328b7ff6, from 26844fee6adee9b1557d2279b0506285de9ee82b before 2657439265d34a911886b916ba8be97ecc117d51, from 26844fee6adee9b1557d2279b0506285de9ee82b before 1e88b5f854bdb469424132e0bb44793ad7a7c20a, from 26844fee6adee9b1557d2279b0506285de9ee82b before 1c957773063ed3264953597e32990a748381caf6, from 26844fee6adee9b1557d2279b0506285de9ee82b before ead63640d4e72e6f6d464f4e31f7fecb79af8869, 6.1
Not affected: before 6.1, from 6.1.167 up to 6.1.*, from 6.6.130 up to 6.6.*, from 6.12.77 up to 6.12.*, from 6.18.17 up to 6.18.*, from 6.19.6 up to 6.19.*
CVE List
linux linux_kernelfrom 6.1 before 6.1.167, from 6.2 before 6.6.130, from 6.7 before 6.12.77, from 6.13 before 6.18.17, from 6.19 before 6.19.6NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: KVM: x86: Ignore -EBUSY when checking nested events from vcpu_block() Ignore -EBUSY when checking nested events after exiting a blocking state while L2 is active, as exiting to userspace will generate a spurious userspace exit, usually with KVM_EXIT_UNKNOWN, and likely lead to the VM's demise. Continuing with the wakeup isn't perfect either, as *something* has gone sideways if a vCPU is awakened in L2 with an injected event (or worse, a nested run pending), but continuing on gives the VM a decent chance of surviving without any major side effects. As explained in the Fixes commits, it _should_ be impossible for a vCPU to be put into a blocking state with an already-injected event (exception, IRQ, or NMI). Unfortunately, userspace can stuff MP_STATE and/or injected events, and thus put the vCPU into what should be an impossible state. Don't bother trying to preserve the WARN, e.g. with an anti-syzkaller Kconfig, as WARNs can (hopefully) be added in paths where _KVM_ would be violating x86 architecture, e.g. by WARNing if KVM attempts to inject an exception or interrupt while the vCPU isn't running.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: KVM: x86: Ignorar -EBUSY al verificar eventos anidados desde vcpu_block() Ignorar -EBUSY al verificar eventos anidados después de salir de un estado de bloqueo mientras L2 está activo, ya que salir al espacio de usuario generará una salida espuria del espacio de usuario, usualmente con KVM_EXIT_UNKNOWN, y probablemente llevará a la desaparición de la VM. Continuar con la activación tampoco es perfecto, ya que algo ha salido mal si una vCPU es despertada en L2 con un evento inyectado (o peor, una ejecución anidada pendiente), pero continuar le da a la VM una buena oportunidad de sobrevivir sin efectos secundarios importantes. Como se explica en los commits de Fixes, _debería_ ser imposible que una vCPU sea puesta en un estado de bloqueo con un evento ya inyectado (excepción, IRQ o NMI). Desafortunadamente, el espacio de usuario puede introducir MP_STATE y/o eventos inyectados, y así poner la vCPU en lo que debería ser un estado imposible. No te molestes en intentar preservar el WARN, p. ej., con un Kconfig anti-syzkaller, ya que los WARN pueden (con suerte) ser añadidos en rutas donde _KVM_ estaría violando la arquitectura x86, p. ej., advirtiendo si KVM intenta inyectar una excepción o interrupción mientras la vCPU no está en ejecución.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43265 changed 2026-11-06CVE Terms of Use
NVDCVE-2026-43265 changed 2026-11-11Public domain