audit: type=1400 audit(1513696103.032:6): avc: denied { write } for pid=3305 comm="syzkaller184090" path="socket:[7936]" dev="sockfs" ino=7936 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 accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3305 Comm: syzkaller184090 Not tainted 4.4.106-g1700518 #9 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b4ec2f80 task.stack: ffff8800b4130000 RIP: 0010:[] [] netlink_getsockbyportid net/netlink/af_netlink.c:1058 [inline] RIP: 0010:[] [] netlink_unicast+0x1c0/0x760 net/netlink/af_netlink.c:1243 RSP: 0018:ffff8800b41377f8 EFLAGS: 00010293 RAX: dffffc0000000048 RBX: dffffc0000000000 RCX: ffffffff82f84109 RDX: 0000000000000000 RSI: 00000000024000c0 RDI: ffff8800b08865d8 RBP: ffff8800b41378b8 R08: ffffed0016b9e197 R09: ffffed0016b9e197 R10: 0000000000000005 R11: ffffed0016b9e196 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8800b0886500 R15: dffffc0000000006 FS: 0000000000da3880(0063) GS:ffff8801db400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020f81000 CR3: 00000000b119d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 1ffff10016826f06 ffff8800b5cf0c80 0000000000000240 0000000000000030 1ffff10016826f06 dffffc0000000048 0000000000000ce9 0000000041b58ab3 ffffffff83ffd4e6 ffffffff82f83f50 ffff8800b4137870 0000000000000000 Call Trace: [] netlink_ack+0x231/0x4b0 net/netlink/af_netlink.c:2278 [] nfnetlink_rcv_batch net/netfilter/nfnetlink.c:319 [inline] [] nfnetlink_rcv+0xaa2/0x1070 net/netfilter/nfnetlink.c:477 [] netlink_unicast_kernel net/netlink/af_netlink.c:1223 [inline] [] netlink_unicast+0x522/0x760 net/netlink/af_netlink.c:1249 [] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1803 [] sock_sendmsg_nosec net/socket.c:625 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:635 [] sock_write_iter+0x226/0x3b0 net/socket.c:834 [] new_sync_write fs/read_write.c:478 [inline] [] __vfs_write+0x33c/0x450 fs/read_write.c:491 [] vfs_write+0x18a/0x530 fs/read_write.c:538 [] SYSC_write fs/read_write.c:585 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:577 [] entry_SYSCALL_64_fastpath+0x16/0x76 Code: d7 88 3d fe 48 8d 55 98 4c 89 e1 4c 89 f6 48 89 df e8 95 f7 ff ff 83 f8 01 0f 85 e1 03 00 00 e8 b7 88 3d fe 48 8b 85 68 ff ff ff <0f> b6 00 84 c0 74 08 3c 03 0f 8e 63 05 00 00 41 80 3f 00 41 0f RIP [] netlink_getsockbyportid net/netlink/af_netlink.c:1058 [inline] RIP [] netlink_unicast+0x1c0/0x760 net/netlink/af_netlink.c:1243 RSP ---[ end trace f685e72746d61d4e ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..