syzbot


WARNING in xfs_destroy_mount_workqueues (2)

Status: upstream: reported syz repro on 2023/01/27 06:48
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+2460040d9f3dcf203e09@syzkaller.appspotmail.com
First crash: 666d, last: 636d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 WARNING in xfs_destroy_mount_workqueues 2 1289d 1338d 0/1 auto-closed as invalid on 2021/09/11 04:44
linux-4.14 WARNING in xfs_destroy_mount_workqueues 1 1457d 1457d 0/1 auto-closed as invalid on 2021/03/27 00:14
linux-4.19 WARNING in xfs_destroy_mount_workqueues (2) xfs C 43 627d 730d 0/1 upstream: reported C repro on 2022/11/24 02:08

Sample crash report:
XFS (loop4): Mounting V4 Filesystem
XFS (loop3): Ending clean mount
XFS (loop4): Ending clean mount
XFS (loop4): Unmounting Filesystem
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8003 at kernel/workqueue.c:4145 destroy_workqueue+0x240/0x710 kernel/workqueue.c:4145
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8003 Comm: syz-executor.4 Not tainted 4.14.304-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
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:967
RIP: 0010:destroy_workqueue+0x240/0x710 kernel/workqueue.c:4145
RSP: 0018:ffff8880b182fd20 EFLAGS: 00010297
RAX: ffff8880b0a4e680 RBX: ffff8880a2e69280 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffe8ffffcca218
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000040030
R10: ffff8880b0a4ef30 R11: ffff8880b0a4e680 R12: ffffe8ffffcca258
R13: ffffe8ffffcca200 R14: ffff8880a2e692a0 R15: ffffe8ffffcca258
 xfs_destroy_mount_workqueues+0xef/0x1c0 fs/xfs/xfs_super.c:931
 xfs_fs_put_super+0xc4/0x130 fs/xfs/xfs_super.c:1747
 generic_shutdown_super+0x144/0x370 fs/super.c:446
 kill_block_super+0x95/0xe0 fs/super.c:1161
 deactivate_locked_super+0x6c/0xd0 fs/super.c:319
 deactivate_super+0x7f/0xa0 fs/super.c:350
 cleanup_mnt+0x186/0x2c0 fs/namespace.c:1183
 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+0x5e/0xd3
RIP: 0033:0x7f9729ff4537
RSP: 002b:00007fff4b5177e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f9729ff4537
RDX: 00007fff4b5178bb RSI: 000000000000000a RDI: 00007fff4b5178b0
RBP: 00007fff4b5178b0 R08: 00000000ffffffff R09: 00007fff4b517680
R10: 0000555555725903 R11: 0000000000000246 R12: 00007f972a04db24
R13: 00007fff4b518970 R14: 0000555555725810 R15: 00007fff4b5189b0
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/27 06:48 linux-4.14.y 3949d1610004 9dfcf09c .config console log report syz [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-4-14 WARNING in xfs_destroy_mount_workqueues
2023/02/25 16:20 linux-4.14.y 7878a41b6cc1 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in xfs_destroy_mount_workqueues
* Struck through repros no longer work on HEAD.