kasan: CONFIG_KASAN_INLINE enabled audit: type=1804 audit(1579489251.673:183): pid=22527 uid=0 auid=4294967295 ses=4294967295 subj=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 op=invalid_pcr cause=ToMToU comm="syz-executor.2" name="/root/syzkaller-testdir372509853/syzkaller.kYTYFo/240/file0/bus" dev="ramfs" ino=83123 res=1 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 8205 Comm: kworker/1:3 Not tainted 4.19.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krxrpcd rxrpc_peer_keepalive_worker RIP: 0010:selinux_socket_sendmsg+0x22/0x40 security/selinux/hooks.c:4911 Code: c3 e8 02 7a 7d fe eb e8 55 48 89 e5 53 48 89 fb e8 13 e1 45 fe 48 8d 7b 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 11 48 8b 7b 20 be 04 00 00 00 e8 0a fc ff ff 5b 5d RSP: 0018:ffff8880535cf9f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8366ea95 RDX: 0000000000000004 RSI: ffffffff832534ad RDI: 0000000000000020 RBP: ffff8880535cf9f8 R08: ffff8880535c2700 R09: ffff8880535c2fc8 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880535cfb20 R14: ffff8880535cfb20 R15: 000000000000001d FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000091785000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: security_socket_sendmsg+0x77/0xc0 security/security.c:1417 sock_sendmsg+0x45/0x130 net/socket.c:629 kernel_sendmsg+0x44/0x50 net/socket.c:640 rxrpc_send_keepalive+0x1ff/0x8e0 net/rxrpc/output.c:658 rxrpc_peer_keepalive_dispatch net/rxrpc/peer_event.c:369 [inline] rxrpc_peer_keepalive_worker+0x7be/0xd02 net/rxrpc/peer_event.c:430 process_one_work+0x989/0x1750 kernel/workqueue.c:2153 worker_thread+0x98/0xe40 kernel/workqueue.c:2296 kthread+0x354/0x420 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Modules linked in: ---[ end trace 4fef6c18f42ae1f2 ]--- RIP: 0010:selinux_socket_sendmsg+0x22/0x40 security/selinux/hooks.c:4911 Code: c3 e8 02 7a 7d fe eb e8 55 48 89 e5 53 48 89 fb e8 13 e1 45 fe 48 8d 7b 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 11 48 8b 7b 20 be 04 00 00 00 e8 0a fc ff ff 5b 5d RSP: 0018:ffff8880535cf9f0 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8366ea95 RDX: 0000000000000004 RSI: ffffffff832534ad RDI: 0000000000000020 RBP: ffff8880535cf9f8 R08: ffff8880535c2700 R09: ffff8880535c2fc8 R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff8880535cfb20 R14: ffff8880535cfb20 R15: 000000000000001d FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000960004 CR3: 0000000086775000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400