{"id":"CVE-2026-64307","aliases":["CVE-2026-64307"],"related":[],"kind":"vulnerability","state":"published","title":"crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)\n\nSashiko notes:\n\n> if SEV initialization fails and KVM is actively running normal VMs, could a\n> userspace process trigger this code path via /dev/sev ioctls (e.g.,\n> SEV_PDH_GEN) and zero out MSR_VM_HSAVE_PA globally? Would the next VMRUN\n> execution for an active VM trigger a general protection fault and crash the\n> host?\n\nRefuse to re-try initialization if SNP is not already initialized for\nSNP_CONFIG.\n\nThis is technically an ABI break: before if SNP initialization failed it\ncould be transparently retriggered by this ioctl, and if no VMs were\nrunning, everything worked fine. Hopefully this is enough of a corner case\nthat nobody will notice, but someone does, there are a few options:\n\n* do something like symbol_get() for kvm and refuse to initialize if KVM is\n  loaded\n* check each cpu's HSAVE_PA for non-zero data before re-initializing\n* once initialization has failed, continue to refuse to initialize until\n  the ccp module is unloaded","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)\n\nSashiko notes:\n\n> if SEV initialization fails and KVM is actively running normal VMs, could a\n> userspace process trigger this code path via /dev/sev ioctls (e.g.,\n> SEV_PDH_GEN) and zero out MSR_VM_HSAVE_PA globally? Would the next VMRUN\n> execution for an active VM trigger a general protection fault and crash the\n> host?\n\nRefuse to re-try initialization if SNP is not already initialized for\nSNP_CONFIG.\n\nThis is technically an ABI break: before if SNP initialization failed it\ncould be transparently retriggered by this ioctl, and if no VMs were\nrunning, everything worked fine. Hopefully this is enough of a corner case\nthat nobody will notice, but someone does, there are a few options:\n\n* do something like symbol_get() for kvm and refuse to initialize if KVM is\n  loaded\n* check each cpu's HSAVE_PA for non-zero data before re-initializing\n* once initialization has failed, continue to refuse to initialize until\n  the ccp module is unloaded","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncrypto: ccp - No inicializar SNP para ioctl(SNP_CONFIG)\n\nNotas de Sashiko:\n\n> si la inicialización de SEV falla y KVM está ejecutando activamente máquinas virtuales normales, ¿podría un proceso de espacio de usuario activar esta ruta de código a través de ioctls de /dev/sev (p. ej., SEV_PDH_GEN) y poner a cero MSR_VM_HSAVE_PA globalmente? ¿La siguiente ejecución de VMRUN para una máquina virtual activa desencadenaría una falla de protección general y bloquearía el host?\n\nRechazar reintentar la inicialización si SNP no está ya inicializado para SNP_CONFIG.\n\nEsto es técnicamente una ruptura de ABI: antes, si la inicialización de SNP fallaba, podía ser re-activada transparentemente por este ioctl, y si no había máquinas virtuales en ejecución, todo funcionaba bien. Con suerte, este es un caso tan excepcional que nadie lo notará, pero si alguien lo hace, hay algunas opciones:\n\n* hacer algo como symbol_get() para kvm y negarse a inicializar si KVM está cargado\n* verificar el HSAVE_PA de cada CPU en busca de datos no nulos antes de reinicializar\n* una vez que la inicialización ha fallado, continuar negándose a inicializar hasta que el módulo ccp sea descargado","source":"nvd"}],"published":"2026-07-25T08:49:40.782Z","modified":"2026-11-06T17:18:46.863Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1c3506ea8599a3ad1b9aae5cbd573134f8d18db7","fixed":"345a6e869b33687e9268044bcaeeefd7c61da675","status":"affected"},{"type":"git","introduced":"ceac7fb89e8da465aec3ac3c20477f912f5c3a6c","fixed":"441ea32cf2755a0dc593557056b00b7caa0651f5","status":"affected"},{"type":"git","introduced":"ceac7fb89e8da465aec3ac3c20477f912f5c3a6c","fixed":"20f548cdac94860a164e5ebba4f7e4a01051cb06","status":"affected"},{"type":"git","introduced":"ceac7fb89e8da465aec3ac3c20477f912f5c3a6c","fixed":"08f0e65e784c4b20e6e620dd4f68d8636073a3d2","status":"affected"},{"type":"semver","introduced":"6.12.75","fixed":"6.12.97","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.16","status":"unaffected"},{"type":"semver","introduced":"6.12.97","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.39","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.4","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.12.75","fixed":"6.12.97"},{"status":"affected","introduced":"6.16","fixed":"6.18.39"},{"status":"affected","introduced":"6.19","fixed":"7.1.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/345a6e869b33687e9268044bcaeeefd7c61da675","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/441ea32cf2755a0dc593557056b00b7caa0651f5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20f548cdac94860a164e5ebba4f7e4a01051cb06","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08f0e65e784c4b20e6e620dd4f68d8636073a3d2","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T16:34:35.438Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64307","url":"https://www.cve.org/CVERecord?id=CVE-2026-64307","licence":"CVE Terms of Use","modified":"2026-11-06T16:44:44.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64307","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64307","licence":"Public domain","modified":"2026-11-06T17:18:46.863Z"}],"updatedAt":"2026-11-25T22:59:30.060Z","epss":{"score":0.0017,"percentile":0.06621,"date":"2026-12-01T12:00:22.000Z"}}