# CVE-2023-53109: net: tunnels: annotate lockless accesses to dev-\>needed\_headroom

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-05-02T15:55:49.654Z
- **Modified:** 2026-11-05T21:17:13.730Z

## Who should check

- Anyone running Linux \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 8e206f66d824b3b28a7f9ee1366dfc79a937bb46; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 51f3bd3765bc5ca4583af07a00833da00d2ace1d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 5aaab217c8f5387b9c5fff9e940d80f135e04366; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< be59b87ee4aed81db7c10e44f603866a0ac3ca5d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< e0a557fc1daf5c1086e47150a4571aebadbb62be; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< a69b72b57b7d269e833e520ba7500d556e8189b6; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 9b86a8702b042ee4e15d2d46375be873a6a8834f; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 4b397c06cb987935b1b097336532aa6b4210e091
- Anyone running Linux 4.7

## Description

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

net: tunnels: annotate lockless accesses to dev-\>needed\_headroom

IP tunnels can apparently update dev-\>needed\_headroom
in their xmit path.

This patch takes care of three tunnels xmit, and also the
core LL\_RESERVED\_SPACE() and LL\_RESERVED\_SPACE\_EXTRA()
helpers.

More changes might be needed for completeness.

BUG: KCSAN: data-race in ip\_tunnel\_xmit / ip\_tunnel\_xmit

read to 0xffff88815b9da0ec of 2 bytes by task 888 on cpu 1:
ip\_tunnel\_xmit+0x1270/0x1730 net/ipv4/ip\_tunnel.c:803
\_\_gre\_xmit net/ipv4/ip\_gre.c:469 \[inline\]
ipgre\_xmit+0x516/0x570 net/ipv4/ip\_gre.c:661
\_\_netdev\_start\_xmit include/linux/netdevice.h:4881 \[inline\]
netdev\_start\_xmit include/linux/netdevice.h:4895 \[inline\]
xmit\_one net/core/dev.c:3580 \[inline\]
dev\_hard\_start\_xmit+0x127/0x400 net/core/dev.c:3596
\_\_dev\_queue\_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev\_queue\_xmit include/linux/netdevice.h:3051 \[inline\]
neigh\_direct\_output+0x17/0x20 net/core/neighbour.c:1623
neigh\_output include/net/neighbour.h:546 \[inline\]
ip\_finish\_output2+0x740/0x840 net/ipv4/ip\_output.c:228
ip\_finish\_output+0xf4/0x240 net/ipv4/ip\_output.c:316
NF\_HOOK\_COND include/linux/netfilter.h:291 \[inline\]
ip\_output+0xe5/0x1b0 net/ipv4/ip\_output.c:430
dst\_output include/net/dst.h:444 \[inline\]
ip\_local\_out+0x64/0x80 net/ipv4/ip\_output.c:126
iptunnel\_xmit+0x34a/0x4b0 net/ipv4/ip\_tunnel\_core.c:82
ip\_tunnel\_xmit+0x1451/0x1730 net/ipv4/ip\_tunnel.c:813
\_\_gre\_xmit net/ipv4/ip\_gre.c:469 \[inline\]
ipgre\_xmit+0x516/0x570 net/ipv4/ip\_gre.c:661
\_\_netdev\_start\_xmit include/linux/netdevice.h:4881 \[inline\]
netdev\_start\_xmit include/linux/netdevice.h:4895 \[inline\]
xmit\_one net/core/dev.c:3580 \[inline\]
dev\_hard\_start\_xmit+0x127/0x400 net/core/dev.c:3596
\_\_dev\_queue\_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev\_queue\_xmit include/linux/netdevice.h:3051 \[inline\]
neigh\_direct\_output+0x17/0x20 net/core/neighbour.c:1623
neigh\_output include/net/neighbour.h:546 \[inline\]
ip\_finish\_output2+0x740/0x840 net/ipv4/ip\_output.c:228
ip\_finish\_output+0xf4/0x240 net/ipv4/ip\_output.c:316
NF\_HOOK\_COND include/linux/netfilter.h:291 \[inline\]
ip\_output+0xe5/0x1b0 net/ipv4/ip\_output.c:430
dst\_output include/net/dst.h:444 \[inline\]
ip\_local\_out+0x64/0x80 net/ipv4/ip\_output.c:126
iptunnel\_xmit+0x34a/0x4b0 net/ipv4/ip\_tunnel\_core.c:82
ip\_tunnel\_xmit+0x1451/0x1730 net/ipv4/ip\_tunnel.c:813
\_\_gre\_xmit net/ipv4/ip\_gre.c:469 \[inline\]
ipgre\_xmit+0x516/0x570 net/ipv4/ip\_gre.c:661
\_\_netdev\_start\_xmit include/linux/netdevice.h:4881 \[inline\]
netdev\_start\_xmit include/linux/netdevice.h:4895 \[inline\]
xmit\_one net/core/dev.c:3580 \[inline\]
dev\_hard\_start\_xmit+0x127/0x400 net/core/dev.c:3596
\_\_dev\_queue\_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev\_queue\_xmit include/linux/netdevice.h:3051 \[inline\]
neigh\_direct\_output+0x17/0x20 net/core/neighbour.c:1623
neigh\_output include/net/neighbour.h:546 \[inline\]
ip\_finish\_output2+0x740/0x840 net/ipv4/ip\_output.c:228
ip\_finish\_output+0xf4/0x240 net/ipv4/ip\_output.c:316
NF\_HOOK\_COND include/linux/netfilter.h:291 \[inline\]
ip\_output+0xe5/0x1b0 net/ipv4/ip\_output.c:430
dst\_output include/net/dst.h:444 \[inline\]
ip\_local\_out+0x64/0x80 net/ipv4/ip\_output.c:126
iptunnel\_xmit+0x34a/0x4b0 net/ipv4/ip\_tunnel\_core.c:82
ip\_tunnel\_xmit+0x1451/0x1730 net/ipv4/ip\_tunnel.c:813
\_\_gre\_xmit net/ipv4/ip\_gre.c:469 \[inline\]
ipgre\_xmit+0x516/0x570 net/ipv4/ip\_gre.c:661
\_\_netdev\_start\_xmit include/linux/netdevice.h:4881 \[inline\]
netdev\_start\_xmit include/linux/netdevice.h:4895 \[inline\]
xmit\_one net/core/dev.c:3580 \[inline\]
dev\_hard\_start\_xmit+0x127/0x400 net/core/dev.c:3596
\_\_dev\_queue\_xmit+0x1007/0x1eb0 net/core/dev.c:4246
dev\_queue\_xmit include/linux/netdevice.h:3051 \[inline\]
neigh\_direct\_output+0x17/0x20 net/core/neighbour.c:1623
neigh\_output include/net/neighbour.h:546 \[inline\]
ip\_finish\_output2+0x740/0x840 net/ipv4/ip\_output.c:228
ip\_finish\_output+0xf4/0x240 net/ipv4/ip\_output.c:316
NF\_HOOK\_COND include/linux/netfilter.h:291 \[inline\]
ip\_output+0xe5/0x1b0 net/i
---truncated---

## Affected and fixed versions

- Linux: \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 8e206f66d824b3b28a7f9ee1366dfc79a937bb46; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 51f3bd3765bc5ca4583af07a00833da00d2ace1d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 5aaab217c8f5387b9c5fff9e940d80f135e04366; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< be59b87ee4aed81db7c10e44f603866a0ac3ca5d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< e0a557fc1daf5c1086e47150a4571aebadbb62be; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< a69b72b57b7d269e833e520ba7500d556e8189b6; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 9b86a8702b042ee4e15d2d46375be873a6a8834f; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 4b397c06cb987935b1b097336532aa6b4210e091 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2023-53109.md
Affected: Linux >= 8eb30be0352d09165e94a41fef1c7b994dca0714, < 8e206f66d824b3b28a7f9ee1366dfc79a937bb46; >= 8eb30be0352d09165e94a41fef1c7b994dca0714, < 51f3bd3765bc5ca4583af07a00833da00d2ace1d; >= 8eb30be0352d09165e94a41fef1c7b994dca0714, < 5aaab217c8f5387b9c5fff9e940d80f135e04366; >= 8eb30be0352d09165e94a41…
Fixed in: Linux 8e206f66d824b3b28a7f9ee1366dfc79a937bb46, Linux 51f3bd3765bc5ca4583af07a00833da00d2ace1d, Linux 5aaab217c8f5387b9c5fff9e940d80f135e04366, Linux 9b86a8702b042ee4e15d2d46375be873a6a8834f, Linux 4b397c06cb987935b1b097336532aa6b4210e091

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

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

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

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

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

Linux \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 8e206f66d824b3b28a7f9ee1366dfc79a937bb46; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 51f3bd3765bc5ca4583af07a00833da00d2ace1d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 5aaab217c8f5387b9c5fff9e940d80f135e04366; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< be59b87ee4aed81db7c10e44f603866a0ac3ca5d; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< e0a557fc1daf5c1086e47150a4571aebadbb62be; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< a69b72b57b7d269e833e520ba7500d556e8189b6; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 9b86a8702b042ee4e15d2d46375be873a6a8834f; \>= 8eb30be0352d09165e94a41fef1c7b994dca0714, \< 4b397c06cb987935b1b097336532aa6b4210e091; Linux 4.7.

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

Yes. Fixed in Linux 8e206f66d824b3b28a7f9ee1366dfc79a937bb46, Linux 51f3bd3765bc5ca4583af07a00833da00d2ace1d, Linux 5aaab217c8f5387b9c5fff9e940d80f135e04366, Linux 9b86a8702b042ee4e15d2d46375be873a6a8834f, Linux 4b397c06cb987935b1b097336532aa6b4210e091. Upgrade Linux to 4b397c06cb987935b1b097336532aa6b4210e091 or later.

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

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/8e206f66d824b3b28a7f9ee1366dfc79a937bb46>
- patch: <https://git.kernel.org/stable/c/51f3bd3765bc5ca4583af07a00833da00d2ace1d>
- patch: <https://git.kernel.org/stable/c/5aaab217c8f5387b9c5fff9e940d80f135e04366>
- patch: <https://git.kernel.org/stable/c/be59b87ee4aed81db7c10e44f603866a0ac3ca5d>
- patch: <https://git.kernel.org/stable/c/e0a557fc1daf5c1086e47150a4571aebadbb62be>
- patch: <https://git.kernel.org/stable/c/a69b72b57b7d269e833e520ba7500d556e8189b6>
- patch: <https://git.kernel.org/stable/c/9b86a8702b042ee4e15d2d46375be873a6a8834f>
- patch: <https://git.kernel.org/stable/c/4b397c06cb987935b1b097336532aa6b4210e091>

## 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-53109>

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