------------[ cut here ]------------ AppArmor WARN aa_sock_msg_perm: ((!sock)): WARNING: CPU: 0 PID: 28645 at security/apparmor/lsm.c:931 aa_sock_msg_perm.constprop.0+0xd1/0x160 security/apparmor/lsm.c:931 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 28645 Comm: vhci_tx Not tainted 4.19.152-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x61 kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:aa_sock_msg_perm.constprop.0+0xd1/0x160 security/apparmor/lsm.c:931 Code: 89 ee 4c 89 e7 5b 5d 41 5c 41 5d 41 5e e9 57 1a 02 00 e8 32 1b 18 fe 48 c7 c6 c0 4b ae 88 48 c7 c7 00 3a ae 88 e8 2a f9 eb fd <0f> 0b e9 4a ff ff ff e8 13 1b 18 fe 48 c7 c6 c0 4b ae 88 48 c7 c7 RSP: 0018:ffff88822e51fb80 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff814fd8d1 RDI: ffffed1045ca3f62 RBP: ffff88822e51fce8 R08: 0000000000000000 R09: 00000000000014dd R10: 0000000000000006 R11: 0000000000000000 R12: ffffffff88ae47c0 R13: 0000000000000002 R14: ffff88822e51fce8 R15: 0000000000000000 security_socket_sendmsg+0x50/0xb0 security/security.c:1413 sock_sendmsg+0x3f/0x120 net/socket.c:629 vhci_send_cmd_submit+0x8a4/0xf90 drivers/usb/usbip/vhci_tx.c:139 vhci_tx_loop+0xfc/0x36b drivers/usb/usbip/vhci_tx.c:243 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Kernel Offset: disabled Rebooting in 86400 seconds..