Hello,
syzbot found the following issue on:
HEAD commit: 4735586da88e Linux 5.15.176
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=168399df980000
kernel config:
https://syzkaller.appspot.com/x/.config?x=caf0c22a63c5c861
dashboard link:
https://syzkaller.appspot.com/bug?extid=13c3b498a6ca7374deed
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
userspace arch: arm64
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/3e7a2d136136/disk-4735586d.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/7597375cf469/vmlinux-4735586d.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/132474c9ad82/Image-4735586d.gz.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+13c3b4...@syzkaller.appspotmail.com
=====================================
WARNING: bad unlock balance detected!
5.15.176-syzkaller #0 Not tainted
-------------------------------------
kworker/u4:12/6133 is trying to release lock (&jfs_ip->commit_mutex) at:
[<ffff80000991ed60>] jfs_commit_inode+0x2d4/0x4f8 fs/jfs/inode.c:111
but there are no more locks to release!
other info that might help us debug this:
2 locks held by kworker/u4:12/6133:
#0: ffff0000c21d8138 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x66c/0x11b8 kernel/workqueue.c:2283
#1: ffff800021247c00 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x6ac/0x11b8 kernel/workqueue.c:2285
stack backtrace:
CPU: 1 PID: 6133 Comm: kworker/u4:12 Not tainted 5.15.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: writeback wb_workfn (flush-7:4)
Call trace:
dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152
show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106
dump_stack+0x1c/0x58 lib/dump_stack.c:113
print_unlock_imbalance_bug+0x250/0x2a4 kernel/locking/lockdep.c:5065
lock_release+0x4b8/0xa1c kernel/locking/lockdep.c:5643
__mutex_unlock_slowpath+0xe0/0x6d4 kernel/locking/mutex.c:851
mutex_unlock+0x8c/0xe0 kernel/locking/mutex.c:536
jfs_commit_inode+0x2d4/0x4f8 fs/jfs/inode.c:111
jfs_write_inode+0x128/0x200 fs/jfs/inode.c:132
write_inode fs/fs-writeback.c:1495 [inline]
__writeback_single_inode+0x584/0x13a4 fs/fs-writeback.c:1705
writeback_sb_inodes+0x94c/0x1654 fs/fs-writeback.c:1930
wb_writeback+0x3fc/0xfc8 fs/fs-writeback.c:2104
wb_do_writeback fs/fs-writeback.c:2247 [inline]
wb_workfn+0x3a4/0x1070 fs/fs-writeback.c:2288
process_one_work+0x790/0x11b8 kernel/workqueue.c:2310
worker_thread+0x910/0x1034 kernel/workqueue.c:2457
kthread+0x37c/0x45c kernel/kthread.c:334
ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:870
---
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.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup