syzbot


WARNING in xfs_destroy_mount_workqueues (2)

Status: upstream: reported C repro on 2022/11/24 02:08
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+9e0dd25580f04397116b@syzkaller.appspotmail.com
First crash: 730d, last: 627d
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.14 WARNING in xfs_destroy_mount_workqueues (2) xfs syz 2 636d 666d 0/1 upstream: reported syz repro on 2023/01/27 06:48

Sample crash report:
XFS (loop3): Ending clean mount
XFS (loop2): Unmounting Filesystem
XFS (loop5): Unmounting Filesystem
------------[ cut here ]------------
XFS (loop4): Unmounting Filesystem
WARNING: CPU: 1 PID: 8129 at kernel/workqueue.c:4212 destroy_workqueue.cold+0x38/0x7d kernel/workqueue.c:4212
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8129 Comm: syz-executor236 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 panic+0x26a/0x50e kernel/panic.c:186
 __warn.cold+0x20/0x5a kernel/panic.c:541
 report_bug+0x262/0x2b0 lib/bug.c:183
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 fixup_bug arch/x86/kernel/traps.c:173 [inline]
 do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:destroy_workqueue.cold+0x38/0x7d kernel/workqueue.c:4212
Code: c6 00 00 0f 0b 48 8b 7c 24 08 e8 95 92 25 00 e8 d0 b6 4b f9 e9 de c2 4b f9 e8 16 95 6f f9 48 c7 c7 80 3f 69 88 e8 75 c6 00 00 <0f> 0b e8 03 95 6f f9 48 8b 7c 24 08 e8 69 92 25 00 e8 a4 b6 4b f9
RSP: 0018:ffff888094847cc8 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012908f8b
RBP: 000000000000000f R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880abd16540
R13: dffffc0000000000 R14: ffffe8ffffd75800 R15: 0000000000000000
 xfs_destroy_mount_workqueues+0xef/0x1c0 fs/xfs/xfs_super.c:903
 xfs_fs_put_super+0xc4/0x130 fs/xfs/xfs_super.c:1779
 generic_shutdown_super+0x144/0x370 fs/super.c:456
 kill_block_super+0x97/0xf0 fs/super.c:1185
 deactivate_locked_super+0x94/0x160 fs/super.c:329
 deactivate_super+0x174/0x1a0 fs/super.c:360
 cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
 task_work_run+0x148/0x1c0 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:193 [inline]
 exit_to_usermode_loop+0x251/0x2a0 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+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fec219cfda7
Code: ff d0 48 89 c7 b8 3c 00 00 00 0f 05 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffae46e4b8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fec219cfda7
RDX: 00007fffae46e57a RSI: 000000000000000a RDI: 00007fffae46e570
RBP: 00007fffae46e570 R08: 00000000ffffffff R09: 00007fffae46e350
R10: 0000555555576783 R11: 0000000000000206 R12: 00007fffae46f630
R13: 00005555555766f0 R14: 00007fffae46e4e0 R15: 00007fffae46f650
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (43):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/24 05:33 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/28 10:44 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report syz [disk image] [vmlinux] [mounted in repro #1] [mounted in repro #2] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/06 07:35 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/03/07 08:37 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/03/03 12:45 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/03/01 22:56 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/28 21:13 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/28 14:35 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/24 15:42 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/22 05:23 linux-4.19.y 3f8a27f9e27b 42a4d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/21 16:12 linux-4.19.y 3f8a27f9e27b f949448d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/20 16:13 linux-4.19.y 3f8a27f9e27b bcdf85f8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/18 15:48 linux-4.19.y 3f8a27f9e27b d02e9a70 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/16 23:37 linux-4.19.y 3f8a27f9e27b 851bc19a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/14 13:50 linux-4.19.y 3f8a27f9e27b 93ae7e0a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/13 10:27 linux-4.19.y 3f8a27f9e27b 957959cb .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/11 10:50 linux-4.19.y 3f8a27f9e27b 93e26d60 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/10 10:27 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/10 09:50 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/09 13:09 linux-4.19.y 3f8a27f9e27b 14a312c8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/08 15:44 linux-4.19.y 3f8a27f9e27b fc9c934e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/08 08:48 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/08 08:08 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/07 12:56 linux-4.19.y 3f8a27f9e27b 5bc3be51 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/02/04 11:25 linux-4.19.y 3f8a27f9e27b 1b2f701a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/28 08:19 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/23 22:33 linux-4.19.y 3f8a27f9e27b 9dfcf09c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/16 01:41 linux-4.19.y 3f8a27f9e27b a63719e7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/10 09:46 linux-4.19.y 3f8a27f9e27b 48bc529a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/06 05:21 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/03 12:42 linux-4.19.y 3f8a27f9e27b f0036e18 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2023/01/01 23:47 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/25 17:42 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/24 09:56 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/22 10:23 linux-4.19.y 3f8a27f9e27b 4067838e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/21 02:38 linux-4.19.y 3f8a27f9e27b d3e76707 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/16 09:07 linux-4.19.y 3f8a27f9e27b 6f9c033e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/14 14:56 linux-4.19.y 3f8a27f9e27b b18f0a64 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/11 06:18 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/12/05 14:52 linux-4.19.y 3f8a27f9e27b e080de16 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/11/29 17:16 linux-4.19.y 3f8a27f9e27b 579a3740 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/11/29 13:12 linux-4.19.y 3f8a27f9e27b ca9683b8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
2022/11/24 02:08 linux-4.19.y 3f8a27f9e27b 52fdf57a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in xfs_destroy_mount_workqueues
* Struck through repros no longer work on HEAD.