# CVE-2026-53184: udp: clear skb-\>dev before running a sockmap verdict

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.70% (percentile 49, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-06-25T08:38:58.189Z
- **Modified:** 2026-10-19T20:19:06.890Z

## Who should check

- Anyone running Linux \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 263779a6beff03b8b06f6d25566cb0f45af361f2; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 1b585673a2249f13678e7ac443ac683ba767e0b6; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 90d35188aaa92b8f8b23f66335e0e91bf60103a3; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 6822eed69572000a181fa4e31fceacc60918c471; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 3c94f241f776562c489876ff506f366224565c21
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

udp: clear skb-\>dev before running a sockmap verdict

On the UDP receive path skb-\>dev is repurposed as dev\_scratch (the
truesize/state cache set by udp\_set\_dev\_scratch()), through the
union { struct net\_device \*dev; unsigned long dev\_scratch; } in sk\_buff.

When a UDP socket is in a sockmap, sk\_data\_ready is
sk\_psock\_verdict\_data\_ready(), which calls udp\_read\_skb() -\> recv\_actor()
(sk\_psock\_verdict\_recv) to run the attached SK\_SKB verdict program in softirq.
If that program calls a socket-lookup helper (bpf\_sk\_lookup\_tcp/udp,
bpf\_skc\_lookup\_tcp), bpf\_skc\_lookup() does:

	if (skb-\>dev)
		caller\_net = dev\_net(skb-\>dev);

skb-\>dev still holds the dev\_scratch value (a non-NULL integer), so dev\_net()
dereferences it as a struct net\_device \* and the kernel takes a general
protection fault on a non-canonical address in softirq:

  Oops: general protection fault, probably for non-canonical address 0x1010000800004a0
  CPU: 1 UID: 0 PID: 1406 Comm: syz.2.19 Not tainted 7.1.0-rc6 \#1 PREEMPT(full)
  RIP: 0010:bpf\_skc\_lookup net/core/filter.c:7033 \[inline\]
  RIP: 0010:bpf\_sk\_lookup+0x45/0x160 net/core/filter.c:7047
  Call Trace:
   \<IRQ\>
   bpf\_prog\_4675cb904b7071f8+0x12e/0x14e
   bpf\_prog\_run\_pin\_on\_cpu+0xc6/0x1f0
   sk\_psock\_verdict\_recv+0x1ba/0x350
   udp\_read\_skb+0x31a/0x370
   sk\_psock\_verdict\_data\_ready+0x2e3/0x600
   \_\_udp\_enqueue\_schedule\_skb+0x4c8/0x650
   udpv6\_queue\_rcv\_one\_skb+0x3ec/0x740
   udp6\_unicast\_rcv\_skb+0x11d/0x140
   ip6\_protocol\_deliver\_rcu+0x61e/0x950
   ip6\_input\_finish+0xa9/0x150
   NF\_HOOK+0x286/0x2f0
   ip6\_input+0x117/0x220
   NF\_HOOK+0x286/0x2f0
   \_\_netif\_receive\_skb+0x85/0x200
   process\_backlog+0x374/0x9a0
   \_\_napi\_poll+0x4f/0x1c0
   net\_rx\_action+0x3b0/0x770
   handle\_softirqs+0x15a/0x460
   do\_softirq+0x57/0x80
   \</IRQ\>

The rmem charge that dev\_scratch accounted for is released by skb\_recv\_udp() on
dequeue, just above, so the scratch is dead by the time recv\_actor() runs. Clear
skb-\>dev so bpf\_skc\_lookup() falls back to sock\_net(skb-\>sk), which
skb\_set\_owner\_sk\_safe() set just above.

## Affected and fixed versions

- Linux: \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 263779a6beff03b8b06f6d25566cb0f45af361f2; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 1b585673a2249f13678e7ac443ac683ba767e0b6; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 90d35188aaa92b8f8b23f66335e0e91bf60103a3; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 6822eed69572000a181fa4e31fceacc60918c471; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 3c94f241f776562c489876ff506f366224565c21 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 3c94f241f776562c489876ff506f366224565c21 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-53184.md
Affected: Linux >= 965b57b469a589d64d81b1688b38dcb537011bb0, < 263779a6beff03b8b06f6d25566cb0f45af361f2; >= 965b57b469a589d64d81b1688b38dcb537011bb0, < 1b585673a2249f13678e7ac443ac683ba767e0b6; >= 965b57b469a589d64d81b1688b38dcb537011bb0, < 90d35188aaa92b8f8b23f66335e0e91bf60103a3; >= 965b57b469a589d64d81b16…
Fixed in: Linux 263779a6beff03b8b06f6d25566cb0f45af361f2, Linux 1b585673a2249f13678e7ac443ac683ba767e0b6, Linux 90d35188aaa92b8f8b23f66335e0e91bf60103a3, Linux 6822eed69572000a181fa4e31fceacc60918c471, Linux 7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1, Linux 3c94f241f776562c489876ff506f366224565c21

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-53184 being exploited?

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

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

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 263779a6beff03b8b06f6d25566cb0f45af361f2; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 1b585673a2249f13678e7ac443ac683ba767e0b6; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 90d35188aaa92b8f8b23f66335e0e91bf60103a3; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 6822eed69572000a181fa4e31fceacc60918c471; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1; \>= 965b57b469a589d64d81b1688b38dcb537011bb0, \< 3c94f241f776562c489876ff506f366224565c21; Linux 6.0.

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

Yes. Fixed in Linux 263779a6beff03b8b06f6d25566cb0f45af361f2, Linux 1b585673a2249f13678e7ac443ac683ba767e0b6, Linux 90d35188aaa92b8f8b23f66335e0e91bf60103a3, Linux 6822eed69572000a181fa4e31fceacc60918c471, Linux 7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1, Linux 3c94f241f776562c489876ff506f366224565c21. Upgrade Linux to 3c94f241f776562c489876ff506f366224565c21 or later.

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

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

- patch: <https://git.kernel.org/stable/c/263779a6beff03b8b06f6d25566cb0f45af361f2>
- patch: <https://git.kernel.org/stable/c/1b585673a2249f13678e7ac443ac683ba767e0b6>
- patch: <https://git.kernel.org/stable/c/90d35188aaa92b8f8b23f66335e0e91bf60103a3>
- patch: <https://git.kernel.org/stable/c/6822eed69572000a181fa4e31fceacc60918c471>
- patch: <https://git.kernel.org/stable/c/7d6d92d000ebe3a845a17c165c1d3a70c5d84fe1>
- patch: <https://git.kernel.org/stable/c/3c94f241f776562c489876ff506f366224565c21>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## 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-53184>

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