------------[ cut here ]------------ skb_assert_len WARNING: ./include/linux/skbuff.h:2736 at skb_assert_len include/linux/skbuff.h:2736 [inline], CPU#0: syz.0.0/5330 WARNING: ./include/linux/skbuff.h:2736 at __dev_queue_xmit+0x1fd7/0x3920 net/core/dev.c:4857, CPU#0: syz.0.0/5330 Modules linked in: CPU: 0 UID: 0 PID: 5330 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:skb_assert_len include/linux/skbuff.h:2736 [inline] RIP: 0010:__dev_queue_xmit+0x1fde/0x3920 net/core/dev.c:4857 Code: 48 c7 44 24 08 00 00 00 00 e9 58 fe ff ff e8 f9 a4 11 f8 90 0f 0b 90 e9 ba e1 ff ff 48 8d 3d 19 56 d3 07 48 c7 c6 64 58 68 8e <67> 48 0f b9 3a 80 3d 9f 9a ad 07 01 0f 85 78 03 00 00 e8 cb a4 11 RSP: 0018:ffffc9000ea06b40 EFLAGS: 00010246 RAX: ffffffff89b67364 RBX: ffff88801fa97210 RCX: ffff88800030cb00 RDX: 0000000000000002 RSI: ffffffff8e685864 RDI: ffffffff9189e770 RBP: ffffc9000ea06df0 R08: ffff888053fa1ee3 R09: 1ffff1100a7f43dc R10: dffffc0000000000 R11: ffffffff89dee2c0 R12: dffffc0000000000 R13: 1ffff92001d40d88 R14: 0000000000000000 R15: ffff88801fa97210 FS: 00007f3be72016c0(0000) GS:ffff88808b0b0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 000000001fabb000 CR4: 0000000000352ef0 Call Trace: sch_frag_xmit_hook+0x28b/0x1550 net/sched/sch_frag.c:156 tcf_mirred_forward net/sched/act_mirred.c:242 [inline] tcf_mirred_to_dev+0x854/0xe60 net/sched/act_mirred.c:328 tcf_mirred_act+0x1169/0x1880 net/sched/act_mirred.c:489 tc_act include/net/tc_wrapper.h:131 [inline] tcf_action_exec+0x185/0x8d0 net/sched/act_api.c:1161 tc_classify include/net/tc_wrapper.h:198 [inline] __tcf_classify net/sched/cls_api.c:1779 [inline] tcf_classify+0x43d/0x1160 net/sched/cls_api.c:1875 tc_run+0x42d/0x750 net/core/dev.c:4491 sch_handle_ingress net/core/dev.c:4566 [inline] __netif_receive_skb_core+0x1443/0x30c0 net/core/dev.c:6148 __netif_receive_skb_one_core net/core/dev.c:6295 [inline] __netif_receive_skb net/core/dev.c:6410 [inline] netif_receive_skb_internal net/core/dev.c:6496 [inline] netif_receive_skb+0x1fe/0xbf0 net/core/dev.c:6555 tun_rx_batched+0x1de/0x790 drivers/net/tun.c:1571 tun_get_user+0x2bb1/0x4450 drivers/net/tun.c:2048 tun_chr_write_iter+0x113/0x200 drivers/net/tun.c:2094 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:0x7f3be639f559 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:00007f3be7200fe8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f3be6625fa0 RCX: 00007f3be639f559 RDX: 0000000000000004 RSI: 00002000000004c0 RDI: 0000000000000004 RBP: 00007f3be6436b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f3be6626038 R14: 00007f3be6625fa0 R15: 00007ffdc8566378 ---------------- Code disassembly (best guess): 0: 48 c7 44 24 08 00 00 movq $0x0,0x8(%rsp) 7: 00 00 9: e9 58 fe ff ff jmp 0xfffffe66 e: e8 f9 a4 11 f8 call 0xf811a50c 13: 90 nop 14: 0f 0b ud2 16: 90 nop 17: e9 ba e1 ff ff jmp 0xffffe1d6 1c: 48 8d 3d 19 56 d3 07 lea 0x7d35619(%rip),%rdi # 0x7d3563c 23: 48 c7 c6 64 58 68 8e mov $0xffffffff8e685864,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: 80 3d 9f 9a ad 07 01 cmpb $0x1,0x7ad9a9f(%rip) # 0x7ad9ad5 36: 0f 85 78 03 00 00 jne 0x3b4 3c: e8 .byte 0xe8 3d: cb lret 3e: a4 movsb %ds:(%rsi),%es:(%rdi) 3f: 11 .byte 0x11