kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 13720 Comm: syz-executor6 Not tainted 4.15.0-rc9+ #217 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6t_do_table+0x12de/0x19d0 net/ipv6/netfilter/ip6_tables.c:360 RSP: 0018:ffff8801b65753a8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8801ca4a6980 RCX: ffffffff84d6bbb2 RDX: 0000000000000675 RSI: 0000000000000000 RDI: ffff8801ca4a6ade RBP: ffff8801b65755b0 R08: ffff8801b65756a8 R09: 0000000000000002 R10: 00000000000000d0 R11: 0000000000000000 R12: 0000000000000001 R13: 0000000000000000 R14: dffffc0000000000 R15: ffff8801ca4a6a50 FS: 00007f6c66a7c700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200f4e12 CR3: 00000001b5991001 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip6table_security_hook+0x65/0x80 net/ipv6/netfilter/ip6table_security.c:45 nf_hook_entry_hookfn include/linux/netfilter.h:120 [inline] nf_hook_slow+0xba/0x1a0 net/netfilter/core.c:483 nf_hook include/linux/netfilter.h:243 [inline] NF_HOOK include/linux/netfilter.h:286 [inline] ip6_input+0x35c/0x560 net/ipv6/ip6_input.c:327 ip6_mc_input+0x3a8/0xb10 net/ipv6/ip6_input.c:404 dst_input include/net/dst.h:449 [inline] ip6_rcv_finish+0x297/0x8c0 net/ipv6/ip6_input.c:71 ip_sabotage_in+0xf2/0x140 net/bridge/br_netfilter_hooks.c:836 nf_hook_entry_hookfn include/linux/netfilter.h:120 [inline] nf_hook_slow+0xba/0x1a0 net/netfilter/core.c:483 nf_hook include/linux/netfilter.h:243 [inline] NF_HOOK include/linux/netfilter.h:286 [inline] ipv6_rcv+0x1687/0x1fa0 net/ipv6/ip6_input.c:208 __netif_receive_skb_core+0x1a41/0x3460 net/core/dev.c:4547 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4612 netif_receive_skb_internal+0x10b/0x670 net/core/dev.c:4686 netif_receive_skb+0xae/0x390 net/core/dev.c:4710 br_netif_receive_skb+0xbf/0x1a0 net/bridge/br_input.c:34 NF_HOOK include/linux/netfilter.h:288 [inline] br_pass_frame_up+0x327/0x870 net/bridge/br_input.c:69 br_handle_frame_finish+0x602/0x15e0 net/bridge/br_input.c:174 br_nf_hook_thresh+0x406/0x560 net/bridge/br_netfilter_hooks.c:1008 br_nf_pre_routing_finish_ipv6+0x73d/0xe20 net/bridge/br_netfilter_ipv6.c:209 NF_HOOK include/linux/netfilter.h:288 [inline] br_nf_pre_routing_ipv6+0x44d/0x9c0 net/bridge/br_netfilter_ipv6.c:237 br_nf_pre_routing+0x58e/0x14a0 net/bridge/br_netfilter_hooks.c:491 nf_hook_entry_hookfn include/linux/netfilter.h:120 [inline] nf_hook_slow+0xba/0x1a0 net/netfilter/core.c:483 nf_hook include/linux/netfilter.h:243 [inline] NF_HOOK include/linux/netfilter.h:286 [inline] br_handle_frame+0xb4e/0x1730 net/bridge/br_input.c:302 __netif_receive_skb_core+0x984/0x3460 net/core/dev.c:4501 __netif_receive_skb+0x2c/0x1b0 net/core/dev.c:4612 netif_receive_skb_internal+0x10b/0x670 net/core/dev.c:4686 netif_receive_skb+0xae/0x390 net/core/dev.c:4710 tun_rx_batched.isra.52+0x5ee/0x870 drivers/net/tun.c:1558 tun_get_user+0x25de/0x3940 drivers/net/tun.c:1958 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:1986 call_write_iter include/linux/fs.h:1772 [inline] do_iter_readv_writev+0x525/0x7f0 fs/read_write.c:653 do_iter_write+0x154/0x540 fs/read_write.c:932 vfs_writev+0x18a/0x340 fs/read_write.c:977 do_writev+0xfc/0x2a0 fs/read_write.c:1012 SYSC_writev fs/read_write.c:1085 [inline] SyS_writev+0x27/0x30 fs/read_write.c:1082 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453171 RSP: 002b:00007f6c66a7bb80 EFLAGS: 00000293 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453171 RDX: 0000000000000001 RSI: 00007f6c66a7bbd0 RDI: 0000000000000012 RBP: 00000000000003d6 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000076 R11: 0000000000000293 R12: 00000000006f4cb0 R13: 00000000ffffffff R14: 00007f6c66a7c6d4 R15: 0000000000000000 Code: 41 f6 87 83 00 00 00 04 75 37 e8 8e 75 99 fc 8b 85 54 fe ff ff 48 8b b5 90 fe ff ff 4c 8d 2c c6 44 8d 60 01 4c 89 e8 48 c1 e8 03 <42> 80 3c 30 00 0f 85 5c 03 00 00 4d 89 7d 00 44 89 a5 54 fe ff RIP: ip6t_do_table+0x12de/0x19d0 net/ipv6/netfilter/ip6_tables.c:360 RSP: ffff8801b65753a8 ---[ end trace 3756f25206c3dd65 ]---