VDB

CVE-2026-74684

CVE-2026-74684 PUBLISHED CVSS 7.1 HIGH

net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp()

Reported by linux · Published August 22, 2026

In the Linux kernel, the following vulnerability has been resolved: net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp() The commit 4f61f133f354 ("net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null") fixed a crash in tap_get_user() by assigning skb->dev before calling tun_vnet_hdr_to_skb(). This is required because virtio_net_hdr_to_skb() may invoke dev_parse_header_protocol(), which dereferences skb->dev. Without the assignment, a NULL pointer dereference can occur. However, tap_get_user_xdp() still parses the virtio-net header before assigning skb->dev. When the vhost TX path passes an XDP buffer containing a GSO virtio-net header but the protocol is set to zero on purpose, tun_vnet_hdr_to_skb() can reach dev_parse_header_protocol() while skb->dev is still NULL, resulting in a crash. Fix this by looking up the tap device and assigning skb->dev before calling tun_vnet_hdr_to_skb(), matching the ordering already used in tap_get_user(). Preserve the existing RCU read-side critical section across dev_queue_xmit().

Fixed versions

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

PackageEcosystemFixed in
kernel6.18-develAmazon Linux1:6.18.48-107.148.amzn2023
perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.48-107.148.amzn2023
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
LinuxLinux8b444b126cd8e4473e652f529753ed4dd1360a9c, 61dd022c55c7307ec119e5672cb141cccbecf3b1, 5.12, 5.11, 5.5, 4.20, 4.15, 3874892dd27d5387aa9a06f58d9060f18f351d24, 1d022885f3e6e0e238815391a4afaf3a4fb0a442, 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b, 15583b07fd691a844fbf7b3ad612cdc9e9a657c0

Risk scores

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

Affected products

VendorProductVersions
LinuxLinux924a9bc362a5223cd448ca08c3dde21235adc310, 924a9bc362a5223cd448ca08c3dde21235adc310, 924a9bc362a5223cd448ca08c3dde21235adc310
LinuxLinux5.12, 0, 6.1.191
amazon:2023kernel6.18-devel0
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool0
LinuxLinux924a9bc362a5223cd448ca08c3dde21235adc310, 7.2, 7.1.9
amazon:2023kernel6.12-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-headers0
amazon:2023python3-perf6.180
amazon:2023microvm-kernel6.180

…and 18 more

Timeline

  • Aug 22, 2026 Coalition ESS Score
  • Aug 22, 2026 CVE Published
  • Aug 23, 2026 EPSS Score (11 in total, the first dated here)
  • Sep 3, 2026 Security Advisory
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74684
vulnetix vdb fixes CVE-2026-74684

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-74684/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 ›