# CVE-2024-26857: geneve: make sure to pull inner header in geneve\_rx()

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

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.84% (percentile 55, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-04-17T10:17:19.115Z
- **Modified:** 2026-08-05T11:27:51.379Z

## Who should check

- Anyone running Linux \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e431c3227864b5646601c97f5f898d99472f2914; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 59d2a4076983303f324557a114cfd5c32e1f6b29; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c7137900691f5692fe3de54566ea7b30bb35d66c; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e77e0b0f2a11735c64b105edaee54d6344faca8a; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c0b22568a9d8384fd000cc49acb8f74bde40d1b5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 048e16dee1fc609c1c85072ccd70bfd4b5fef6ca; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 1ca1ba465e55b9460e4e75dec9fff31e708fec74
- Anyone running Linux 4.2

## Description

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

geneve: make sure to pull inner header in geneve\_rx()

syzbot triggered a bug in geneve\_rx() \[1\]

Issue is similar to the one I fixed in commit 8d975c15c0cd
("ip6\_tunnel: make sure to pull inner header in \_\_ip6\_tnl\_rcv()")

We have to save skb-\>network\_header in a temporary variable
in order to be able to recompute the network\_header pointer
after a pskb\_inet\_may\_pull() call.

pskb\_inet\_may\_pull() makes sure the needed headers are in skb-\>head.

\[1\]
BUG: KMSAN: uninit-value in IP\_ECN\_decapsulate include/net/inet\_ecn.h:302 \[inline\]
 BUG: KMSAN: uninit-value in geneve\_rx drivers/net/geneve.c:279 \[inline\]
 BUG: KMSAN: uninit-value in geneve\_udp\_encap\_recv+0x36f9/0x3c10 drivers/net/geneve.c:391
  IP\_ECN\_decapsulate include/net/inet\_ecn.h:302 \[inline\]
  geneve\_rx drivers/net/geneve.c:279 \[inline\]
  geneve\_udp\_encap\_recv+0x36f9/0x3c10 drivers/net/geneve.c:391
  udp\_queue\_rcv\_one\_skb+0x1d39/0x1f20 net/ipv4/udp.c:2108
  udp\_queue\_rcv\_skb+0x6ae/0x6e0 net/ipv4/udp.c:2186
  udp\_unicast\_rcv\_skb+0x184/0x4b0 net/ipv4/udp.c:2346
  \_\_udp4\_lib\_rcv+0x1c6b/0x3010 net/ipv4/udp.c:2422
  udp\_rcv+0x7d/0xa0 net/ipv4/udp.c:2604
  ip\_protocol\_deliver\_rcu+0x264/0x1300 net/ipv4/ip\_input.c:205
  ip\_local\_deliver\_finish+0x2b8/0x440 net/ipv4/ip\_input.c:233
  NF\_HOOK include/linux/netfilter.h:314 \[inline\]
  ip\_local\_deliver+0x21f/0x490 net/ipv4/ip\_input.c:254
  dst\_input include/net/dst.h:461 \[inline\]
  ip\_rcv\_finish net/ipv4/ip\_input.c:449 \[inline\]
  NF\_HOOK include/linux/netfilter.h:314 \[inline\]
  ip\_rcv+0x46f/0x760 net/ipv4/ip\_input.c:569
  \_\_netif\_receive\_skb\_one\_core net/core/dev.c:5534 \[inline\]
  \_\_netif\_receive\_skb+0x1a6/0x5a0 net/core/dev.c:5648
  process\_backlog+0x480/0x8b0 net/core/dev.c:5976
  \_\_napi\_poll+0xe3/0x980 net/core/dev.c:6576
  napi\_poll net/core/dev.c:6645 \[inline\]
  net\_rx\_action+0x8b8/0x1870 net/core/dev.c:6778
  \_\_do\_softirq+0x1b7/0x7c5 kernel/softirq.c:553
  do\_softirq+0x9a/0xf0 kernel/softirq.c:454
  \_\_local\_bh\_enable\_ip+0x9b/0xa0 kernel/softirq.c:381
  local\_bh\_enable include/linux/bottom\_half.h:33 \[inline\]
  rcu\_read\_unlock\_bh include/linux/rcupdate.h:820 \[inline\]
  \_\_dev\_queue\_xmit+0x2768/0x51c0 net/core/dev.c:4378
  dev\_queue\_xmit include/linux/netdevice.h:3171 \[inline\]
  packet\_xmit+0x9c/0x6b0 net/packet/af\_packet.c:276
  packet\_snd net/packet/af\_packet.c:3081 \[inline\]
  packet\_sendmsg+0x8aef/0x9f10 net/packet/af\_packet.c:3113
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg net/socket.c:745 \[inline\]
  \_\_sys\_sendto+0x735/0xa10 net/socket.c:2191
  \_\_do\_sys\_sendto net/socket.c:2203 \[inline\]
  \_\_se\_sys\_sendto net/socket.c:2199 \[inline\]
  \_\_x64\_sys\_sendto+0x125/0x1c0 net/socket.c:2199
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcf/0x1e0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

Uninit was created at:
  slab\_post\_alloc\_hook mm/slub.c:3819 \[inline\]
  slab\_alloc\_node mm/slub.c:3860 \[inline\]
  kmem\_cache\_alloc\_node+0x5cb/0xbc0 mm/slub.c:3903
  kmalloc\_reserve+0x13d/0x4a0 net/core/skbuff.c:560
  \_\_alloc\_skb+0x352/0x790 net/core/skbuff.c:651
  alloc\_skb include/linux/skbuff.h:1296 \[inline\]
  alloc\_skb\_with\_frags+0xc8/0xbd0 net/core/skbuff.c:6394
  sock\_alloc\_send\_pskb+0xa80/0xbf0 net/core/sock.c:2783
  packet\_alloc\_skb net/packet/af\_packet.c:2930 \[inline\]
  packet\_snd net/packet/af\_packet.c:3024 \[inline\]
  packet\_sendmsg+0x70c2/0x9f10 net/packet/af\_packet.c:3113
  sock\_sendmsg\_nosec net/socket.c:730 \[inline\]
  \_\_sock\_sendmsg net/socket.c:745 \[inline\]
  \_\_sys\_sendto+0x735/0xa10 net/socket.c:2191
  \_\_do\_sys\_sendto net/socket.c:2203 \[inline\]
  \_\_se\_sys\_sendto net/socket.c:2199 \[inline\]
  \_\_x64\_sys\_sendto+0x125/0x1c0 net/socket.c:2199
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcf/0x1e0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0x6b

## Affected and fixed versions

- Linux: \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e431c3227864b5646601c97f5f898d99472f2914; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 59d2a4076983303f324557a114cfd5c32e1f6b29; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c7137900691f5692fe3de54566ea7b30bb35d66c; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e77e0b0f2a11735c64b105edaee54d6344faca8a; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c0b22568a9d8384fd000cc49acb8f74bde40d1b5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 048e16dee1fc609c1c85072ccd70bfd4b5fef6ca; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 1ca1ba465e55b9460e4e75dec9fff31e708fec74 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 1ca1ba465e55b9460e4e75dec9fff31e708fec74 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26857.md
Affected: Linux >= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, < e431c3227864b5646601c97f5f898d99472f2914; >= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, < 59d2a4076983303f324557a114cfd5c32e1f6b29; >= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, < c7137900691f5692fe3de54566ea7b30bb35d66c; >= 2d07dc79fe04a43d82a346c…
Fixed in: Linux 59d2a4076983303f324557a114cfd5c32e1f6b29, Linux 0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5, Linux 048e16dee1fc609c1c85072ccd70bfd4b5fef6ca, Linux 1ca1ba465e55b9460e4e75dec9fff31e708fec74

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

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

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

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

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

Linux \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e431c3227864b5646601c97f5f898d99472f2914; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 59d2a4076983303f324557a114cfd5c32e1f6b29; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c7137900691f5692fe3de54566ea7b30bb35d66c; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< e77e0b0f2a11735c64b105edaee54d6344faca8a; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< c0b22568a9d8384fd000cc49acb8f74bde40d1b5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 048e16dee1fc609c1c85072ccd70bfd4b5fef6ca; \>= 2d07dc79fe04a43d82a346ced6bbf07bdb523f1b, \< 1ca1ba465e55b9460e4e75dec9fff31e708fec74; Linux 4.2.

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

Yes. Fixed in Linux 59d2a4076983303f324557a114cfd5c32e1f6b29, Linux 0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5, Linux 048e16dee1fc609c1c85072ccd70bfd4b5fef6ca, Linux 1ca1ba465e55b9460e4e75dec9fff31e708fec74. Upgrade Linux to 1ca1ba465e55b9460e4e75dec9fff31e708fec74 or later.

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

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/e431c3227864b5646601c97f5f898d99472f2914>
- patch: <https://git.kernel.org/stable/c/59d2a4076983303f324557a114cfd5c32e1f6b29>
- patch: <https://git.kernel.org/stable/c/c7137900691f5692fe3de54566ea7b30bb35d66c>
- patch: <https://git.kernel.org/stable/c/e77e0b0f2a11735c64b105edaee54d6344faca8a>
- patch: <https://git.kernel.org/stable/c/c0b22568a9d8384fd000cc49acb8f74bde40d1b5>
- patch: <https://git.kernel.org/stable/c/0ece581d2a66e8e488c0d3b3e7b5760dbbfdbdd5>
- patch: <https://git.kernel.org/stable/c/048e16dee1fc609c1c85072ccd70bfd4b5fef6ca>
- patch: <https://git.kernel.org/stable/c/1ca1ba465e55b9460e4e75dec9fff31e708fec74>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.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-26857>

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