kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 3584 Comm: kworker/1:2 Not tainted 5.3.0+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krxrpcd rxrpc_peer_keepalive_worker RIP: 0010:aa_sock_msg_perm.isra.0+0x41/0x170 security/apparmor/lsm.c:921 Code: 89 d3 e8 82 03 68 fe 48 85 db 0f 84 9e 00 00 00 e8 74 03 68 fe 4c 8d 7b 18 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ff 00 00 00 48 83 7b 18 00 0f 84 8e 00 00 00 e8 RSP: 0018:ffff88809c03f9b0 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000ffffffff RCX: ffff88809c03fb20 RDX: 0000000020000002 RSI: ffffffff830a835c RDI: ffffffff87c082e0 RBP: ffff88809c03f9d8 R08: ffff88809c04c480 R09: ffffed10119064ea R10: ffffed10119064e9 R11: ffff88808c83274b R12: ffff88809c03fb20 R13: ffffffff87c082e0 R14: 0000000000000002 R15: 0000000100000017 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f61b7876330 CR3: 000000005f008000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: apparmor_socket_sendmsg+0x2a/0x30 security/apparmor/lsm.c:936 security_socket_sendmsg+0x77/0xc0 security/security.c:1973 sock_sendmsg+0x45/0x130 net/socket.c:654 kernel_sendmsg+0x44/0x50 net/socket.c:677 rxrpc_send_keepalive+0x1ff/0x940 net/rxrpc/output.c:655 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+0x9af/0x1740 kernel/workqueue.c:2269 worker_thread+0x98/0xe40 kernel/workqueue.c:2415 kthread+0x361/0x430 kernel/kthread.c:255 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 8d7ca301f89e74f4 ]--- RIP: 0010:aa_sock_msg_perm.isra.0+0x41/0x170 security/apparmor/lsm.c:921 Code: 89 d3 e8 82 03 68 fe 48 85 db 0f 84 9e 00 00 00 e8 74 03 68 fe 4c 8d 7b 18 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ff 00 00 00 48 83 7b 18 00 0f 84 8e 00 00 00 e8 RSP: 0018:ffff88809c03f9b0 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 00000000ffffffff RCX: ffff88809c03fb20 RDX: 0000000020000002 RSI: ffffffff830a835c RDI: ffffffff87c082e0 RBP: ffff88809c03f9d8 R08: ffff88809c04c480 R09: ffffed10119064ea R10: ffffed10119064e9 R11: ffff88808c83274b R12: ffff88809c03fb20 R13: ffffffff87c082e0 R14: 0000000000000002 R15: 0000000100000017 FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000180 CR3: 0000000055559000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400