GPU VulnDB

Database/Kernel, userspace & hypervisor

Linux kernel virtio-net: malicious host-announced buffer length causes NULL page dereference in guest

CVSS 8.4CVE-2025-40292Kernel, userspace & hypervisorcurated

Impact

Since the switch to MTU-sized buffers for big packets, the guest's receive path validated the host-announced length against the old MAX_SKB_FRAGS * PAGE_SIZE assumption instead of the actual allocation recorded in vi->big_packets_num_skbfrags. A host-side vhost_net that announces a length larger than what the guest allocated walks the guest off the end of its frag list and dereferences a NULL page pointer. On a GPU fleet this is a host-to-guest integrity break: a compromised or malicious hypervisor-side backend can crash or corrupt memory in a guest VM that may hold passed-through GPUs, and the guest kernel panic takes the GPU workloads on that VM with it. It matters for anyone renting GPU VMs where the virtio backend is not in the tenant's trust boundary, and for nested or multi-layer virtualization setups.

Who can reach it

Requires control of the virtio-net host backend (a modified vhost_net get_rx_bufs) facing the guest; no guest authentication involved. Not reachable by an unprivileged guest user or over the network.

What to do

Apply the stable kernel update containing the corrected receive length check (five stable branches carry the fix; see the git.kernel.org commits in the references) and reboot each affected guest - or host, where the host kernel is the one running virtio-net. No configuration-level mitigation is published; guests using guest-GSO-on configurations are less exposed because the old allocation path applies. Expect a node reboot per affected machine, so fold it into the next kernel maintenance window rather than treating it as a hot patch.

References

Related entries

All Kernel, userspace & hypervisor entries

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.