kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN CPU: 1 PID: 1827 Comm: syz-executor3 Not tainted 4.18.0-next-20180814+ #38 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:sigio_perm fs/fcntl.c:715 [inline] RIP: 0010:send_sigio_to_task+0x1ad/0x910 fs/fcntl.c:734 Code: 4c 8d b3 00 ff ff ff 48 b8 00 00 00 00 00 fc ff df 49 8d bf 58 06 00 00 4c 89 f2 48 c1 ea 03 c6 04 02 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1a 07 00 00 49 8b 87 58 06 00 00 4c 89 f2 48 c1 RSP: 0018:ffff8801c1106bd8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801c1106d58 RCX: ffffffff81caeb13 RDX: 00000000000000cb RSI: ffffffff81cae4e3 RDI: 0000000000000658 RBP: ffff8801c1106d80 R08: ffff880193152280 R09: ffffed003b6246d6 R10: ffffed003b6246d6 R11: ffff8801db1236b3 R12: ffff8801cf7b1388 R13: 0000000000000012 R14: ffff8801c1106c58 R15: 0000000000000000 FS: 00007fa88b246700(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a9fed0000 CR3: 000000019e725000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: send_sigio+0x36f/0x4a0 fs/fcntl.c:794 kill_fasync_rcu fs/fcntl.c:1005 [inline] kill_fasync+0x32e/0x640 fs/fcntl.c:1019 sock_wake_async+0xbb/0x150 net/socket.c:1195 sk_wake_async include/net/sock.h:2172 [inline] unix_release_sock+0xa28/0xdb0 net/unix/af_unix.c:550 unix_release+0x44/0x90 net/unix/af_unix.c:833 __sock_release+0xd7/0x250 net/socket.c:580 sock_close+0x19/0x20 net/socket.c:1140 __fput+0x376/0x8a0 fs/file_table.c:279 ____fput+0x15/0x20 fs/file_table.c:312 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x1ae4/0x26e0 kernel/exit.c:871 do_group_exit+0x177/0x440 kernel/exit.c:974 get_signal+0x851/0x18e0 kernel/signal.c:2513 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816 exit_to_usermode_loop+0x2e5/0x380 arch/x86/entry/common.c:162 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457089 Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fa88b245cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 0000000000930328 RCX: 0000000000457089 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000930328 RBP: 0000000000930320 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000093032c R13: 00007ffef602f55f R14: 00007fa88b2469c0 R15: 0000000000000004 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) ---[ end trace 65a320ec1a73b534 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:sigio_perm fs/fcntl.c:715 [inline] RIP: 0010:send_sigio_to_task+0x1ad/0x910 fs/fcntl.c:734 Code: 4c 8d b3 00 ff ff ff 48 b8 00 00 00 00 00 fc ff df 49 8d bf 58 06 00 00 4c 89 f2 48 c1 ea 03 c6 04 02 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 1a 07 00 00 49 8b 87 58 06 00 00 4c 89 f2 48 c1 RSP: 0018:ffff8801c1106bd8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff8801c1106d58 RCX: ffffffff81caeb13 RDX: 00000000000000cb RSI: ffffffff81cae4e3 RDI: 0000000000000658 RBP: ffff8801c1106d80 R08: ffff880193152280 R09: ffffed003b6246d6 R10: ffffed003b6246d6 R11: ffff8801db1236b3 R12: ffff8801cf7b1388 R13: 0000000000000012 R14: ffff8801c1106c58 R15: 0000000000000000 FS: 00007fa88b246700(0000) GS:ffff8801db100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a9fed0000 CR3: 000000019e725000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400