------------[ cut here ]------------ AppArmor WARN aa_sock_msg_perm: ((!sock)): WARNING: CPU: 0 PID: 25830 at security/apparmor/lsm.c:920 aa_sock_msg_perm.isra.0+0xdd/0x170 security/apparmor/lsm.c:920 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 25830 Comm: kworker/0:0 Not tainted 5.4.0-rc2+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: krxrpcd rxrpc_peer_keepalive_worker Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x172/0x1f0 lib/dump_stack.c:113 panic+0x2e3/0x75c kernel/panic.c:221 __warn.cold+0x2f/0x35 kernel/panic.c:582 report_bug+0x289/0x300 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028 RIP: 0010:aa_sock_msg_perm.isra.0+0xdd/0x170 security/apparmor/lsm.c:920 Code: 89 ef e8 26 e4 02 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 86 86 61 fe 48 c7 c6 60 0f e1 87 48 c7 c7 60 fa e0 87 e8 9b cb 32 fe <0f> 0b e9 43 ff ff ff e8 67 86 61 fe 48 c7 c6 60 0f e1 87 48 c7 c7 RSP: 0018:ffff8880112bf9b0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815cb516 RDI: ffffed1002257f28 RBP: ffff8880112bf9d8 R08: ffff8880a8e40440 R09: fffffbfff14ee147 R10: fffffbfff14ee146 R11: ffffffff8a770a37 R12: ffff8880112bfb20 R13: ffffffff87e0fea0 R14: 0000000000000002 R15: 000000000000001d apparmor_socket_sendmsg+0x2a/0x30 security/apparmor/lsm.c:936 security_socket_sendmsg+0x77/0xc0 security/security.c:2013 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 Kernel Offset: disabled Rebooting in 86400 seconds..