syzbot
WARNING in udp_v6_send_skb
Status:
upstream: reported on 2026/07/30 00:10
Subsystems:
net
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+ce13c07d96d04716eaa2@syzkaller.appspotmail.com
Fix commit:
b83641e0ab8b
net: ipv4: Fix UDP length overflow with PMTU discover and big MTU
0ae10b6be49b
net: ipv6: Fix UDP length overflow with PMTU discover and big MTU
Patched on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-snapshot-upstream-root ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-linux-next-kasan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce], missing on: [ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-kasan-gce-386 ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-rust-kasan-gce ci2-upstream-usb]
First crash: 50d, last: 5d21h
Sample crash report:
------------[ cut here ]-
------------[ cut here ]------------
len >= 65536u
WARNING: ./include/linux/udp.h:49 at udp_set_len_short include/linux/udp.h:49 [inline], CPU#0: syz.3.1238/9751
WARNING: ./include/linux/udp.h:49 at udp_v6_send_skb+0xd3b/0x13a0 net/ipv6/udp.c:1388, CPU#0: syz.3.1238/9751
Modules linked in:
CPU: 0 UID: 0 PID: 9751 Comm: syz.3.1238 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:udp_set_len_short include/linux/udp.h:49 [inline]
RIP: 0010:udp_v6_send_skb+0xd3b/0x13a0 net/ipv6/udp.c:1388
Code: 42 0f b6 04 38 84 c0 0f 85 37 06 00 00 41 0f b7 1e e9 60 f3 ff ff e8 d4 72 32 f7 90 0f 0b 90 e9 02 f4 ff ff e8 c6 72 32 f7 90 <0f> 0b 90 e9 e9 f4 ff ff e8 b8 72 32 f7 90 0f 0b 90 e9 94 f5 ff ff
RSP: 0018:ffffc900071a7748 EFLAGS: 00010283
RAX: ffffffff8a95485a RBX: ffff88807abdbac0 RCX: 0000000000080000
RDX: ffffc9000f099000 RSI: 000000000000e46d RDI: 000000000000e46e
RBP: 000000000000284e R08: ffff88801e34ddc0 R09: 0000000000000003
R10: 000000000000000b R11: 0000000000000002 R12: dffffc0000000000
R13: ffff88807716bb40 R14: 0000000000032608 R15: ffff88807abdbac2
FS: 00007f71af1f66c0(0000) GS:ffff888124cd9000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000032000 CR3: 0000000031948000 CR4: 00000000003526f0
Call Trace:
<TASK>
udp_v6_push_pending_frames+0xa2/0x140 net/ipv6/udp.c:1464
udpv6_sendmsg+0xfa0/0x2610 net/ipv6/udp.c:1753
sock_sendmsg_nosec+0x90/0x180 net/socket.c:800
__sock_sendmsg net/socket.c:815 [inline]
sock_write_iter+0x2de/0x3e0 net/socket.c:1266
new_sync_write fs/read_write.c:595 [inline]
vfs_write+0x612/0xba0 fs/read_write.c:687
ksys_write+0x150/0x270 fs/read_write.c:739
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f71b0f9e159
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f71af1f6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f71b1226090 RCX: 00007f71b0f9e159
RDX: 0000000000032600 RSI: 0000200000000100 RDI: 0000000000000003
RBP: 00007f71b103503b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f71b1226128 R14: 00007f71b1226090 R15: 00007ffc6003c838
</TASK>
* Struck through repros no longer work on HEAD.