------------[ cut here ]------------
len > ((int)(~0U >> 1))
WARNING: ./include/linux/skbuff.h:2864 at pskb_may_pull_reason include/linux/skbuff.h:2864 [inline], CPU#0: syz.6.2273/16624
WARNING: ./include/linux/skbuff.h:2864 at pskb_may_pull include/linux/skbuff.h:2882 [inline], CPU#0: syz.6.2273/16624
WARNING: ./include/linux/skbuff.h:2864 at qdisc_pkt_len_segs_init+0x4b4/0xa30 net/core/dev.c:4141, CPU#0: syz.6.2273/16624
Modules linked in:
CPU: 0 UID: 0 PID: 16624 Comm: syz.6.2273 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:pskb_may_pull_reason include/linux/skbuff.h:2864 [inline]
RIP: 0010:pskb_may_pull include/linux/skbuff.h:2882 [inline]
RIP: 0010:qdisc_pkt_len_segs_init+0x4b4/0xa30 net/core/dev.c:4141
Code: 00 00 02 00 31 ff e8 eb 1a 25 f8 81 e3 00 00 02 00 0f 85 fd 00 00 00 e8 9a 16 25 f8 45 89 e7 e9 2c ff ff ff e8 8d 16 25 f8 90 <0f> 0b 90 e9 ee fd ff ff 44 89 e7 89 de e8 3a 18 25 f8 41 39 dc 0f
RSP: 0018:ffffc90000007660 EFLAGS: 00010246
RAX: ffffffff89a15bb3 RBX: 0000000000000003 RCX: ffff88804f783e00
RDX: 0000000000000100 RSI: 00000000fffffffe RDI: 0000000000000000
RBP: ffff888079ae73c0 R08: ffffc9000000789f R09: 0000000000000000
R10: ffffc90000007830 R11: fffff52000000f14 R12: 00000000fffffffe
R13: dffffc0000000000 R14: 1ffff1100f35ce93 R15: ffff88807a3a4b58
FS: 00007f2f159f66c0(0000) GS:ffff888124f5e000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdeadea428 CR3: 000000007bb58000 CR4: 00000000003526f0
Call Trace:
sch_handle_ingress net/core/dev.c:4482 [inline]
__netif_receive_skb_core+0x13aa/0x30b0 net/core/dev.c:6060
__netif_receive_skb_list_core+0x24d/0x830 net/core/dev.c:6284
__netif_receive_skb_list net/core/dev.c:6351 [inline]
netif_receive_skb_list_internal+0x995/0xcf0 net/core/dev.c:6442
gro_normal_list include/net/gro.h:523 [inline]
gro_flush_normal include/net/gro.h:531 [inline]
napi_complete_done+0x299/0x730 net/core/dev.c:6810
gro_cell_poll+0x5ab/0x5d0 net/core/gro_cells.c:74
__napi_poll+0xaa/0x330 net/core/dev.c:7732
napi_poll net/core/dev.c:7795 [inline]
net_rx_action+0x61d/0xf50 net/core/dev.c:7952
handle_softirqs+0x225/0x840 kernel/softirq.c:622
do_softirq+0x76/0xd0 kernel/softirq.c:523
__local_bh_enable_ip+0xf8/0x130 kernel/softirq.c:450
local_bh_enable include/linux/bottom_half.h:33 [inline]
tun_rx_batched+0x616/0x790 drivers/net/tun.c:-1
tun_get_user+0x2b44/0x4370 drivers/net/tun.c:1986
tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2032
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:63 [inline]
do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2f1779de59
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:00007f2f159f6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f2f17a25fa0 RCX: 00007f2f1779de59
RDX: 000000000000007a RSI: 00002000000004c0 RDI: 0000000000000003
RBP: 00007f2f17833e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2f17a26038 R14: 00007f2f17a25fa0 R15: 00007ffec2b9f4d8