# CVE-2023-54051: net: do not allow gso\_size to be set to GSO\_BY\_FRAGS

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-24T12:23:01.043Z
- **Modified:** 2026-06-17T06:46:42.980Z

## Who should check

- Anyone running Linux \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< a5f9e5804d239d288d983db36bbed45ed10729a0; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 0a593e8a9d24360fbc469c5897d0791aa2f20ed3; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 578371ce0d7f67ea1e65817c04478aaab0d36b68; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 2e03a92b241102aaf490439aa1b00239f84f530f; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< e3636862f5595b3d2f02650f7b21d39043a34f3e; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< b616be6b97688f2f2bd7c4a47ab32f27f94fb2a9
- Anyone running Linux 4.8

## Description

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

net: do not allow gso\_size to be set to GSO\_BY\_FRAGS

One missing check in virtio\_net\_hdr\_to\_skb() allowed
syzbot to crash kernels again \[1\]

Do not allow gso\_size to be set to GSO\_BY\_FRAGS (0xffff),
because this magic value is used by the kernel.

\[1\]
general protection fault, probably for non-canonical address 0xdffffc000000000e: 0000 \[\#1\] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range \[0x0000000000000070-0x0000000000000077\]
CPU: 0 PID: 5039 Comm: syz-executor401 Not tainted 6.5.0-rc5-next-20230809-syzkaller \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:skb\_segment+0x1a52/0x3ef0 net/core/skbuff.c:4500
Code: 00 00 00 e9 ab eb ff ff e8 6b 96 5d f9 48 8b 84 24 00 01 00 00 48 8d 78 70 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 \<0f\> b6 04 02 84 c0 74 08 3c 03 0f 8e ea 21 00 00 48 8b 84 24 00 01
RSP: 0018:ffffc90003d3f1c8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 000000000001fffe RCX: 0000000000000000
RDX: 000000000000000e RSI: ffffffff882a3115 RDI: 0000000000000070
RBP: ffffc90003d3f378 R08: 0000000000000005 R09: 000000000000ffff
R10: 000000000000ffff R11: 5ee4a93e456187d6 R12: 000000000001ffc6
R13: dffffc0000000000 R14: 0000000000000008 R15: 000000000000ffff
FS: 00005555563f2380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020020000 CR3: 000000001626d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
\<TASK\>
udp6\_ufo\_fragment+0x9d2/0xd50 net/ipv6/udp\_offload.c:109
ipv6\_gso\_segment+0x5c4/0x17b0 net/ipv6/ip6\_offload.c:120
skb\_mac\_gso\_segment+0x292/0x610 net/core/gso.c:53
\_\_skb\_gso\_segment+0x339/0x710 net/core/gso.c:124
skb\_gso\_segment include/net/gso.h:83 \[inline\]
validate\_xmit\_skb+0x3a5/0xf10 net/core/dev.c:3625
\_\_dev\_queue\_xmit+0x8f0/0x3d60 net/core/dev.c:4329
dev\_queue\_xmit include/linux/netdevice.h:3082 \[inline\]
packet\_xmit+0x257/0x380 net/packet/af\_packet.c:276
packet\_snd net/packet/af\_packet.c:3087 \[inline\]
packet\_sendmsg+0x24c7/0x5570 net/packet/af\_packet.c:3119
sock\_sendmsg\_nosec net/socket.c:727 \[inline\]
sock\_sendmsg+0xd9/0x180 net/socket.c:750
\_\_\_\_sys\_sendmsg+0x6ac/0x940 net/socket.c:2496
\_\_\_sys\_sendmsg+0x135/0x1d0 net/socket.c:2550
\_\_sys\_sendmsg+0x117/0x1e0 net/socket.c:2579
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
RIP: 0033:0x7ff27cdb34d9

## Affected and fixed versions

- Linux: \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< a5f9e5804d239d288d983db36bbed45ed10729a0; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 0a593e8a9d24360fbc469c5897d0791aa2f20ed3; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 578371ce0d7f67ea1e65817c04478aaab0d36b68; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 2e03a92b241102aaf490439aa1b00239f84f530f; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< e3636862f5595b3d2f02650f7b21d39043a34f3e; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< b616be6b97688f2f2bd7c4a47ab32f27f94fb2a9 (cvelist)
- Linux: 4.8 (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-54051. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54051.md
Affected: Linux >= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, < a5f9e5804d239d288d983db36bbed45ed10729a0; >= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, < 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79; >= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, < 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d; >= 3953c46c3ac7eef31a99354…
Fixed in: Linux 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79, Linux 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d, Linux 0a593e8a9d24360fbc469c5897d0791aa2f20ed3, Linux 578371ce0d7f67ea1e65817c04478aaab0d36b68, Linux 2e03a92b241102aaf490439aa1b00239f84f530f

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

There is no confirmed exploitation: CVE-2023-54051 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-54051?

It has no CVSS score yet. Unknown.

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

Linux \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< a5f9e5804d239d288d983db36bbed45ed10729a0; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 0a593e8a9d24360fbc469c5897d0791aa2f20ed3; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 578371ce0d7f67ea1e65817c04478aaab0d36b68; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< 2e03a92b241102aaf490439aa1b00239f84f530f; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< e3636862f5595b3d2f02650f7b21d39043a34f3e; \>= 3953c46c3ac7eef31a9935427371c6f54a22f1ba, \< b616be6b97688f2f2bd7c4a47ab32f27f94fb2a9; Linux 4.8.

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

Yes. Fixed in Linux 4c9bfadb4301daaceb6c575fa6ad3bc82c152e79, Linux 210ff31342ade546d8d9d0ec4d3cf9cb50ae632d, Linux 0a593e8a9d24360fbc469c5897d0791aa2f20ed3, Linux 578371ce0d7f67ea1e65817c04478aaab0d36b68, Linux 2e03a92b241102aaf490439aa1b00239f84f530f. No fix listed yet: follow the vendor advisory.

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

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/a5f9e5804d239d288d983db36bbed45ed10729a0>
- other: <https://git.kernel.org/stable/c/4c9bfadb4301daaceb6c575fa6ad3bc82c152e79>
- other: <https://git.kernel.org/stable/c/210ff31342ade546d8d9d0ec4d3cf9cb50ae632d>
- other: <https://git.kernel.org/stable/c/0a593e8a9d24360fbc469c5897d0791aa2f20ed3>
- other: <https://git.kernel.org/stable/c/578371ce0d7f67ea1e65817c04478aaab0d36b68>
- other: <https://git.kernel.org/stable/c/2e03a92b241102aaf490439aa1b00239f84f530f>
- other: <https://git.kernel.org/stable/c/e3636862f5595b3d2f02650f7b21d39043a34f3e>
- other: <https://git.kernel.org/stable/c/b616be6b97688f2f2bd7c4a47ab32f27f94fb2a9>

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

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