------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:777! invalid opcode: 0000 [#1] PREEMPT SMP KASAN kobject: 'loop4' (0000000072d785a8): fill_kobj_path: path = '/devices/virtual/block/loop4' CPU: 0 PID: 18906 Comm: syz-executor2 Not tainted 4.20.0+ #16 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_do_fragment+0x2317/0x2950 net/ipv4/ip_output.c:777 sctp: [Deprecated]: syz-executor4 (pid 18917) Use of int in maxseg socket option. Use struct sctp_assoc_value instead Code: 8b 85 f0 fe ff ff e9 91 e9 ff ff 4c 89 f7 e8 20 a7 34 fb e9 79 ea ff ff 4c 89 f7 e8 13 a7 34 fb e9 e0 e6 ff ff e8 49 b4 f0 fa <0f> 0b 48 89 df e8 3f a7 34 fb e9 a0 e9 ff ff 4c 89 ef 48 89 95 f0 RSP: 0018:ffff88805f85eb40 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888090e13d80 RCX: ffffc90009e09000 RDX: 000000000002775c RSI: ffffffff86914107 RDI: 0000000000000005 RBP: ffff88805f85ec98 R08: ffff888092694480 R09: ffffed10118fd52d R10: ffffed10118fd52c R11: ffff88808c7ea963 R12: ffff888090e13cc0 R13: ffff888090e13d74 R14: 00000000fffffff2 R15: dffffc0000000000 FS: 00007f2c33419700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 kobject: 'loop3' (00000000f0c86298): kobject_uevent_env CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd99539d80 CR3: 000000005f3fb000 CR4: 00000000001406f0 kobject: 'loop3' (00000000f0c86298): fill_kobj_path: path = '/devices/virtual/block/loop3' DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: sctp: [Deprecated]: syz-executor4 (pid 18917) Use of int in maxseg socket option. Use struct sctp_assoc_value instead ip_fragment.constprop.0+0x176/0x240 net/ipv4/ip_output.c:550 ip_finish_output+0x69f/0xf60 net/ipv4/ip_output.c:315 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip_output+0x226/0x880 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:444 [inline] ip_local_out+0xc4/0x1b0 net/ipv4/ip_output.c:124 iptunnel_xmit+0x58e/0x980 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0x153b/0x3b3c net/ipv4/ip_tunnel.c:778 __gre_xmit+0x5e9/0x9a0 net/ipv4/ip_gre.c:453 ipgre_xmit+0x5b0/0xd60 net/ipv4/ip_gre.c:710 __netdev_start_xmit include/linux/netdevice.h:4382 [inline] netdev_start_xmit include/linux/netdevice.h:4391 [inline] xmit_one net/core/dev.c:3278 [inline] dev_hard_start_xmit+0x261/0xc70 net/core/dev.c:3294 kobject: 'loop4' (0000000072d785a8): kobject_uevent_env __dev_queue_xmit+0x2f8a/0x3a60 net/core/dev.c:3864 kobject: 'loop4' (0000000072d785a8): fill_kobj_path: path = '/devices/virtual/block/loop4' dev_queue_xmit+0x18/0x20 net/core/dev.c:3897 __bpf_tx_skb net/core/filter.c:2014 [inline] __bpf_redirect_common net/core/filter.c:2052 [inline] __bpf_redirect+0x5dc/0xb70 net/core/filter.c:2059 ____bpf_clone_redirect net/core/filter.c:2092 [inline] bpf_clone_redirect+0x2ca/0x470 net/core/filter.c:2064 bpf_prog_bebbfe2050753572+0xec/0x1000 Modules linked in: ---[ end trace cb4ba8bcf8d38c42 ]--- RIP: 0010:ip_do_fragment+0x2317/0x2950 net/ipv4/ip_output.c:777 Code: 8b 85 f0 fe ff ff e9 91 e9 ff ff 4c 89 f7 e8 20 a7 34 fb e9 79 ea ff ff 4c 89 f7 e8 13 a7 34 fb e9 e0 e6 ff ff e8 49 b4 f0 fa <0f> 0b 48 89 df e8 3f a7 34 fb e9 a0 e9 ff ff 4c 89 ef 48 89 95 f0 kobject: 'loop5' (00000000341d0a53): kobject_uevent_env RSP: 0018:ffff88805f85eb40 EFLAGS: 00010212 RAX: 0000000000040000 RBX: ffff888090e13d80 RCX: ffffc90009e09000 RDX: 000000000002775c RSI: ffffffff86914107 RDI: 0000000000000005 RBP: ffff88805f85ec98 R08: ffff888092694480 R09: ffffed10118fd52d R10: ffffed10118fd52c R11: ffff88808c7ea963 R12: ffff888090e13cc0 R13: ffff888090e13d74 R14: 00000000fffffff2 R15: dffffc0000000000 FS: 00007f2c33419700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffd99539d80 CR3: 000000005f3fb000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600