kasan: GPF could be caused by NULL-ptr deref or user memory access audit: type=1400 audit(1564444481.393:44): avc: denied { create } for pid=8603 comm="syz-executor.2" 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 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 8630 Comm: syz-executor.3 Not tainted 4.14.134 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888097312640 task.stack: ffff888057938000 RIP: 0010:rxrpc_connect_call+0xc9/0x41a0 net/rxrpc/conn_client.c:684 RSP: 0018:ffff88805793f738 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc900140ed000 RDX: 0000000000000003 RSI: ffffffff8593c089 RDI: 0000000000000018 audit: type=1400 audit(1564444481.443:45): avc: denied { write } for pid=8603 comm="syz-executor.2" 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 RBP: ffff88805793f880 R08: 0000000000000001 R09: ffff888097312ee0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88807aecac00 R13: ffff8880a8b08c20 R14: ffff8880a8b08c10 R15: ffff88805793f998 FS: 00007f08a5a8f700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcddc05998 CR3: 00000000a8ae7000 CR4: 00000000001406e0 Call Trace: kobject: 'loop0' (ffff8880a4914f20): kobject_uevent_env kobject: 'loop0' (ffff8880a4914f20): fill_kobj_path: path = '/devices/virtual/block/loop0' kobject: 'loop4' (ffff8880a4a56a60): kobject_uevent_env rxrpc_new_client_call+0x8f7/0x1420 net/rxrpc/call_object.c:276 rxrpc_new_client_call_for_sendmsg net/rxrpc/sendmsg.c:525 [inline] rxrpc_do_sendmsg+0x91a/0x1103 net/rxrpc/sendmsg.c:577 rxrpc_sendmsg+0x48a/0x650 net/rxrpc/af_rxrpc.c:543 kobject: 'loop4' (ffff8880a4a56a60): fill_kobj_path: path = '/devices/virtual/block/loop4' sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xce/0x110 net/socket.c:656 ___sys_sendmsg+0x349/0x840 net/socket.c:2062 __sys_sendmmsg+0x152/0x3a0 net/socket.c:2152 SYSC_sendmmsg net/socket.c:2183 [inline] SyS_sendmmsg+0x35/0x60 net/socket.c:2178 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459829 RSP: 002b:00007f08a5a8ec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 kobject: 'loop1' (ffff8880a494b1a0): kobject_uevent_env RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000459829 RDX: 0000000000000001 RSI: 0000000020005c00 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f08a5a8f6d4 R13: 00000000004c6fe8 R14: 00000000004dc518 R15: 00000000ffffffff Code: e8 kobject: 'loop1' (ffff8880a494b1a0): fill_kobj_path: path = '/devices/virtual/block/loop1' 03 80 3c 18 00 0f 85 6f 39 00 00 48 8b 85 28 ff ff ff 48 8b 18 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 18 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 8a 39 00 00 48 8b 5b 18 48 8d bb 00 02 00 00 RIP: rxrpc_connect_call+0xc9/0x41a0 net/rxrpc/conn_client.c:684 RSP: ffff88805793f738 ---[ end trace e57c90fb6ad0c914 ]---