Hello,
syzbot found the following issue on:
HEAD commit: d09b8017 Linux 4.19.147
git tree: linux-4.19.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1423d2c3900000
kernel config:
https://syzkaller.appspot.com/x/.config?x=47cc70be3c316a0a
dashboard link:
https://syzkaller.appspot.com/bug?extid=2e32d65441145226a1c3
compiler: gcc (GCC) 10.1.0-syz 20200507
Unfortunately, I don't have any reproducer for this issue yet.
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+2e32d6...@syzkaller.appspotmail.com
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(mutex_is_locked(lock))
WARNING: CPU: 1 PID: 13208 at kernel/locking/mutex-debug.c:103 mutex_destroy+0xec/0x130 kernel/locking/mutex-debug.c:103
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 13208 Comm: syz-executor.3 Not tainted 4.19.147-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+0x22c/0x33e lib/dump_stack.c:118
panic+0x2ac/0x565 kernel/panic.c:186
__warn.cold+0x20/0x5a 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+0x1e1/0x330 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:mutex_destroy+0xec/0x130 kernel/locking/mutex-debug.c:103
Code: 11 38 d0 7c 04 84 d2 75 50 8b 05 af 62 e9 0b 85 c0 0f 85 63 ff ff ff 48 c7 c6 20 23 0b 88 48 c7 c7 60 23 0b 88 e8 ea 82 eb ff <0f> 0b e9 49 ff ff ff 48 c7 c7 20 8b 2d 8d e8 11 14 54 00 e9 2e ff
RSP: 0018:ffff888056bffde0 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff888090246640 RCX: 0000000000000000
RDX: 0000000000008aba RSI: ffffffff815b523f RDI: ffffed100ad7ffae
RBP: ffff8880902464c0 R08: 0000000000000000 R09: 0000000000000a36
R10: 0000000000000006 R11: 000000000ceedbcf R12: 0000000000000000
R13: ffff888090246640 R14: ffffffff8dd53fc0 R15: ffff8880a9980620
ww_mutex_destroy include/linux/ww_mutex.h:358 [inline]
reservation_object_fini include/linux/reservation.h:129 [inline]
dma_buf_release+0x5e1/0x6e0 drivers/dma-buf/dma-buf.c:77
__fput+0x2ce/0x8a0 fs/file_table.c:278
task_work_run+0x141/0x1c0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x269/0x2c0 arch/x86/entry/common.c:167
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x57c/0x670 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45e179
Code: 3d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 0b b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fc760d47c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 000000000000c540 RCX: 000000000045e179
RDX: 0000000020000240 RSI: 00000000c00464b4 RDI: 0000000000000004
RBP: 000000000118d028 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cff4
R13: 00007ffe59f0775f R14: 00007fc760d489c0 R15: 000000000118cff4
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.