VDB

CVE-2026-74310

CVE-2026-74310 PUBLISHED CVSS 9.3 CRITICAL

vhost/net: complete zerocopy ubufs only once

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: vhost/net: complete zerocopy ubufs only once vhost-net initializes one ubuf_info per outstanding zerocopy TX descriptor and hands it to the backend socket. The networking stack may then clone a zerocopy skb before all skb references are released. For example, batman-adv fragmentation reaches skb_split(), which calls skb_zerocopy_clone() and increments the same ubuf_info refcount. vhost_zerocopy_complete() currently treats every ubuf callback as a completed vhost descriptor. It dereferences ubuf->ctx, writes the descriptor completion state, and drops the vhost_net_ubuf_ref even when the callback only releases a cloned skb reference. A backend reset can therefore wait for and free the vhost_net_ubuf_ref while another cloned skb still carries the same ubuf_info. A later completion then dereferences the freed ubufs pointer. KASAN reports the stale completion as: BUG: KASAN: slab-use-after-free in vhost_zerocopy_complete+0x1d7/0x1f0 BUG: KASAN: slab-use-after-free in vhost_zerocopy_complete+0x101/0x1f0 vhost_zerocopy_complete skb_copy_ubufs __dev_forward_skb2 veth_xmit The freed object was allocated from vhost_net_ioctl() while setting the backend and freed through kfree_rcu()/kvfree_rcu_bulk after backend removal, while delayed skb completion still reached vhost_zerocopy_complete(). Honor the generic ubuf_info refcount before touching vhost state, and run the vhost descriptor completion only for the final ubuf reference. This matches the msg_zerocopy_complete() ownership rule for cloned zerocopy skbs.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
python3-perf6.12Amazon Linux1:6.12.100-125.179.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.41-94.142.amzn2023
LinuxLinux3.1

Risk scores

CVSS 3.1
9.3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinuxbab632d69ee48a106e779b60cc01adfe80a72807, bab632d69ee48a106e779b60cc01adfe80a72807, bab632d69ee48a106e779b60cc01adfe80a72807
LinuxLinux3.1, 0, 6.1.178
amazon:2023python3-perf6.180
amazon:2023python3-perf6.120
amazon:2023perf6.180
amazon:2023kernel6.18-tools-devel0
LinuxLinux6.12.97, 6.6.145, 6.1.178
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023kernel6.12-tools-devel0
linuxlinux_kernel3.1, 3.1, 3.1
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra0
amazon:2023python3-perf0
amazon:2023kernel-headers0
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.180-225.3600
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.18-tools0
amazon:2023kernel0
amazon:2023microvm-kernel6.180

…and 18 more

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (9 in total, the first dated here)
  • Oct 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74310
vulnetix vdb fixes CVE-2026-74310

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74310/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›