CVE-2026-74684
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.18-tools | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| Linux | Linux | 8b444b126cd8e4473e652f529753ed4dd1360a9c, 61dd022c55c7307ec119e5672cb141cccbecf3b1, 5.12, 5.11, 5.5, 4.20, 4.15, 3874892dd27d5387aa9a06f58d9060f18f351d24, 1d022885f3e6e0e238815391a4afaf3a4fb0a442, 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b, 15583b07fd691a844fbf7b3ad612cdc9e9a657c0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 924a9bc362a5223cd448ca08c3dde21235adc310, 924a9bc362a5223cd448ca08c3dde21235adc310, 924a9bc362a5223cd448ca08c3dde21235adc310 |
| Linux | Linux | 5.12, 0, 6.1.191 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool | 0 |
| Linux | Linux | 924a9bc362a5223cd448ca08c3dde21235adc310, 7.2, 7.1.9 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
…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