sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 18015 at security/apparmor/file.c:136 aa_audit_file.cold+0x18/0x4f security/apparmor/file.c:136 Kernel panic - not syncing: panic_on_warn set ... __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465f69 RSP: 002b:00007f0ea6433188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465f69 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f0ea64331d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffce26add6f R14: 00007f0ea6433300 R15: 0000000000022000 CPU: 0 PID: 18015 Comm: syz-executor.3 Not tainted 4.14.225-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x1b2/0x281 lib/dump_stack.c:58 panic+0x1f9/0x42d kernel/panic.c:183 __warn.cold+0x20/0x44 kernel/panic.c:547 report_bug+0x208/0x250 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:964 RIP: 0010:aa_audit_file.cold+0x18/0x4f security/apparmor/file.c:136 RSP: 0018:ffff88804d8877d0 EFLAGS: 00010282 RAX: 0000000000000049 RBX: 1ffff11009b10efd RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff81441890 RDI: ffffed1009b10ef0 RBP: ffff88804d8879f8 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff4 R13: ffff88823f8b8d80 R14: ffff88804d887848 R15: 0000000000000000 aa_change_profile+0xcd3/0x2440 security/apparmor/domain.c:1277 apparmor_setprocattr+0x972/0xa80 security/apparmor/lsm.c:649 security_setprocattr+0x74/0xb0 security/security.c:1272 proc_pid_attr_write+0x1bd/0x280 fs/proc/base.c:2588 __vfs_write+0xe4/0x630 fs/read_write.c:480 vfs_write+0x17f/0x4d0 fs/read_write.c:544 SYSC_write fs/read_write.c:590 [inline] SyS_write+0xf2/0x210 fs/read_write.c:582 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x465f69 RSP: 002b:00007f76df1d4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000465f69 RDX: 0000000000000007 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f76df1d41d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffcb9ea0fcf R14: 00007f76df1d4300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..