Database/Kernel, userspace & hypervisor

Linux kernel KVM SEV: userspace can trivially trigger a kernel WARN via an oversized encrypt-region ioctl
Impact
A process able to issue KVM_MEMORY_ENCRYPT_REG_REGION with an absurd size hits a WARN in sev_pin_memory() when the page count overflows an int. The upstream note is blunt that the WARN is trivial to trigger from userspace; the fix simply drops it. The practical effect is log spam and, on hosts configured with panic_on_warn, a host panic - which on a confidential-computing GPU node means every guest on that box goes down. There is no memory corruption or escape described here. Exposure is limited to AMD SEV hosts where something untrusted can reach the KVM device.
Who can reach it
Local process with access to /dev/kvm on an AMD SEV host - typically the VMM, so in most fleets this is the hypervisor stack rather than a tenant.
What to do
Pick up a stable kernel with the referenced commits and reboot the affected SEV hosts, which means draining guests first; there is no module-level or runtime mitigation. If panic_on_warn is set on hosts where untrusted code can reach /dev/kvm, clearing it removes the only outcome worse than a log line while you wait for the reboot window.
References
Related entries
- Linux KVM/SEV: unlocked sev_guest() check lets a local user crash the host kernelCVE-2026-31592 · Linux kernel KVM SEV (sev_mem_enc_register_region)Medium
- Linux kernel: AMD Zen1 divider leaks partial results across SMT threads until the FPDSS bit is setCVE-2026-31628 · Linux kernel x86/CPU (AMD Zen1 FPDSS divider chicken bit)Medium
- Linux kernel AF_ALG: receive-side scatterlist extraction ignored the receive buffer budgetCVE-2026-31677 · Linux kernel crypto AF_ALG (af_alg_get_rsgl receive buffer accounting)Medium
- Linux kernel BPF: sleepable programs could attach to kprobe_multi and sleep in atomic contextCVE-2026-43010 · Linux kernel BPF (bpf_kprobe_multi_link_attach sleepable program check)Medium
- Linux kernel AF_ALG: missing SGL end-marker clearing lets a local user panic the host via sg_next() NULL dereferenceCVE-2026-43043 · Linux kernel AF_ALG crypto socket interface (af_alg_alloc_tsgl scatterlist chaining)Medium
- Linux kernel algif_aead: minimum receive-buffer check ignores the authentication tag during decryptionCVE-2026-43077 · Linux kernel algif_aead (AF_ALG AEAD receive buffer size check)Medium
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.