# CVE-2024-56636: geneve: do not assume mac header is set in geneve\_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, NVD) `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.30% (percentile 15, 2026-11-28)
- **Published:** 2024-12-27T15:02:38.946Z
- **Modified:** 2026-11-05T21:17:36.783Z

## Who should check

- Anyone running Linux \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< d9fa09ca004befe9cf826d6820439cb6f93cecd7; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< b65958284401016b983078c68f70b047537f4aba; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 97ce3a4ec55eac6b5e2949ffb04028d604afda3b; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 177b72ed7c77b11e46dd4336d73a87a77a5603af; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 8588c99c7d47448fcae39e3227d6e2bb97aad86d
- Anyone running Linux 5.0

## Description

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

geneve: do not assume mac header is set in geneve\_xmit\_skb()

We should not assume mac header is set in output path.

Use skb\_eth\_hdr() instead of eth\_hdr() to fix the issue.

sysbot reported the following :

 WARNING: CPU: 0 PID: 11635 at include/linux/skbuff.h:3052 skb\_mac\_header include/linux/skbuff.h:3052 \[inline\]
 WARNING: CPU: 0 PID: 11635 at include/linux/skbuff.h:3052 eth\_hdr include/linux/if\_ether.h:24 \[inline\]
 WARNING: CPU: 0 PID: 11635 at include/linux/skbuff.h:3052 geneve\_xmit\_skb drivers/net/geneve.c:898 \[inline\]
 WARNING: CPU: 0 PID: 11635 at include/linux/skbuff.h:3052 geneve\_xmit+0x4c38/0x5730 drivers/net/geneve.c:1039
Modules linked in:
CPU: 0 UID: 0 PID: 11635 Comm: syz.4.1423 Not tainted 6.12.0-syzkaller-10296-gaaf20f870da0 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
 RIP: 0010:skb\_mac\_header include/linux/skbuff.h:3052 \[inline\]
 RIP: 0010:eth\_hdr include/linux/if\_ether.h:24 \[inline\]
 RIP: 0010:geneve\_xmit\_skb drivers/net/geneve.c:898 \[inline\]
 RIP: 0010:geneve\_xmit+0x4c38/0x5730 drivers/net/geneve.c:1039
Code: 21 c6 02 e9 35 d4 ff ff e8 a5 48 4c fb 90 0f 0b 90 e9 fd f5 ff ff e8 97 48 4c fb 90 0f 0b 90 e9 d8 f5 ff ff e8 89 48 4c fb 90 \<0f\> 0b 90 e9 41 e4 ff ff e8 7b 48 4c fb 90 0f 0b 90 e9 cd e7 ff ff
RSP: 0018:ffffc90003b2f870 EFLAGS: 00010283
RAX: 000000000000037a RBX: 000000000000ffff RCX: ffffc9000dc3d000
RDX: 0000000000080000 RSI: ffffffff86428417 RDI: 0000000000000003
RBP: ffffc90003b2f9f0 R08: 0000000000000003 R09: 000000000000ffff
R10: 000000000000ffff R11: 0000000000000002 R12: ffff88806603c000
R13: 0000000000000000 R14: ffff8880685b2780 R15: 0000000000000e23
FS:  00007fdc2deed6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b30a1dff8 CR3: 0000000056b8c000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 \<TASK\>
  \_\_netdev\_start\_xmit include/linux/netdevice.h:5002 \[inline\]
  netdev\_start\_xmit include/linux/netdevice.h:5011 \[inline\]
  \_\_dev\_direct\_xmit+0x58a/0x720 net/core/dev.c:4490
  dev\_direct\_xmit include/linux/netdevice.h:3181 \[inline\]
  packet\_xmit+0x1e4/0x360 net/packet/af\_packet.c:285
  packet\_snd net/packet/af\_packet.c:3146 \[inline\]
  packet\_sendmsg+0x2700/0x5660 net/packet/af\_packet.c:3178
  sock\_sendmsg\_nosec net/socket.c:711 \[inline\]
  \_\_sock\_sendmsg net/socket.c:726 \[inline\]
  \_\_sys\_sendto+0x488/0x4f0 net/socket.c:2197
  \_\_do\_sys\_sendto net/socket.c:2204 \[inline\]
  \_\_se\_sys\_sendto net/socket.c:2200 \[inline\]
  \_\_x64\_sys\_sendto+0xe0/0x1c0 net/socket.c:2200
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcd/0x250 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

## Affected and fixed versions

- Linux: \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< d9fa09ca004befe9cf826d6820439cb6f93cecd7; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< b65958284401016b983078c68f70b047537f4aba; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 97ce3a4ec55eac6b5e2949ffb04028d604afda3b; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 177b72ed7c77b11e46dd4336d73a87a77a5603af; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 8588c99c7d47448fcae39e3227d6e2bb97aad86d (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 8588c99c7d47448fcae39e3227d6e2bb97aad86d 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-56636. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56636.md
Affected: Linux >= a025fb5f49ad38cf749753b16fcd031d0d678f2b, < d9fa09ca004befe9cf826d6820439cb6f93cecd7; >= a025fb5f49ad38cf749753b16fcd031d0d678f2b, < b65958284401016b983078c68f70b047537f4aba; >= a025fb5f49ad38cf749753b16fcd031d0d678f2b, < 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a; >= a025fb5f49ad38cf749753b…
Fixed in: Linux 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a, Linux 97ce3a4ec55eac6b5e2949ffb04028d604afda3b, Linux 177b72ed7c77b11e46dd4336d73a87a77a5603af, Linux 8588c99c7d47448fcae39e3227d6e2bb97aad86d

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

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

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

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

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

Linux \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< d9fa09ca004befe9cf826d6820439cb6f93cecd7; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< b65958284401016b983078c68f70b047537f4aba; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 97ce3a4ec55eac6b5e2949ffb04028d604afda3b; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 177b72ed7c77b11e46dd4336d73a87a77a5603af; \>= a025fb5f49ad38cf749753b16fcd031d0d678f2b, \< 8588c99c7d47448fcae39e3227d6e2bb97aad86d; Linux 5.0.

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

Yes. Fixed in Linux 2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a, Linux 97ce3a4ec55eac6b5e2949ffb04028d604afda3b, Linux 177b72ed7c77b11e46dd4336d73a87a77a5603af, Linux 8588c99c7d47448fcae39e3227d6e2bb97aad86d. Upgrade Linux to 8588c99c7d47448fcae39e3227d6e2bb97aad86d or later.

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

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/d9fa09ca004befe9cf826d6820439cb6f93cecd7>
- patch: <https://git.kernel.org/stable/c/b65958284401016b983078c68f70b047537f4aba>
- patch: <https://git.kernel.org/stable/c/2ee7bdc7cb40abfe658a71fbd10c7db2f4fc4f9a>
- patch: <https://git.kernel.org/stable/c/97ce3a4ec55eac6b5e2949ffb04028d604afda3b>
- patch: <https://git.kernel.org/stable/c/177b72ed7c77b11e46dd4336d73a87a77a5603af>
- patch: <https://git.kernel.org/stable/c/8588c99c7d47448fcae39e3227d6e2bb97aad86d>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.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-56636>

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