------------[ cut here ]------------ AppArmor WARN aa_sock_msg_perm: ((!sock)): WARNING: CPU: 0 PID: 25654 at security/apparmor/lsm.c:947 aa_sock_msg_perm.constprop.0+0xd1/0x160 security/apparmor/lsm.c:947 Modules linked in: CPU: 0 PID: 25654 Comm: vhci_tx Not tainted 5.11.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:aa_sock_msg_perm.constprop.0+0xd1/0x160 security/apparmor/lsm.c:947 Code: 89 ee 4c 89 e7 5b 5d 41 5c 41 5d 41 5e e9 57 ec 02 00 e8 c2 d8 e2 fd 48 c7 c6 80 0e b9 89 48 c7 c7 40 f8 b8 89 e8 40 60 30 05 <0f> 0b e9 4a ff ff ff e8 a3 d8 e2 fd 48 c7 c6 80 0e b9 89 48 c7 c7 RSP: 0018:ffffc9001735fb80 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802149d340 RSI: ffffffff815bd0e5 RDI: fffff52002e6bf62 RBP: ffffc9001735fce8 R08: 0000000000000000 R09: 0000000000000000 R10: ffffffff815b61be R11: 0000000000000000 R12: ffffffff89b8fde0 R13: 0000000000000002 R14: ffffc9001735fce8 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f79d02a9000 CR3: 000000004c642000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: security_socket_sendmsg+0x50/0xb0 security/security.c:2154 sock_sendmsg+0x3f/0x120 net/socket.c:671 vhci_send_cmd_submit+0x897/0xf90 drivers/usb/usbip/vhci_tx.c:139 vhci_tx_loop+0xfc/0x370 drivers/usb/usbip/vhci_tx.c:241 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294