CVE-2026-64307

Source
https://cve.org/CVERecord?id=CVE-2026-64307
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64307.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64307
Downstream
Published
2026-07-25T08:49:40.782Z
Modified
2026-07-27T04:03:21.160611925Z
Summary
crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)
Details

In the Linux kernel, the following vulnerability has been resolved:

crypto: ccp - Do not initialize SNP for ioctl(SNP_CONFIG)

Sashiko notes:

if SEV initialization fails and KVM is actively running normal VMs, could a userspace process trigger this code path via /dev/sev ioctls (e.g., SEVPDHGEN) and zero out MSRVMHSAVE_PA globally? Would the next VMRUN execution for an active VM trigger a general protection fault and crash the host?

Refuse to re-try initialization if SNP is not already initialized for SNP_CONFIG.

This is technically an ABI break: before if SNP initialization failed it could be transparently retriggered by this ioctl, and if no VMs were running, everything worked fine. Hopefully this is enough of a corner case that nobody will notice, but someone does, there are a few options:

  • do something like symbol_get() for kvm and refuse to initialize if KVM is loaded
  • check each cpu's HSAVE_PA for non-zero data before re-initializing
  • once initialization has failed, continue to refuse to initialize until the ccp module is unloaded
Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64307.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1c3506ea8599a3ad1b9aae5cbd573134f8d18db7
Fixed
345a6e869b33687e9268044bcaeeefd7c61da675
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ceac7fb89e8da465aec3ac3c20477f912f5c3a6c
Fixed
441ea32cf2755a0dc593557056b00b7caa0651f5
Fixed
20f548cdac94860a164e5ebba4f7e4a01051cb06
Fixed
08f0e65e784c4b20e6e620dd4f68d8636073a3d2
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6.12.75
Fixed
6.12.97

Affected versions

v6.*
v6.12.75
v6.12.76
v6.12.77
v6.12.78
v6.12.79
v6.12.80
v6.12.81
v6.12.82
v6.12.83
v6.12.84
v6.12.85
v6.12.86
v6.12.87
v6.12.88
v6.12.89
v6.12.90
v6.12.91
v6.12.92
v6.12.93
v6.12.94
v6.12.95
v6.12.96

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64307.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.16.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64307.json"