Database/Kernel, userspace & hypervisor

Linux KVM SVM: SEV ioctls return uninitialized kernel slab memory to the caller
Impact
Several SEV ioctl handlers allocated the caller-supplied length with kmalloc, up to SEV_FW_BLOB_MAX_SIZE, but the PSP firmware writes only as much as it actually has. The unwritten tail is returned to userspace, leaking uninitialized kernel slab contents - potentially data from other allocations, including other tenants' structures on a shared host. The fix is to use kzalloc. This matters on AMD EPYC GPU hosts that use SEV/SEV-SNP for confidential VMs, since the leak undermines the isolation the feature is there to provide. It is an information leak only; no code execution or guest escape is claimed.
Who can reach it
A local user on the host with access to the SEV ioctl interface (typically /dev/sev or a KVM control path), i.e. the virtualization management plane rather than an arbitrary tenant. Requires low privilege but local access; not reachable from a guest or over the network.
What to do
Take the stable kernel fix (five backport commits are listed for the affected branches) via your distribution's kernel update, then reboot each host - a kernel change on a hypervisor means draining the GPU node and rebooting it. Only hosts with AMD SEV enabled are affected; hosts that never expose the SEV ioctls can defer to a normal maintenance window.
References
Related entries
- Linux kernel (arch/x86/kvm): A guest that is not advertised long mode makes the host's SMM emulator walk 16CVE-2022-49883 · Linux kernel (arch/x86/kvm)High
- Linux kernel BPF verifier: missing precision marking lets an out-of-bounds ringbuf access passCVE-2022-49961 · Linux kernel BPF verifier (precision marking for ARG_CONST_ALLOC_SIZE_OR_ZERO)High
- Linux kernel bpf/cgroup: BUG() in purge_effective_progs on detach after allocation failureCVE-2022-49970 · Linux kernel bpf cgroup (purge_effective_progs)High
- Linux kernel cpuset: attaching a task to a cgroup v2 cpuset with an empty cpus_allowed panics the hostCVE-2022-50103 · Linux kernel cpuset/deadline scheduler (task_can_attach, dl_cpu_busy)High
- Linux kernel (drivers/vfio/pci/hisilicon): The VFIO migration save and resume paths do not advance the data pointer byCVE-2023-52453 · Linux kernel (drivers/vfio/pci/hisilicon)High
- Linux kernel BPF verifier: missing Spectre v4 sanitization leaks kernel pointers to unprivileged BPFCVE-2023-53024 · Linux kernel BPF verifier (speculative store bypass sanitization of stack slots)High
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.