# CVE-2023-54155: net: core: remove unnecessary frame\_sz check in bpf\_xdp\_adjust\_tail()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T13:07:05.385Z
- **Modified:** 2026-06-17T06:46:54.133Z

## Who should check

- Anyone running Linux \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< a09c258cfa77d3ba0a7acc555c73eb6b005c4bd8; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< 20acffcdc2b74fb7dcc4e299f7aca173df89d911; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d9252d67ed2f921c230bba449ee051b5c32e4841; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d14eea09edf427fa36bd446f4a3271f99164202f
- Anyone running Linux 5.12

## Description

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

net: core: remove unnecessary frame\_sz check in bpf\_xdp\_adjust\_tail()

Syzkaller reported the following issue:
=======================================
Too BIG xdp-\>frame\_sz = 131072
WARNING: CPU: 0 PID: 5020 at net/core/filter.c:4121
  \_\_\_\_bpf\_xdp\_adjust\_tail net/core/filter.c:4121 \[inline\]
WARNING: CPU: 0 PID: 5020 at net/core/filter.c:4121
  bpf\_xdp\_adjust\_tail+0x466/0xa10 net/core/filter.c:4103
...
Call Trace:
 \<TASK\>
 bpf\_prog\_4add87e5301a4105+0x1a/0x1c
 \_\_bpf\_prog\_run include/linux/filter.h:600 \[inline\]
 bpf\_prog\_run\_xdp include/linux/filter.h:775 \[inline\]
 bpf\_prog\_run\_generic\_xdp+0x57e/0x11e0 net/core/dev.c:4721
 netif\_receive\_generic\_xdp net/core/dev.c:4807 \[inline\]
 do\_xdp\_generic+0x35c/0x770 net/core/dev.c:4866
 tun\_get\_user+0x2340/0x3ca0 drivers/net/tun.c:1919
 tun\_chr\_write\_iter+0xe8/0x210 drivers/net/tun.c:2043
 call\_write\_iter include/linux/fs.h:1871 \[inline\]
 new\_sync\_write fs/read\_write.c:491 \[inline\]
 vfs\_write+0x650/0xe40 fs/read\_write.c:584
 ksys\_write+0x12f/0x250 fs/read\_write.c:637
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

xdp-\>frame\_sz \> PAGE\_SIZE check was introduced in commit c8741e2bfe87
("xdp: Allow bpf\_xdp\_adjust\_tail() to grow packet size"). But Jesper
Dangaard Brouer \<jbrouer@redhat.com\> noted that after introducing the
xdp\_init\_buff() which all XDP driver use - it's safe to remove this
check. The original intend was to catch cases where XDP drivers have
not been updated to use xdp.frame\_sz, but that is not longer a concern
(since xdp\_init\_buff).

Running the initial syzkaller repro it was discovered that the
contiguous physical memory allocation is used for both xdp paths in
tun\_get\_user(), e.g. tun\_build\_skb() and tun\_alloc\_skb(). It was also
stated by Jesper Dangaard Brouer \<jbrouer@redhat.com\> that XDP can
work on higher order pages, as long as this is contiguous physical
memory (e.g. a page).

## Affected and fixed versions

- Linux: \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< a09c258cfa77d3ba0a7acc555c73eb6b005c4bd8; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< 20acffcdc2b74fb7dcc4e299f7aca173df89d911; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d9252d67ed2f921c230bba449ee051b5c32e4841; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d14eea09edf427fa36bd446f4a3271f99164202f (cvelist)
- Linux: 5.12 (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-2023-54155. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54155.md
Affected: Linux >= 43b5169d8355ccf26d726fbc75f083b2429113e4, < a09c258cfa77d3ba0a7acc555c73eb6b005c4bd8; >= 43b5169d8355ccf26d726fbc75f083b2429113e4, < 20acffcdc2b74fb7dcc4e299f7aca173df89d911; >= 43b5169d8355ccf26d726fbc75f083b2429113e4, < d9252d67ed2f921c230bba449ee051b5c32e4841; >= 43b5169d8355ccf26d726fb…
Fixed in: Linux 20acffcdc2b74fb7dcc4e299f7aca173df89d911

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< a09c258cfa77d3ba0a7acc555c73eb6b005c4bd8; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< 20acffcdc2b74fb7dcc4e299f7aca173df89d911; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d9252d67ed2f921c230bba449ee051b5c32e4841; \>= 43b5169d8355ccf26d726fbc75f083b2429113e4, \< d14eea09edf427fa36bd446f4a3271f99164202f; Linux 5.12.

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

Yes. Fixed in Linux 20acffcdc2b74fb7dcc4e299f7aca173df89d911. No fix listed yet: follow the vendor advisory.

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

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

- other: <https://git.kernel.org/stable/c/a09c258cfa77d3ba0a7acc555c73eb6b005c4bd8>
- other: <https://git.kernel.org/stable/c/20acffcdc2b74fb7dcc4e299f7aca173df89d911>
- other: <https://git.kernel.org/stable/c/d9252d67ed2f921c230bba449ee051b5c32e4841>
- other: <https://git.kernel.org/stable/c/d14eea09edf427fa36bd446f4a3271f99164202f>

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

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