net: tap: set skb->dev before parsing virtio net header in tap_get_user_xdp()
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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().
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.5; 5.10.24 to before 5.11; 5.11.7 to before 5.12 | 4.15, 4.20, 5.5, 5.11, 5.12 | Patch available | CNA |
| Linux | Linux | 5.12 and later | 6.1.191, 6.6.160, 6.12.105, 6.18.45, 7.1.9, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 4.14.226 to before 4.15; 4.19.181 to before 4.20; 5.4.106 to before 5.5; 5.10.24 to before 5.11; 5.11.7 to before 5.12 Fixed in 4.15, 4.20, 5.5, 5.11, 5.12 Patch available CNA
- Linux VendorLinux Affected 5.12 and later Fixed in 6.1.191, 6.6.160, 6.12.105, 6.18.45, 7.1.9, 7.2 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 4.15, 4.20, 5.5, 5.11, 5.12
- Fix · CNA Linux (Linux) Fixed in 6.1.191, 6.6.160, 6.12.105, 6.18.45, 7.1.9, 7.2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74684
- 2026-10-03 Alias added: GHSA-23q4-679m-qgxw
- 2026-10-18 CISA SSVC decision points changed
- 2026-10-21 Fix available: Linux/[email protected], Linux/Linux@61dd022c55c7307ec119e5672cb141cccbecf3b1 · CNA
- 2026-10-21 1 new reference · CNA
- 2026-10-30 CVSS score changed · Red Hat
- 2026-10-30 Fix available: Linux/Linux@1d022885f3e6e0e238815391a4afaf3a4fb0a442, Linux/[email protected] · CNA
- 2026-10-30 1 new reference · CNA
References
Other 6
- https://git.kernel.org/stable/c/1d022885f3e6e0e238815391a4afaf3a4fb0a442
- https://git.kernel.org/stable/c/61dd022c55c7307ec119e5672cb141cccbecf3b1
- https://git.kernel.org/stable/c/15583b07fd691a844fbf7b3ad612cdc9e9a657c0
- https://git.kernel.org/stable/c/8b444b126cd8e4473e652f529753ed4dd1360a9c
- https://git.kernel.org/stable/c/164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b
- https://git.kernel.org/stable/c/3874892dd27d5387aa9a06f58d9060f18f351d24
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-74684 · CVE Program
- CVE-2026-74684 · NVD
- FIRST EPSS
- GHSA-23q4-679m-qgxw · GitHub Advisory Database · CC BY 4.0
- CVE-2026-74684 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences