IPVS: Creating netns size=2552 id=3 audit: type=1400 audit(1512853869.829:6): avc: denied { write } for pid=3340 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3341 Comm: syz-executor4 Not tainted 4.4.104-ged884eb #2 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b656af80 task.stack: ffff8801d5540000 RIP: 0010:[] [] netlink_getsockbyportid /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1058 [inline] RIP: 0010:[] [] netlink_unicast+0x18f/0x760 /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1243 RSP: 0018:ffff8801d5547788 EFLAGS: 00010286 RAX: dffffc0000000048 RBX: 0000000000000000 RCX: 0000000000000030 RDX: 1ffff1003b3ef25b RSI: 00000000024000c0 RDI: ffff8801d9f792d8 RBP: ffff8801d5547850 R08: 0000000000000003 R09: ffffed003aadf8d0 R10: ffff8801d56fc687 R11: ffffed003aadf8d1 R12: dffffc0000000000 R13: ffff8801d9f79200 R14: 0000000000000040 R15: ffff8801d5547828 FS: 00007f50b7947700(0000) GS:ffff8801db500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffee66deb70 CR3: 00000001d56b2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d56fc720 1ffff1003aaa8ef9 0000000000000240 0000000000000030 1ffff1003aaa8ef9 dffffc0000000006 dffffc0000000048 ffff880100000002 0000000041b58ab3 ffffffff83ffc7ee ffffffff82f31660 ffffffff814daa66 Call Trace: [] netlink_ack+0x203/0x480 /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:2278 [] nfnetlink_rcv_batch /syzkaller/managers/android-44-kasan-gce/kernel/net/netfilter/nfnetlink.c:319 [inline] [] nfnetlink_rcv+0x953/0xfe0 /syzkaller/managers/android-44-kasan-gce/kernel/net/netfilter/nfnetlink.c:477 [] netlink_unicast_kernel /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1223 [inline] [] netlink_unicast+0x4c5/0x760 /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1249 [] netlink_sendmsg+0x832/0xbc0 /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1803 [] sock_sendmsg_nosec /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:625 [inline] [] sock_sendmsg+0xb5/0xf0 /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:635 [] ___sys_sendmsg+0x66d/0x7d0 /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:1961 [] __sys_sendmsg+0xc3/0x160 /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:1995 [] SYSC_sendmsg /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:2006 [inline] [] SyS_sendmsg+0xd/0x20 /syzkaller/managers/android-44-kasan-gce/kernel/net/socket.c:2002 [] entry_SYSCALL_64_fastpath+0x16/0x76 Code: ff 85 c0 0f 85 91 03 00 00 49 8d 57 c0 48 89 d9 4c 89 ee 4c 89 f7 e8 71 f6 ff ff 83 f8 01 0f 85 c4 03 00 00 48 8b 85 68 ff ff ff <0f> b6 00 84 c0 74 08 3c 03 0f 8e 90 05 00 00 48 8b 85 60 ff ff RIP [] netlink_getsockbyportid /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1058 [inline] RIP [] netlink_unicast+0x18f/0x760 /syzkaller/managers/android-44-kasan-gce/kernel/net/netlink/af_netlink.c:1243 RSP ---[ end trace fef988febfb83e0b ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..