audit: type=1326 audit(1517212090.761:234): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 pid=7110 comm="syz-executor3" exe="/root/syz-executor3" sig=0 arch=c000003e syscall=202 compat=0 ip=0x453299 code=0x7ffc0000 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: 7127 Comm: syz-executor2 Not tainted 4.15.0-rc9+ #284 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:ffff8801cc1b7958 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 1ffff10039836f2b RCX: ffffffff847058d6 RDX: 000000000000000d RSI: ffffc90003157000 RDI: 000000000000006a RBP: ffff8801cc1b79e0 R08: 1ffff10039836ef9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: fffffffffffffffe R13: ffff8801cc1b79b8 R14: dffffc0000000000 R15: ffffffff84705820 FS: 00007f7cddd7d700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b9bc21000 CR3: 00000001ca620001 CR4: 00000000001606f0 DR0: 0000000020000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: cleanup_match+0x14e/0x220 net/ipv6/netfilter/ip6_tables.c:486 cleanup_entry+0xcb/0x350 net/ipv4/netfilter/ip_tables.c:651 __do_replace+0x7d7/0xa90 net/ipv4/netfilter/ip_tables.c:1096 do_replace net/ipv4/netfilter/ip_tables.c:1152 [inline] do_ipt_set_ctl+0x40f/0x5f0 net/ipv4/netfilter/ip_tables.c:1682 nf_sockopt net/netfilter/nf_sockopt.c:106 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115 ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1256 dccp_setsockopt+0x85/0xd0 net/dccp/proto.c:573 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2968 SYSC_setsockopt net/socket.c:1831 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1810 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x453299 RSP: 002b:00007f7cddd7cc58 EFLAGS: 00000212 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f7cddd7d700 RCX: 0000000000453299 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000014 RBP: 0000000000000000 R08: 00000000000002c0 R09: 0000000000000000 R10: 0000000020000000 R11: 0000000000000212 R12: 0000000000000000 R13: 0000000000a2f33f R14: 00007f7cddd7d9c0 R15: 0000000000000000 Code: 02 00 00 4d 8b a4 24 08 10 00 00 4d 85 e4 74 3c e8 2a d3 ff 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: ffff8801cc1b7958 RIP: cgroup_put include/linux/cgroup.h:415 [inline] RSP: ffff8801cc1b7958 RIP: cgroup_mt_destroy_v1+0xcc/0x310 net/netfilter/xt_cgroup.c:102 RSP: ffff8801cc1b7958 ---[ end trace 378694010fe55ca2 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled