WARNING in xfs_destroy_mount_workqueues (2)

9 views
Skip to first unread message

syzbot

unread,
Nov 23, 2022, 9:08:35 PM11/23/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14abd273880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=9e0dd25580f04397116b
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9e0dd2...@syzkaller.appspotmail.com

XFS (loop3): Unmounting Filesystem
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8147 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: 8147 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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:ffff88809ea1fcc8 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1013d43f8b
RBP: 000000000000000f R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b2733580
R13: dffffc0000000000 R14: ffffe8ffffcbb600 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:0x7ff92b454577
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 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:00007ffd8cbcd818 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff92b454577
RDX: 00007ffd8cbcd8eb RSI: 000000000000000a RDI: 00007ffd8cbcd8e0
RBP: 00007ffd8cbcd8e0 R08: 00000000ffffffff R09: 00007ffd8cbcd6b0
R10: 0000555555947903 R11: 0000000000000246 R12: 00007ff92b4adb24
R13: 00007ffd8cbce9a0 R14: 0000555555947810 R15: 00007ffd8cbce9e0
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.

syzbot

unread,
Jan 6, 2023, 2:36:54 AM1/6/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12605d8c480000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=9e0dd25580f04397116b
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=124665fc480000
mounted in repro: https://storage.googleapis.com/syzbot-assets/e63c9f208258/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9e0dd2...@syzkaller.appspotmail.com

XFS (loop4): Mounting V4 Filesystem
XFS (loop4): Ending clean mount
XFS (loop2): Mounting V4 Filesystem
XFS (loop4): Unmounting Filesystem
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8188 at kernel/workqueue.c:4212 destroy_workqueue.cold+0x38/0x7d kernel/workqueue.c:4212
XFS (loop2): Ending clean mount
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8188 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
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:ffff88809462fcc8 EFLAGS: 00010282
RAX: 0000000000000024 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10128c5f8b
RBP: 000000000000000f R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809bdf0c80
R13: dffffc0000000000 R14: ffffe8ffffca4800 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:0x7fa5a0066537
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 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:00007ffc73c1f158 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fa5a0066537
RDX: 00007ffc73c1f22b RSI: 000000000000000a RDI: 00007ffc73c1f220
RBP: 00007ffc73c1f220 R08: 00000000ffffffff R09: 00007ffc73c1eff0
R10: 00005555570d2903 R11: 0000000000000246 R12: 00007fa5a00bfb24
R13: 00007ffc73c202e0 R14: 00005555570d2810 R15: 00007ffc73c20320

syzbot

unread,
Jan 24, 2023, 12:34:37 AM1/24/23
to syzkaller...@googlegroups.com
syzbot has found a reproducer for the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=132b9246480000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=9e0dd25580f04397116b
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11e726fe480000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1448aab6480000
mounted in repro: https://storage.googleapis.com/syzbot-assets/764492254767/mount_1.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+9e0dd2...@syzkaller.appspotmail.com

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

syzbot

unread,
Jan 27, 2023, 1:48:52 AM1/27/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3949d1610004 Linux 4.14.304
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=10c1bf51480000
kernel config: https://syzkaller.appspot.com/x/.config?x=db4418ccbf710113
dashboard link: https://syzkaller.appspot.com/bug?extid=2460040d9f3dcf203e09
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=168f5235480000

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2230a6d7e7f4/disk-3949d161.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/9b8d5667f298/vmlinux-3949d161.xz
kernel image: https://storage.googleapis.com/syzbot-assets/825468a3e783/bzImage-3949d161.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/2c092ba6122e/mount_0.gz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+246004...@syzkaller.appspotmail.com

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..


---
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.
syzbot can test patches for this issue, for details see:
https://goo.gl/tpsmEJ#testing-patches
Reply all
Reply to author
Forward
0 new messages