audit: type=1400 audit(1515332349.988:6): avc: denied { write } for pid=3321 comm="syzkaller228747" path="socket:[8931]" dev="sockfs" ino=8931 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: 1 PID: 3321 Comm: syzkaller228747 Not tainted 4.4.110-gdac1439 #13 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b59b4740 task.stack: ffff8801d50e8000 RIP: 0010:[] [] netlink_getsockbyportid net/netlink/af_netlink.c:1102 [inline] RIP: 0010:[] [] netlink_unicast+0x1c0/0x760 net/netlink/af_netlink.c:1287 RSP: 0018:ffff8801d50ef780 EFLAGS: 00010293 RAX: dffffc0000000048 RBX: dffffc0000000000 RCX: ffffffff82f8abd9 RDX: 0000000000000000 RSI: 00000000024000c0 RDI: ffff8801d0f3f498 RBP: ffff8801d50ef840 R08: ffffed0016c40b27 R09: ffffed0016c40b27 R10: 0000000000000005 R11: ffffed0016c40b26 R12: 0000000000000000 R13: dffffc0000000000 R14: ffff8801d0f3f3c0 R15: dffffc0000000006 FS: 0000000000000000(0000) GS:ffff8801db300000(0063) knlGS:00000000093bf840 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020f81000 CR3: 00000001d5e58000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 1ffff1003aa1def7 ffff8800b6205900 0000000000000240 0000000000000030 1ffff1003aa1def7 dffffc0000000048 0000000000000cf9 0000000041b58ab3 ffffffff83fff786 ffffffff82f8aa20 ffff8801d50ef7f8 0000000000000000 Call Trace: [] netlink_ack+0x231/0x4b0 net/netlink/af_netlink.c:2322 [] 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:1267 [inline] [] netlink_unicast+0x522/0x760 net/netlink/af_netlink.c:1293 [] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847 [] 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 [] do_syscall_32_irqs_on arch/x86/entry/common.c:390 [inline] [] do_fast_syscall_32+0x314/0x890 arch/x86/entry/common.c:457 [] sysenter_flags_fixed+0xd/0x17 Code: 87 50 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 67 50 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:1102 [inline] RIP [] netlink_unicast+0x1c0/0x760 net/netlink/af_netlink.c:1287 RSP ---[ end trace 98c4310710ebfa3e ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..