CVE-2025-68259
KVM: SVM: Don't skip unrelated instruction if INT3/INTO is replaced
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Don't skip unrelated instruction if INT3/INTO is replaced When re-injecting a soft interrupt from an INT3, INT0, or (select) INTn instruction, discard the exception and retry the instruction if the code stream is changed (e.g. by a different vCPU) between when the CPU executes the instruction and when KVM decodes the instruction to get the next RIP. As effectively predicted by commit 6ef88d6e36c2 ("KVM: SVM: Re-inject INT3/INTO instead of retrying the instruction"), failure to verify that the correct INTn instruction was decoded can effectively clobber guest state due to decoding the wrong instruction and thus specifying the wrong next RIP. The bug most often manifests as "Oops: int3" panics on static branch checks in Linux guests. Enabling or disabling a static branch in Linux uses the kernel's "text poke" code patching mechanism. To modify code while other CPUs may be executing that code, Linux (temporarily) replaces the first byte of the original instruction with an int3 (opcode 0xcc), then patches in the new code stream except for the first byte, and finally replaces the int3 with the first byte of the new code stream. If a CPU hits the int3, i.e. executes the code while it's being modified, then the guest kernel must look up the RIP to determine how to handle the #BP, e.g. by emulating the new instruction. If the RIP is incorrect, then this lookup fails and the guest kernel panics. The bug reproduces almost instantly by hacking the guest kernel to repeatedly check a static branch[1] while running a drgn script[2] on the host to constantly swap out the memory containing the guest's TSS. [1]: https://gist.github.com/osandov/44d17c51c28c0ac998ea0334edf90b5a [2]: https://gist.github.com/osandov/10e45e45afa29b11e0c7209247afc00b
INFO
Published Date :
Dec. 16, 2025, 3:15 p.m.
Last Modified :
Oct. 14, 2026, 1:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Apply the latest Linux kernel updates.
- Ensure KVM SVM module is updated.
- Test system stability after patching.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-68259.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-68259 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-68259
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-68259 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-68259 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: KVM: SVM: No omitir instrucción no relacionada si INT3/INTO es reemplazado Al reinyectar una interrupción suave de una instrucción INT3, INT0 o (selecta) INTn, descartar la excepción y reintentar la instrucción si el flujo de código es cambiado (p. ej., por una vCPU diferente) entre cuando la CPU ejecuta la instrucción y cuando KVM decodifica la instrucción para obtener el siguiente RIP. Como fue efectivamente predicho por el commit 6ef88d6e36c2 ('KVM: SVM: Reinyectar INT3/INTO en lugar de reintentar la instrucción'), la falla al verificar que la instrucción INTn correcta fue decodificada puede efectivamente corromper el estado del invitado debido a la decodificación de la instrucción incorrecta y por lo tanto especificando el RIP siguiente incorrecto. El error se manifiesta con mayor frecuencia como pánicos de 'Oops: int3' en las comprobaciones de ramas estáticas en invitados Linux. Habilitar o deshabilitar una rama estática en Linux utiliza el mecanismo de parcheo de código 'text poke' del kernel. Para modificar código mientras otras CPUs pueden estar ejecutando ese código, Linux (temporalmente) reemplaza el primer byte de la instrucción original con un int3 (opcode 0xcc), luego parchea el nuevo flujo de código excepto el primer byte, y finalmente reemplaza el int3 con el primer byte del nuevo flujo de código. Si una CPU encuentra el int3, es decir, ejecuta el código mientras está siendo modificado, entonces el kernel invitado debe buscar el RIP para determinar cómo manejar el #BP, p. ej., emulando la nueva instrucción. Si el RIP es incorrecto, entonces esta búsqueda falla y el kernel invitado entra en pánico. El error se reproduce casi instantáneamente al hackear el kernel invitado para verificar repetidamente una rama estática[1] mientras se ejecuta un script drgn[2] en el host para intercambiar constantemente la memoria que contiene el TSS del invitado. [1]: https://gist.github.com/osandov/44d17c51c28c0ac998ea0334edf90b5a [2]: https://gist.github.com/osandov/10e45e45afa29b11e0c7209247afc00b -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '2e84a018c2895c05abe213eb10db128aa45f6ec6', 'versionType': 'git'}, {'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '152289a51107ef45bbfe9b4aeeaa584a503042b5', 'versionType': 'git'}, {'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '87cc1622c88a4888959d64fa1fc9ba1e264aa3d4', 'versionType': 'git'}, {'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '54bcccc2c7805a00af1d7d2faffd6f424c0133aa', 'versionType': 'git'}, {'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '53903ac9ca1abffa27327e85075ec496fa55ccf3', 'versionType': 'git'}, {'status': 'affected', 'version': '6ef88d6e36c2b4b3886ec9967cafabe4424d27d5', 'lessThan': '4da3768e1820cf15cced390242d8789aed34f54d', 'versionType': 'git'}], 'programFiles': ['arch/x86/include/asm/kvm_host.h', 'arch/x86/kvm/svm/svm.c', 'arch/x86/kvm/x86.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.160', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.120', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.62', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.17.12', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18.1', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['arch/x86/include/asm/kvm_host.h', 'arch/x86/kvm/svm/svm.c', 'arch/x86/kvm/x86.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jan. 11, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/152289a51107ef45bbfe9b4aeeaa584a503042b5 Added Reference https://git.kernel.org/stable/c/2e84a018c2895c05abe213eb10db128aa45f6ec6 -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 16, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: KVM: SVM: Don't skip unrelated instruction if INT3/INTO is replaced When re-injecting a soft interrupt from an INT3, INT0, or (select) INTn instruction, discard the exception and retry the instruction if the code stream is changed (e.g. by a different vCPU) between when the CPU executes the instruction and when KVM decodes the instruction to get the next RIP. As effectively predicted by commit 6ef88d6e36c2 ("KVM: SVM: Re-inject INT3/INTO instead of retrying the instruction"), failure to verify that the correct INTn instruction was decoded can effectively clobber guest state due to decoding the wrong instruction and thus specifying the wrong next RIP. The bug most often manifests as "Oops: int3" panics on static branch checks in Linux guests. Enabling or disabling a static branch in Linux uses the kernel's "text poke" code patching mechanism. To modify code while other CPUs may be executing that code, Linux (temporarily) replaces the first byte of the original instruction with an int3 (opcode 0xcc), then patches in the new code stream except for the first byte, and finally replaces the int3 with the first byte of the new code stream. If a CPU hits the int3, i.e. executes the code while it's being modified, then the guest kernel must look up the RIP to determine how to handle the #BP, e.g. by emulating the new instruction. If the RIP is incorrect, then this lookup fails and the guest kernel panics. The bug reproduces almost instantly by hacking the guest kernel to repeatedly check a static branch[1] while running a drgn script[2] on the host to constantly swap out the memory containing the guest's TSS. [1]: https://gist.github.com/osandov/44d17c51c28c0ac998ea0334edf90b5a [2]: https://gist.github.com/osandov/10e45e45afa29b11e0c7209247afc00b Added Reference https://git.kernel.org/stable/c/4da3768e1820cf15cced390242d8789aed34f54d Added Reference https://git.kernel.org/stable/c/53903ac9ca1abffa27327e85075ec496fa55ccf3 Added Reference https://git.kernel.org/stable/c/54bcccc2c7805a00af1d7d2faffd6f424c0133aa Added Reference https://git.kernel.org/stable/c/87cc1622c88a4888959d64fa1fc9ba1e264aa3d4