# CVE-2023-53053: erspan: do not use skb\_mac\_header() in ndo\_start\_xmit()

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.31% (percentile 16, 2026-11-28)
- **Published:** 2025-05-02T15:55:08.575Z
- **Modified:** 2026-11-05T21:17:09.470Z

## Who should check

- Anyone running Linux \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< da149daf821a3c05cd04f7c60776c86c5ee9685c; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b72f453e886af532bde1fd049a2d2421999630d3; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< f8cec30541f5c5cc218e9a32138d45d227727f2f; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b41f37dbd9cdb60000e3b0dfad6df787591c2265; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 9c7d6803689c99d55bbb862260d0ba486ff23c0b; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 5d4172732f0ee1639a361a6cc5c3114bbb397386; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 8e50ed774554f93d55426039b27b1e38d7fa64d8
- Anyone running Linux 4.18

## Description

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

erspan: do not use skb\_mac\_header() in ndo\_start\_xmit()

Drivers should not assume skb\_mac\_header(skb) == skb-\>data in their
ndo\_start\_xmit().

Use skb\_network\_offset() and skb\_transport\_offset() which
better describe what is needed in erspan\_fb\_xmit() and
ip6erspan\_tunnel\_xmit()

syzbot reported:
WARNING: CPU: 0 PID: 5083 at include/linux/skbuff.h:2873 skb\_mac\_header include/linux/skbuff.h:2873 \[inline\]
WARNING: CPU: 0 PID: 5083 at include/linux/skbuff.h:2873 ip6erspan\_tunnel\_xmit+0x1d9c/0x2d90 net/ipv6/ip6\_gre.c:962
Modules linked in:
CPU: 0 PID: 5083 Comm: syz-executor406 Not tainted 6.3.0-rc2-syzkaller-00866-gd4671cb96fa3 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:skb\_mac\_header include/linux/skbuff.h:2873 \[inline\]
RIP: 0010:ip6erspan\_tunnel\_xmit+0x1d9c/0x2d90 net/ipv6/ip6\_gre.c:962
Code: 04 02 41 01 de 84 c0 74 08 3c 03 0f 8e 1c 0a 00 00 45 89 b4 24 c8 00 00 00 c6 85 77 fe ff ff 01 e9 33 e7 ff ff e8 b4 27 a1 f8 \<0f\> 0b e9 b6 e7 ff ff e8 a8 27 a1 f8 49 8d bf f0 0c 00 00 48 b8 00
RSP: 0018:ffffc90003b2f830 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000000ffff RCX: 0000000000000000
RDX: ffff888021273a80 RSI: ffffffff88e1bd4c RDI: 0000000000000003
RBP: ffffc90003b2f9d8 R08: 0000000000000003 R09: 000000000000ffff
R10: 000000000000ffff R11: 0000000000000000 R12: ffff88802b28da00
R13: 00000000000000d0 R14: ffff88807e25b6d0 R15: ffff888023408000
FS: 0000555556a61300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e5b11eb6e8 CR3: 0000000027c1b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
\_\_netdev\_start\_xmit include/linux/netdevice.h:4900 \[inline\]
netdev\_start\_xmit include/linux/netdevice.h:4914 \[inline\]
\_\_dev\_direct\_xmit+0x504/0x730 net/core/dev.c:4300
dev\_direct\_xmit include/linux/netdevice.h:3088 \[inline\]
packet\_xmit+0x20a/0x390 net/packet/af\_packet.c:285
packet\_snd net/packet/af\_packet.c:3075 \[inline\]
packet\_sendmsg+0x31a0/0x5150 net/packet/af\_packet.c:3107
sock\_sendmsg\_nosec net/socket.c:724 \[inline\]
sock\_sendmsg+0xde/0x190 net/socket.c:747
\_\_sys\_sendto+0x23a/0x340 net/socket.c:2142
\_\_do\_sys\_sendto net/socket.c:2154 \[inline\]
\_\_se\_sys\_sendto net/socket.c:2150 \[inline\]
\_\_x64\_sys\_sendto+0xe1/0x1b0 net/socket.c:2150
do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
do\_syscall\_64+0x39/0xb0 arch/x86/entry/common.c:80
entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd
RIP: 0033:0x7f123aaa1039
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \<48\> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc15d12058 EFLAGS: 00000246 ORIG\_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f123aaa1039
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000020000040 R09: 0000000000000014
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f123aa648c0
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000

## Affected and fixed versions

- Linux: \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< da149daf821a3c05cd04f7c60776c86c5ee9685c; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b72f453e886af532bde1fd049a2d2421999630d3; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< f8cec30541f5c5cc218e9a32138d45d227727f2f; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b41f37dbd9cdb60000e3b0dfad6df787591c2265; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 9c7d6803689c99d55bbb862260d0ba486ff23c0b; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 5d4172732f0ee1639a361a6cc5c3114bbb397386; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 8e50ed774554f93d55426039b27b1e38d7fa64d8 (cvelist)
- Linux: 4.18 (cvelist)

## Mitigation

- Upgrade Linux to 8e50ed774554f93d55426039b27b1e38d7fa64d8 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53053.md
Affected: Linux >= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, < da149daf821a3c05cd04f7c60776c86c5ee9685c; >= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, < b72f453e886af532bde1fd049a2d2421999630d3; >= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, < f8cec30541f5c5cc218e9a32138d45d227727f2f; >= 1baf5ebf8954d9bff8fa4e7…
Fixed in: Linux 9c7d6803689c99d55bbb862260d0ba486ff23c0b, Linux 5d4172732f0ee1639a361a6cc5c3114bbb397386, Linux 8e50ed774554f93d55426039b27b1e38d7fa64d8

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-2023-53053 being exploited?

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

### How serious is CVE-2023-53053?

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

### Which versions are affected by CVE-2023-53053?

Linux \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< da149daf821a3c05cd04f7c60776c86c5ee9685c; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b72f453e886af532bde1fd049a2d2421999630d3; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< f8cec30541f5c5cc218e9a32138d45d227727f2f; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< b41f37dbd9cdb60000e3b0dfad6df787591c2265; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 9c7d6803689c99d55bbb862260d0ba486ff23c0b; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 5d4172732f0ee1639a361a6cc5c3114bbb397386; \>= 1baf5ebf8954d9bff8fa4e7dd6c416a0cebdb9e2, \< 8e50ed774554f93d55426039b27b1e38d7fa64d8; Linux 4.18.

### Is there a fix for CVE-2023-53053?

Yes. Fixed in Linux 9c7d6803689c99d55bbb862260d0ba486ff23c0b, Linux 5d4172732f0ee1639a361a6cc5c3114bbb397386, Linux 8e50ed774554f93d55426039b27b1e38d7fa64d8. Upgrade Linux to 8e50ed774554f93d55426039b27b1e38d7fa64d8 or later.

### How do I check if I'm affected by CVE-2023-53053?

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/da149daf821a3c05cd04f7c60776c86c5ee9685c>
- patch: <https://git.kernel.org/stable/c/b72f453e886af532bde1fd049a2d2421999630d3>
- patch: <https://git.kernel.org/stable/c/f8cec30541f5c5cc218e9a32138d45d227727f2f>
- patch: <https://git.kernel.org/stable/c/b41f37dbd9cdb60000e3b0dfad6df787591c2265>
- patch: <https://git.kernel.org/stable/c/9c7d6803689c99d55bbb862260d0ba486ff23c0b>
- patch: <https://git.kernel.org/stable/c/5d4172732f0ee1639a361a6cc5c3114bbb397386>
- patch: <https://git.kernel.org/stable/c/8e50ed774554f93d55426039b27b1e38d7fa64d8>

## 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-2023-53053>

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