# CVE-2026-74684: net: tap: set skb-\>dev before parsing virtio net header in tap\_get\_user\_xdp()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-08-22T15:32:50.846Z
- **Modified:** 2026-10-30T13:20:03.600Z

## Who should check

- Anyone running Linux \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 1d022885f3e6e0e238815391a4afaf3a4fb0a442; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 61dd022c55c7307ec119e5672cb141cccbecf3b1; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 15583b07fd691a844fbf7b3ad612cdc9e9a657c0; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 8b444b126cd8e4473e652f529753ed4dd1360a9c; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 3874892dd27d5387aa9a06f58d9060f18f351d24; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; ca278267d6cd9544645731732455b6b20cb0e895; faa3baa2828c5e1c4374f3e60041f75c64f5fcb6; …
- Anyone running Linux 5.12

## Description

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().

## Affected and fixed versions

- Linux: \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 1d022885f3e6e0e238815391a4afaf3a4fb0a442; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 61dd022c55c7307ec119e5672cb141cccbecf3b1; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 15583b07fd691a844fbf7b3ad612cdc9e9a657c0; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 8b444b126cd8e4473e652f529753ed4dd1360a9c; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 3874892dd27d5387aa9a06f58d9060f18f351d24; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; ca278267d6cd9544645731732455b6b20cb0e895; faa3baa2828c5e1c4374f3e60041f75c64f5fcb6; … (cvelist)
- Linux: 5.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74684. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74684.md
Affected: Linux >= 924a9bc362a5223cd448ca08c3dde21235adc310, < 1d022885f3e6e0e238815391a4afaf3a4fb0a442; >= 924a9bc362a5223cd448ca08c3dde21235adc310, < 61dd022c55c7307ec119e5672cb141cccbecf3b1; >= 924a9bc362a5223cd448ca08c3dde21235adc310, < 15583b07fd691a844fbf7b3ad612cdc9e9a657c0; >= 924a9bc362a5223cd448ca0…
Fixed in: Linux 1d022885f3e6e0e238815391a4afaf3a4fb0a442, Linux 61dd022c55c7307ec119e5672cb141cccbecf3b1, Linux 15583b07fd691a844fbf7b3ad612cdc9e9a657c0, Linux 8b444b126cd8e4473e652f529753ed4dd1360a9c, Linux 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b, Linux 3874892dd27d5387aa9a06f58d9060f18f351d24

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74684 being exploited?

There is no confirmed exploitation: CVE-2026-74684 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74684?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74684?

Linux \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 1d022885f3e6e0e238815391a4afaf3a4fb0a442; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 61dd022c55c7307ec119e5672cb141cccbecf3b1; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 15583b07fd691a844fbf7b3ad612cdc9e9a657c0; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 8b444b126cd8e4473e652f529753ed4dd1360a9c; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b; \>= 924a9bc362a5223cd448ca08c3dde21235adc310, \< 3874892dd27d5387aa9a06f58d9060f18f351d24; ea3fb2ce5fa794d02135f5c079e05cd6fc3f545d; 54ef8243c3c8e90f1ea5792e6752e021a25c8eb3; ca278267d6cd9544645731732455b6b20cb0e895; faa3baa2828c5e1c4374f3e60041f75c64f5fcb6; …; Linux 5.12.

### Is there a fix for CVE-2026-74684?

Yes. Fixed in Linux 1d022885f3e6e0e238815391a4afaf3a4fb0a442, Linux 61dd022c55c7307ec119e5672cb141cccbecf3b1, Linux 15583b07fd691a844fbf7b3ad612cdc9e9a657c0, Linux 8b444b126cd8e4473e652f529753ed4dd1360a9c, Linux 164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b, Linux 3874892dd27d5387aa9a06f58d9060f18f351d24. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-74684?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/1d022885f3e6e0e238815391a4afaf3a4fb0a442>
- other: <https://git.kernel.org/stable/c/61dd022c55c7307ec119e5672cb141cccbecf3b1>
- other: <https://git.kernel.org/stable/c/15583b07fd691a844fbf7b3ad612cdc9e9a657c0>
- other: <https://git.kernel.org/stable/c/8b444b126cd8e4473e652f529753ed4dd1360a9c>
- other: <https://git.kernel.org/stable/c/164c31ee252ebd1ac8f44c2dfc5486b6d9a0379b>
- other: <https://git.kernel.org/stable/c/3874892dd27d5387aa9a06f58d9060f18f351d24>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74684>

HTML: <https://flawdb.com/CVE-2026-74684> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74684>
