should_failslab+0xd6/0x130 mm/failslab.c:32 AppArmor WARN aa_audit_file: ((!((&sa)->apparmor_audit_data)->request)): slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc mm/slab.c:3376 [inline] kmem_cache_alloc+0x28e/0x3c0 mm/slab.c:3550 ------------[ cut here ]------------ kmem_cache_zalloc include/linux/slab.h:651 [inline] get_empty_filp+0x86/0x3f0 fs/file_table.c:123 WARNING: CPU: 1 PID: 32391 at security/apparmor/file.c:136 aa_audit_file.cold+0x18/0x4f security/apparmor/file.c:136 path_openat+0x84/0x2970 fs/namei.c:3545 Kernel panic - not syncing: panic_on_warn set ... do_filp_open+0x179/0x3c0 fs/namei.c:3603 do_sys_open+0x296/0x410 fs/open.c:1081 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7f3a867b9209 RSP: 002b:00007f3a8512e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f3a868cbf60 RCX: 00007f3a867b9209 RDX: 0000000000200002 RSI: 00000000200004c0 RDI: ffffffffffffff9c RBP: 00007f3a8512e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007ffca2ac5aff R14: 00007f3a8512e300 R15: 0000000000022000 CPU: 1 PID: 32391 Comm: syz-executor.1 Not tainted 4.14.289-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 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:183 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:ffff8880b35577c8 EFLAGS: 00010282 RAX: 0000000000000049 RBX: 1ffff110166aaefc RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff814430d0 RDI: ffffed10166aaeef RBP: ffff8880b35579f0 R08: 0000000000000049 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 00000000fffffff4 R13: ffff88823f8bd680 R14: ffff8880b3557840 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+0x22b/0x320 fs/proc/base.c:2599 __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:0x7f4ed11f8209 RSP: 002b:00007f4ecfb6d168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f4ed130af60 RCX: 00007f4ed11f8209 RDX: 0000000000000007 RSI: 0000000020000080 RDI: 0000000000000003 RBP: 00007f4ecfb6d1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fff3ad3870f R14: 00007f4ecfb6d300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..