# CVE-2024-26882: net: ip\_tunnel: make sure to pull inner header in ip\_tunnel\_rcv()

> 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.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-457
- **Published:** 2024-04-17T10:27:38.389Z
- **Modified:** 2026-10-15T01:17:28.403Z

## Who should check

- Anyone running Linux \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ec6bb01e02cbd47781dd90775b631a1dc4bd9d2b; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 77fd5294ea09b21f6772ac954a121b87323cec80; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 5c03387021cfa3336b97e0dcba38029917a8af2a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 60044ab84836359534bd7153b92e9c1584140e4a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< c4c857723b37c20651300b3de4ff25059848b4b0; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< f6723d8dbfdc10c784a56748f86a9a3cd410dbd5; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ca914f1cdee8a85799942c9b0ce5015bbd6844e1; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< b0ec2abf98267f14d032102551581c833b0659d3
- Anyone running Linux 3.10

## Description

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

net: ip\_tunnel: make sure to pull inner header in ip\_tunnel\_rcv()

Apply the same fix than ones found in :

8d975c15c0cd ("ip6\_tunnel: make sure to pull inner header in \_\_ip6\_tnl\_rcv()")
1ca1ba465e55 ("geneve: make sure to pull inner header in geneve\_rx()")

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.

syzbot reported:
BUG: KMSAN: uninit-value in \_\_INET\_ECN\_decapsulate include/net/inet\_ecn.h:253 \[inline\]
 BUG: KMSAN: uninit-value in INET\_ECN\_decapsulate include/net/inet\_ecn.h:275 \[inline\]
 BUG: KMSAN: uninit-value in IP\_ECN\_decapsulate include/net/inet\_ecn.h:302 \[inline\]
 BUG: KMSAN: uninit-value in ip\_tunnel\_rcv+0xed9/0x2ed0 net/ipv4/ip\_tunnel.c:409
  \_\_INET\_ECN\_decapsulate include/net/inet\_ecn.h:253 \[inline\]
  INET\_ECN\_decapsulate include/net/inet\_ecn.h:275 \[inline\]
  IP\_ECN\_decapsulate include/net/inet\_ecn.h:302 \[inline\]
  ip\_tunnel\_rcv+0xed9/0x2ed0 net/ipv4/ip\_tunnel.c:409
  \_\_ipgre\_rcv+0x9bc/0xbc0 net/ipv4/ip\_gre.c:389
  ipgre\_rcv net/ipv4/ip\_gre.c:411 \[inline\]
  gre\_rcv+0x423/0x19f0 net/ipv4/ip\_gre.c:447
  gre\_rcv+0x2a4/0x390 net/ipv4/gre\_demux.c:163
  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
  netif\_receive\_skb\_internal net/core/dev.c:5734 \[inline\]
  netif\_receive\_skb+0x58/0x660 net/core/dev.c:5793
  tun\_rx\_batched+0x3ee/0x980 drivers/net/tun.c:1556
  tun\_get\_user+0x53b9/0x66e0 drivers/net/tun.c:2009
  tun\_chr\_write\_iter+0x3af/0x5d0 drivers/net/tun.c:2055
  call\_write\_iter include/linux/fs.h:2087 \[inline\]
  new\_sync\_write fs/read\_write.c:497 \[inline\]
  vfs\_write+0xb6b/0x1520 fs/read\_write.c:590
  ksys\_write+0x20f/0x4c0 fs/read\_write.c:643
  \_\_do\_sys\_write fs/read\_write.c:655 \[inline\]
  \_\_se\_sys\_write fs/read\_write.c:652 \[inline\]
  \_\_x64\_sys\_write+0x93/0xd0 fs/read\_write.c:652
  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:
  \_\_alloc\_pages+0x9a6/0xe00 mm/page\_alloc.c:4590
  alloc\_pages\_mpol+0x62b/0x9d0 mm/mempolicy.c:2133
  alloc\_pages+0x1be/0x1e0 mm/mempolicy.c:2204
  skb\_page\_frag\_refill+0x2bf/0x7c0 net/core/sock.c:2909
  tun\_build\_skb drivers/net/tun.c:1686 \[inline\]
  tun\_get\_user+0xe0a/0x66e0 drivers/net/tun.c:1826
  tun\_chr\_write\_iter+0x3af/0x5d0 drivers/net/tun.c:2055
  call\_write\_iter include/linux/fs.h:2087 \[inline\]
  new\_sync\_write fs/read\_write.c:497 \[inline\]
  vfs\_write+0xb6b/0x1520 fs/read\_write.c:590
  ksys\_write+0x20f/0x4c0 fs/read\_write.c:643
  \_\_do\_sys\_write fs/read\_write.c:655 \[inline\]
  \_\_se\_sys\_write fs/read\_write.c:652 \[inline\]
  \_\_x64\_sys\_write+0x93/0xd0 fs/read\_write.c:652
  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: \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ec6bb01e02cbd47781dd90775b631a1dc4bd9d2b; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 77fd5294ea09b21f6772ac954a121b87323cec80; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 5c03387021cfa3336b97e0dcba38029917a8af2a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 60044ab84836359534bd7153b92e9c1584140e4a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< c4c857723b37c20651300b3de4ff25059848b4b0; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< f6723d8dbfdc10c784a56748f86a9a3cd410dbd5; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ca914f1cdee8a85799942c9b0ce5015bbd6844e1; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< b0ec2abf98267f14d032102551581c833b0659d3 (cvelist)
- Linux: 3.10 (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-26882. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26882.md
Affected: Linux >= c54419321455631079c7d6e60bc732dd0c5914c5, < ec6bb01e02cbd47781dd90775b631a1dc4bd9d2b; >= c54419321455631079c7d6e60bc732dd0c5914c5, < 77fd5294ea09b21f6772ac954a121b87323cec80; >= c54419321455631079c7d6e60bc732dd0c5914c5, < 5c03387021cfa3336b97e0dcba38029917a8af2a; >= c54419321455631079c7d6e…
Fixed in: Linux 77fd5294ea09b21f6772ac954a121b87323cec80, Linux 5c03387021cfa3336b97e0dcba38029917a8af2a, Linux 60044ab84836359534bd7153b92e9c1584140e4a

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

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

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

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

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

Linux \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ec6bb01e02cbd47781dd90775b631a1dc4bd9d2b; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 77fd5294ea09b21f6772ac954a121b87323cec80; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 5c03387021cfa3336b97e0dcba38029917a8af2a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< 60044ab84836359534bd7153b92e9c1584140e4a; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< c4c857723b37c20651300b3de4ff25059848b4b0; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< f6723d8dbfdc10c784a56748f86a9a3cd410dbd5; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< ca914f1cdee8a85799942c9b0ce5015bbd6844e1; \>= c54419321455631079c7d6e60bc732dd0c5914c5, \< b0ec2abf98267f14d032102551581c833b0659d3; Linux 3.10.

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

Yes. Fixed in Linux 77fd5294ea09b21f6772ac954a121b87323cec80, Linux 5c03387021cfa3336b97e0dcba38029917a8af2a, Linux 60044ab84836359534bd7153b92e9c1584140e4a. No fix listed yet: follow the vendor advisory.

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

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/ec6bb01e02cbd47781dd90775b631a1dc4bd9d2b>
- patch: <https://git.kernel.org/stable/c/77fd5294ea09b21f6772ac954a121b87323cec80>
- patch: <https://git.kernel.org/stable/c/5c03387021cfa3336b97e0dcba38029917a8af2a>
- patch: <https://git.kernel.org/stable/c/60044ab84836359534bd7153b92e9c1584140e4a>
- patch: <https://git.kernel.org/stable/c/c4c857723b37c20651300b3de4ff25059848b4b0>
- patch: <https://git.kernel.org/stable/c/f6723d8dbfdc10c784a56748f86a9a3cd410dbd5>
- patch: <https://git.kernel.org/stable/c/ca914f1cdee8a85799942c9b0ce5015bbd6844e1>
- patch: <https://git.kernel.org/stable/c/b0ec2abf98267f14d032102551581c833b0659d3>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://security.netapp.com/advisory/ntap-20241220-0002/>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.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-26882>

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