{"id":"CVE-2026-74607","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-08-22T16:16:33.183","lastModified":"2026-10-16T20:17:45.763","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: SVM: Serialize accesses to the owner and mirror list with separate lock\n\nInteraction between KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM and\nKVM_CAP_VM_COPY_ENC_CONTEXT_FROM can cause two separate issues:\n\n- in sev_migrate_from(), when the destination KVM is a mirror, the mirror\n  entry is moved from the source's list to the owner's mirror_vms list,\n  without holding the owner's lock unlike other writers of the owner's\n  mirror list (sev_vm_copy_enc_context_from(), sev_vm_destroy()).\n  A concurrent COPY or destroy can race with sev_migrate_from() and\n  corrupt the list.\n\n- In sev_vm_destroy(), the *owner* is still active and could receive\n  concurrently a KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM that causes\n  sev->enc_context_owner to change.  In this case the incorrect VM\n  receives kvm_put_kvm().\n\nThe second issue needs particular care because the owner could disappear\naltogether (even though the race window is impossibly small) between\nreading it and locking it.  There is thus no way to perform the checks\nunder the owner lock without putting struct kvm under SLAB_TYPESAFE_BY_RCU\n(which would allow kvm_get_kvm_safe() under RCU critical section).\n\nIt is much simpler to just use a global lock, since the critical\nsections are so small and the new lock is always a leaf lock."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nKVM: SVM: Serializar los accesos a la lista de propietario y espejo con un bloqueo separado\n\nLa interacción entre KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM y KVM_CAP_VM_COPY_ENC_CONTEXT_FROM puede causar dos problemas separados:\n\n- en sev_migrate_from(), cuando el KVM de destino es un espejo, la entrada del espejo se mueve de la lista de la fuente a la lista mirror_vms del propietario, sin mantener el bloqueo del propietario a diferencia de otros escritores de la lista de espejos del propietario (sev_vm_copy_enc_context_from(), sev_vm_destroy()). Una operación COPY o destroy concurrente puede competir con sev_migrate_from() y corromper la lista.\n\n- En sev_vm_destroy(), el propietario sigue activo y podría recibir concurrentemente un KVM_CAP_VM_MOVE_ENC_CONTEXT_FROM que hace que sev -> enc_context_owner cambie. En este caso la VM incorrecta recibe kvm_put_kvm().\n\nEl segundo problema requiere especial atención porque el propietario podría desaparecer por completo (aunque la ventana de competición es increíblemente pequeña) entre leerlo y bloquearlo. No hay, por lo tanto, manera de realizar las comprobaciones bajo el bloqueo del propietario sin poner la estructura kvm bajo SLAB_TYPESAFE_BY_RCU (lo que permitiría kvm_get_kvm_safe() bajo la sección crítica de RCU).\n\nEs mucho más simple simplemente usar un bloqueo global, ya que las secciones críticas son tan pequeñas y el nuevo bloqueo es siempre un bloqueo hoja."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["arch/x86/kvm/svm/sev.c","arch/x86/kvm/svm/svm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"7943ec3a6d0e7e0a2eb4943300bce089ac3e8c3e","versionType":"git","status":"affected"},{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"28afde1edbd8b20058cbf4d75fb57876471ec334","versionType":"git","status":"affected"},{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"328ab4fabe05af004d886659f8744076e320ddce","versionType":"git","status":"affected"},{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"47976eaaf0a4eb46dade48b3246779090db9e3ec","versionType":"git","status":"affected"},{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"d728baba0f20e49439fc7831bf3e4e7dee82161a","versionType":"git","status":"affected"},{"version":"b2125513dfc0dd0ec5a9605138a3c356592cfb73","lessThan":"1d78d33275ef2a16c6d080910b291d0a97a0e613","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["arch/x86/kvm/svm/sev.c","arch/x86/kvm/svm/svm.h"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","versionType":"semver","status":"unaffected"},{"version":"6.1.184","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.153","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.105","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.45","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.1.9","lessThanOrEqual":"7.1.*","versionType":"semver","status":"unaffected"},{"version":"7.2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.0,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-10-16T19:02:09.291868Z","id":"CVE-2026-74607","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"references":[{"url":"https://git.kernel.org/stable/c/1d78d33275ef2a16c6d080910b291d0a97a0e613","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/28afde1edbd8b20058cbf4d75fb57876471ec334","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/328ab4fabe05af004d886659f8744076e320ddce","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/47976eaaf0a4eb46dade48b3246779090db9e3ec","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7943ec3a6d0e7e0a2eb4943300bce089ac3e8c3e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/d728baba0f20e49439fc7831bf3e4e7dee82161a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}