DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock)) ------------[ cut here ]------------ audit: type=1804 audit(1620553746.716:444): pid=22160 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="open_writers" comm="syz-executor.2" name="/root/syzkaller-testdir283287384/syzkaller.zKFaJx/680/bus" dev="sda1" ino=14194 res=1 WARNING: CPU: 0 PID: 22182 at kernel/locking/mutex-debug.c:103 mutex_destroy.cold+0x13/0x1a kernel/locking/mutex-debug.c:103 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 22182 Comm: syz-executor.2 Not tainted 4.14.232-syzkaller #0 audit: type=1804 audit(1620553746.716:445): pid=22156 uid=0 auid=4294967295 ses=4294967295 op="invalid_pcr" cause="ToMToU" comm="syz-executor.2" name="/root/syzkaller-testdir283287384/syzkaller.zKFaJx/680/bus" dev="sda1" ino=14194 res=1 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:mutex_destroy.cold+0x13/0x1a kernel/locking/mutex-debug.c:103 RSP: 0018:ffff88822e16fda8 EFLAGS: 00010286 RAX: 000000000000002a RBX: ffff8880a7025840 RCX: 0000000000000000 RDX: 0000000000000610 RSI: ffffffff81441a30 RDI: ffffed1045c2dfab RBP: ffff8880a70256c0 R08: 000000000000002a R09: 0000000000000000 R10: 0000000000000000 R11: ffff888226cbc200 R12: 0000000000000000 R13: ffff8880a7025840 R14: ffffffff8c8e9f20 R15: ffff8880b34d1d10 ww_mutex_destroy include/linux/ww_mutex.h:347 [inline] reservation_object_fini include/linux/reservation.h:129 [inline] dma_buf_release+0x4be/0x5c0 drivers/dma-buf/dma-buf.c:77 __fput+0x25f/0x7a0 fs/file_table.c:210 task_work_run+0x11f/0x190 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:191 [inline] exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x4665f9 RSP: 002b:00007f50487bb188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 000000000056c008 RCX: 00000000004665f9 RDX: 0000000020000000 RSI: 00000000c00464b4 RDI: 0000000000000005 RBP: 00000000004bfce1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c008 R13: 00007ffc1e7dbc8f R14: 00007f50487bb300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..