# CVE-2024-35973: geneve: fix header validation in geneve\[6\]\_xmit\_skb

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-28)
- **CWE:** CWE-908
- **Published:** 2024-05-20T09:42:00.475Z
- **Modified:** 2026-10-15T01:18:15.077Z

## Who should check

- Anyone running Linux \>= 35385daa8db320d2d9664930c28e732578b0d7de, \< 43be590456e1f3566054ce78ae2dbb68cbe1a536; \>= 6f92124d74419797fadfbcd5b7a72c384a6413ad, \< d3adf11d7993518a39bd02b383cfe657ccc0023c; \>= 71ad9260c001b217d704cda88ecea251b2d367da, \< 10204df9beda4978bd1d0c2db0d8375bfb03b915; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 3c1ae6de74e3d2d6333d29a2d3e13e6094596c79; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 4a1b65d1e55d53b397cb27014208be1e04172670; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 190d9efa5773f26d6f334b1b8be282c4fa13fd5e; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 357163fff3a6e48fe74745425a32071ec9caf852; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< d8a6213d70accb403b82924a1c229e733433a5ef; 9a51e36ebf433adf59c051bec33f5aa54640bb4d; 21815f28af8081b258552c111774ff320cf38d38; …
- Anyone running Linux 5.13

## Description

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

geneve: fix header validation in geneve\[6\]\_xmit\_skb

syzbot is able to trigger an uninit-value in geneve\_xmit() \[1\]

Problem : While most ip tunnel helpers (like ip\_tunnel\_get\_dsfield())
uses skb\_protocol(skb, true), pskb\_inet\_may\_pull() is only using
skb-\>protocol.

If anything else than ETH\_P\_IPV6 or ETH\_P\_IP is found in skb-\>protocol,
pskb\_inet\_may\_pull() does nothing at all.

If a vlan tag was provided by the caller (af\_packet in the syzbot case),
the network header might not point to the correct location, and skb
linear part could be smaller than expected.

Add skb\_vlan\_inet\_prepare() to perform a complete mac validation.

Use this in geneve for the moment, I suspect we need to adopt this
more broadly.

v4 - Jakub reported v3 broke l2\_tos\_ttl\_inherit.sh selftest
   - Only call \_\_vlan\_get\_protocol() for vlan types.

v2,v3 - Addressed Sabrina comments on v1 and v2

\[1\]

BUG: KMSAN: uninit-value in geneve\_xmit\_skb drivers/net/geneve.c:910 \[inline\]
 BUG: KMSAN: uninit-value in geneve\_xmit+0x302d/0x5420 drivers/net/geneve.c:1030
  geneve\_xmit\_skb drivers/net/geneve.c:910 \[inline\]
  geneve\_xmit+0x302d/0x5420 drivers/net/geneve.c:1030
  \_\_netdev\_start\_xmit include/linux/netdevice.h:4903 \[inline\]
  netdev\_start\_xmit include/linux/netdevice.h:4917 \[inline\]
  xmit\_one net/core/dev.c:3531 \[inline\]
  dev\_hard\_start\_xmit+0x247/0xa20 net/core/dev.c:3547
  \_\_dev\_queue\_xmit+0x348d/0x52c0 net/core/dev.c:4335
  dev\_queue\_xmit include/linux/netdevice.h:3091 \[inline\]
  packet\_xmit+0x9c/0x6c0 net/packet/af\_packet.c:276
  packet\_snd net/packet/af\_packet.c:3081 \[inline\]
  packet\_sendmsg+0x8bb0/0x9ef0 net/packet/af\_packet.c:3113
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x30f/0x380 net/socket.c:745
  \_\_sys\_sendto+0x685/0x830 net/socket.c:2191
  \_\_do\_sys\_sendto net/socket.c:2203 \[inline\]
  \_\_se\_sys\_sendto net/socket.c:2199 \[inline\]
  \_\_x64\_sys\_sendto+0x125/0x1d0 net/socket.c:2199
 do\_syscall\_64+0xd5/0x1f0
 entry\_SYSCALL\_64\_after\_hwframe+0x6d/0x75

Uninit was created at:
  slab\_post\_alloc\_hook mm/slub.c:3804 \[inline\]
  slab\_alloc\_node mm/slub.c:3845 \[inline\]
  kmem\_cache\_alloc\_node+0x613/0xc50 mm/slub.c:3888
  kmalloc\_reserve+0x13d/0x4a0 net/core/skbuff.c:577
  \_\_alloc\_skb+0x35b/0x7a0 net/core/skbuff.c:668
  alloc\_skb include/linux/skbuff.h:1318 \[inline\]
  alloc\_skb\_with\_frags+0xc8/0xbf0 net/core/skbuff.c:6504
  sock\_alloc\_send\_pskb+0xa81/0xbf0 net/core/sock.c:2795
  packet\_alloc\_skb net/packet/af\_packet.c:2930 \[inline\]
  packet\_snd net/packet/af\_packet.c:3024 \[inline\]
  packet\_sendmsg+0x722d/0x9ef0 net/packet/af\_packet.c:3113
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg+0x30f/0x380 net/socket.c:745
  \_\_sys\_sendto+0x685/0x830 net/socket.c:2191
  \_\_do\_sys\_sendto net/socket.c:2203 \[inline\]
  \_\_se\_sys\_sendto net/socket.c:2199 \[inline\]
  \_\_x64\_sys\_sendto+0x125/0x1d0 net/socket.c:2199
 do\_syscall\_64+0xd5/0x1f0
 entry\_SYSCALL\_64\_after\_hwframe+0x6d/0x75

CPU: 0 PID: 5033 Comm: syz-executor346 Not tainted 6.9.0-rc1-syzkaller-00005-g928a87efa423 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024

## Affected and fixed versions

- Linux: \>= 35385daa8db320d2d9664930c28e732578b0d7de, \< 43be590456e1f3566054ce78ae2dbb68cbe1a536; \>= 6f92124d74419797fadfbcd5b7a72c384a6413ad, \< d3adf11d7993518a39bd02b383cfe657ccc0023c; \>= 71ad9260c001b217d704cda88ecea251b2d367da, \< 10204df9beda4978bd1d0c2db0d8375bfb03b915; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 3c1ae6de74e3d2d6333d29a2d3e13e6094596c79; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 4a1b65d1e55d53b397cb27014208be1e04172670; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 190d9efa5773f26d6f334b1b8be282c4fa13fd5e; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 357163fff3a6e48fe74745425a32071ec9caf852; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< d8a6213d70accb403b82924a1c229e733433a5ef; 9a51e36ebf433adf59c051bec33f5aa54640bb4d; 21815f28af8081b258552c111774ff320cf38d38; … (cvelist)
- Linux: 5.13 (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-2024-35973. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35973.md
Affected: Linux >= 35385daa8db320d2d9664930c28e732578b0d7de, < 43be590456e1f3566054ce78ae2dbb68cbe1a536; >= 6f92124d74419797fadfbcd5b7a72c384a6413ad, < d3adf11d7993518a39bd02b383cfe657ccc0023c; >= 71ad9260c001b217d704cda88ecea251b2d367da, < 10204df9beda4978bd1d0c2db0d8375bfb03b915; >= d13f048dd40e8577260cd43…
Fixed in: Linux 43be590456e1f3566054ce78ae2dbb68cbe1a536, Linux 10204df9beda4978bd1d0c2db0d8375bfb03b915, Linux 3c1ae6de74e3d2d6333d29a2d3e13e6094596c79, Linux 4a1b65d1e55d53b397cb27014208be1e04172670, Linux 190d9efa5773f26d6f334b1b8be282c4fa13fd5e, Linux 357163fff3a6e48fe74745425a32071ec9caf852

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-2024-35973 being exploited?

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

### How serious is CVE-2024-35973?

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

### Which versions are affected by CVE-2024-35973?

Linux \>= 35385daa8db320d2d9664930c28e732578b0d7de, \< 43be590456e1f3566054ce78ae2dbb68cbe1a536; \>= 6f92124d74419797fadfbcd5b7a72c384a6413ad, \< d3adf11d7993518a39bd02b383cfe657ccc0023c; \>= 71ad9260c001b217d704cda88ecea251b2d367da, \< 10204df9beda4978bd1d0c2db0d8375bfb03b915; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 3c1ae6de74e3d2d6333d29a2d3e13e6094596c79; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 4a1b65d1e55d53b397cb27014208be1e04172670; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 190d9efa5773f26d6f334b1b8be282c4fa13fd5e; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< 357163fff3a6e48fe74745425a32071ec9caf852; \>= d13f048dd40e8577260cd43faea8ec9b77520197, \< d8a6213d70accb403b82924a1c229e733433a5ef; 9a51e36ebf433adf59c051bec33f5aa54640bb4d; 21815f28af8081b258552c111774ff320cf38d38; …; Linux 5.13.

### Is there a fix for CVE-2024-35973?

Yes. Fixed in Linux 43be590456e1f3566054ce78ae2dbb68cbe1a536, Linux 10204df9beda4978bd1d0c2db0d8375bfb03b915, Linux 3c1ae6de74e3d2d6333d29a2d3e13e6094596c79, Linux 4a1b65d1e55d53b397cb27014208be1e04172670, Linux 190d9efa5773f26d6f334b1b8be282c4fa13fd5e, Linux 357163fff3a6e48fe74745425a32071ec9caf852. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-35973?

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/43be590456e1f3566054ce78ae2dbb68cbe1a536>
- patch: <https://git.kernel.org/stable/c/d3adf11d7993518a39bd02b383cfe657ccc0023c>
- patch: <https://git.kernel.org/stable/c/10204df9beda4978bd1d0c2db0d8375bfb03b915>
- patch: <https://git.kernel.org/stable/c/3c1ae6de74e3d2d6333d29a2d3e13e6094596c79>
- patch: <https://git.kernel.org/stable/c/4a1b65d1e55d53b397cb27014208be1e04172670>
- patch: <https://git.kernel.org/stable/c/190d9efa5773f26d6f334b1b8be282c4fa13fd5e>
- patch: <https://git.kernel.org/stable/c/357163fff3a6e48fe74745425a32071ec9caf852>
- patch: <https://git.kernel.org/stable/c/d8a6213d70accb403b82924a1c229e733433a5ef>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-613116.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-2024-35973>

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