------------[ cut here ]------------ kernel BUG at ./include/linux/skbuff.h:1406! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 0 PID: 3382 Comm: syz-executor.0 Not tainted 4.14.139+ #36 task: 000000005a003b6a task.stack: 000000002fe6f8ed RIP: 0010:skb_queue_prev include/linux/skbuff.h:1406 [inline] RIP: 0010:tcp_write_queue_prev include/net/tcp.h:1654 [inline] RIP: 0010:tcp_rtx_queue_tail include/net/tcp.h:1709 [inline] RIP: 0010:tcp_fragment+0x12c6/0x13e0 net/ipv4/tcp_output.c:1284 RSP: 0018:ffff8881dba07bf8 EFLAGS: 00010206 RAX: ffff8881996a0000 RBX: ffff8881d3bd3f00 RCX: 1ffff1103a77a829 RDX: 0000000000000100 RSI: ffff888192fb0c80 RDI: ffff888192fb0c88 RBP: ffff888192fb0c80 R08: 0000000001080020 R09: ffff88821ffff008 R10: ffff88821ffff017 R11: ffff88821ffff010 R12: 0000000000000000 R13: 0000000000006800 R14: 0000000001080020 R15: ffff8881d3bd4150 FS: 00007fd10b3ef700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002001a000 CR3: 00000001a4536004 CR4: 00000000001606b0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: tcp_write_wakeup+0x32b/0x570 net/ipv4/tcp_output.c:3708 tcp_send_probe0+0x46/0x3cc net/ipv4/tcp_output.c:3736 tcp_probe_timer net/ipv4/tcp_timer.c:365 [inline] tcp_write_timer_handler+0x687/0x780 net/ipv4/tcp_timer.c:583 tcp_write_timer+0xc9/0x170 net/ipv4/tcp_timer.c:597 call_timer_fn+0x15b/0x6a0 kernel/time/timer.c:1279 expire_timers+0x227/0x4c0 kernel/time/timer.c:1318 __run_timers kernel/time/timer.c:1634 [inline] run_timer_softirq+0x1eb/0x5d0 kernel/time/timer.c:1647 __do_softirq+0x234/0x9ec kernel/softirq.c:288 invoke_softirq kernel/softirq.c:368 [inline] irq_exit+0x114/0x150 kernel/softirq.c:409 exiting_irq arch/x86/include/asm/apic.h:648 [inline] smp_apic_timer_interrupt+0x1a7/0x650 arch/x86/kernel/apic/apic.c:1064 apic_timer_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:792 RIP: 0010:debug_lockdep_rcu_enabled+0x26/0x90 kernel/rcu/update.c:299 RSP: 0018:ffff8881927ffc68 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10 RAX: 0000000000000007 RBX: 0000000000000000 RCX: 1ffffffff65470e4 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000246 RBP: ffff8881927ffc98 R08: 0000000000000000 R09: ffffed10324fffa8 R10: ffffed10324fffa7 R11: ffff8881927ffd3f R12: ffffffffb2148640 R13: 000000000000000a R14: 0000000000000000 R15: 000000002012fc20 ___might_sleep+0x30/0x280 kernel/sched/core.c:6084 __might_fault+0x9f/0x1b0 mm/memory.c:4581 _copy_from_user+0x27/0x100 lib/usercopy.c:10 copy_from_user include/linux/uaccess.h:147 [inline] tcp_repair_options_est net/ipv4/tcp.c:2434 [inline] do_tcp_setsockopt.isra.0+0x48a/0x1c90 net/ipv4/tcp.c:2624 tcp_setsockopt+0xad/0xc0 net/ipv4/tcp.c:2811 SYSC_setsockopt net/socket.c:1865 [inline] SyS_setsockopt+0x12b/0x210 net/socket.c:1844 do_syscall_64+0x19b/0x520 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007fd10b3eec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000459829 RDX: 0000000000000016 RSI: 0000000000000006 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 000000000012f7e5 R09: 0000000000000000 R10: 0000000020000440 R11: 0000000000000246 R12: 00007fd10b3ef6d4 R13: 00000000004cf160 R14: 00000000004ddcb0 R15: 00000000ffffffff Code: ea 03 80 3c 02 00 0f 85 2c 01 00 00 4c 8b bb 58 02 00 00 ba 00 00 00 00 4c 3b 7c 24 18 4c 0f 44 fa e9 bd fc ff ff e8 fa ee da fe <0f> 0b e8 13 b2 fd fe e9 4d ef ff ff e8 09 b2 fd fe e9 2d f2 ff RIP: skb_queue_prev include/linux/skbuff.h:1406 [inline] RSP: ffff8881dba07bf8 RIP: tcp_write_queue_prev include/net/tcp.h:1654 [inline] RSP: ffff8881dba07bf8 RIP: tcp_rtx_queue_tail include/net/tcp.h:1709 [inline] RSP: ffff8881dba07bf8 RIP: tcp_fragment+0x12c6/0x13e0 net/ipv4/tcp_output.c:1284 RSP: ffff8881dba07bf8 ---[ end trace 7e31ce5b735aa665 ]---