x_tables: ip_tables: osf match: only valid for protocol 6 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: 0 PID: 7332 Comm: syz-executor2 Not tainted 4.15.0+ #301 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:css_put include/linux/cgroup.h:386 [inline] RIP: 0010:cgroup_put include/linux/cgroup.h:415 [inline] RIP: 0010:cgroup_mt_destroy_v1+0xcc/0x310 net/netfilter/xt_cgroup.c:102 RSP: 0018:ffff8801cc12f708 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff10039825ee1 RCX: ffffffff84794b66 RDX: 000000000000000e RSI: ffffc90003141000 RDI: 0000000000000071 RBP: ffff8801cc12f790 R08: ffffffff86b391b8 R09: 0000000000000000 R10: ffffffff8818b080 R11: 0000000000000000 R12: 0000000000000005 R13: ffff8801cc12f768 R14: dffffc0000000000 R15: ffffffff84794ab0 FS: 00007f24beabd700(0000) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002000 CR3: 00000001d6e5d004 CR4: 00000000001606f0 Call Trace: cleanup_match+0x14e/0x220 net/ipv6/netfilter/ip6_tables.c:481 find_check_entry.isra.8+0x513/0xcb0 net/ipv4/netfilter/ip_tables.c:565 translate_table+0xed1/0x1610 net/ipv4/netfilter/ip_tables.c:725 do_replace net/ipv4/netfilter/ip_tables.c:1141 [inline] do_ipt_set_ctl+0x370/0x5f0 net/ipv4/netfilter/ip_tables.c:1675 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0x97/0xa0 net/ipv4/ip_sockglue.c:1259 raw_setsockopt+0xb7/0xd0 net/ipv4/raw.c:870 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2975 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 do_syscall_64+0x282/0x940 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x26/0x9b RIP: 0033:0x453299 RSP: 002b:00007f24beabcc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000071bea0 RCX: 0000000000453299 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000013 RBP: 00000000000004d4 R08: 00000000000014c8 R09: 0000000000000000 R10: 0000000020d04b38 R11: 0000000000000212 R12: 00000000006f6480 R13: 00000000ffffffff R14: 00007f24beabd6d4 R15: 0000000000000000 Code: 02 00 00 4d 8b a4 24 08 10 00 00 4d 85 e4 74 3c e8 0a 60 f7 fc 49 8d 7c 24 6c 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 RIP: css_put include/linux/cgroup.h:386 [inline] RSP: ffff8801cc12f708 RIP: cgroup_put include/linux/cgroup.h:415 [inline] RSP: ffff8801cc12f708 RIP: cgroup_mt_destroy_v1+0xcc/0x310 net/netfilter/xt_cgroup.c:102 RSP: ffff8801cc12f708 ---[ end trace 4b1173f4268fa42a ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..