audit: type=1400 audit(1517425101.753:7): avc: denied { map } for pid=4068 comm="syzkaller265170" path="/root/syzkaller265170918" dev="sda1" ino=16481 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 BUG: unable to handle kernel paging request at ffffffffffffff6d IP: css_put include/linux/cgroup.h:386 [inline] IP: cgroup_put include/linux/cgroup.h:415 [inline] IP: cgroup_mt_destroy_v1+0xe5/0x310 net/netfilter/xt_cgroup.c:102 PGD 6a25067 P4D 6a25067 PUD 6a27067 PMD 0 Oops: 0000 [#1] SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 4068 Comm: syzkaller265170 Not tainted 4.15.0-rc9+ #218 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+0xe5/0x310 net/netfilter/xt_cgroup.c:102 RSP: 0018:ffff8801d311f958 EFLAGS: 00010246 RAX: 0000000000000008 RBX: 1ffff1003a623f2b RCX: ffffffff84747626 RDX: 0000000000000000 RSI: ffffffff8709b5c0 RDI: ffffffffffffff6d RBP: ffff8801d311f9e0 R08: 1ffff1003a623ef9 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffffffff01 R13: ffff8801d311f9b8 R14: dffffc0000000000 R15: ffffffff84747570 FS: 000000000196a880(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffff6d CR3: 00000001d320d003 CR4: 00000000001606e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 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+0x79d/0xa50 net/ipv4/netfilter/ip_tables.c:1094 do_replace net/ipv4/netfilter/ip_tables.c:1150 [inline] do_ipt_set_ctl+0x40f/0x5f0 net/ipv4/netfilter/ip_tables.c:1680 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:1260 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2905 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2978 SYSC_setsockopt net/socket.c:1849 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1828 entry_SYSCALL_64_fastpath+0x29/0xa0 RIP: 0033:0x4408a9 RSP: 002b:00007fff89a74338 EFLAGS: 00000207 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: ffffffffffffffff RCX: 00000000004408a9 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000004 RBP: faaff2414ccfc19e R08: 00000000000012f0 R09: 0000000000000000 R10: 000000002000b000 R11: 0000000000000207 R12: 886f734548d4d66b R13: ffffffffffffff01 R14: 0000000000000000 R15: 0000000000000000 Code: 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 a6 01 00 00 <41> f6 44 24 6c 01 74 2e e8 de ba fb fc 48 b8 00 00 00 00 00 fc RIP: css_put include/linux/cgroup.h:386 [inline] RSP: ffff8801d311f958 RIP: cgroup_put include/linux/cgroup.h:415 [inline] RSP: ffff8801d311f958 RIP: cgroup_mt_destroy_v1+0xe5/0x310 net/netfilter/xt_cgroup.c:102 RSP: ffff8801d311f958 CR2: ffffffffffffff6d ---[ end trace 519cdf5cec36554d ]---