WARNING in reiserfs_put_super

10 views
Skip to first unread message

syzbot

unread,
Jul 18, 2022, 5:50:23 PM7/18/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=178a404a080000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=7007919b3aad76ae224f
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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+700791...@syzkaller.appspotmail.com

------------[ cut here ]------------
WARNING: CPU: 0 PID: 8120 at kernel/workqueue.c:4212 destroy_workqueue.cold+0x38/0x7d kernel/workqueue.c:4212
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 8120 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/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:ffff8880b4fa7c20 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10169f4f76
RBP: 000000000000000f R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880af0b2c80
R13: dffffc0000000000 R14: ffffe8ffffca5c00 R15: 0000000000000000
reiserfs_put_super+0x234/0x5c0 fs/reiserfs/super.c:631
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:0x7f1b4753b607
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:00007ffce41c1ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f1b4753b607
RDX: 00007ffce41c1fbc RSI: 000000000000000a RDI: 00007ffce41c1fb0
RBP: 00007ffce41c1fb0 R08: 00000000ffffffff R09: 00007ffce41c1d80
R10: 000055555676b903 R11: 0000000000000246 R12: 00007f1b475932a6
R13: 00007ffce41c3070 R14: 000055555676b810 R15: 00007ffce41c30b0
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,
Oct 24, 2022, 7:44:36 PM10/24/22
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=16ed4d2c880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=7007919b3aad76ae224f
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=103f59d2880000

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
mounted in repro: https://storage.googleapis.com/syzbot-assets/a26202452c81/mount_0.gz

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

REISERFS (device loop3): checking transaction log (loop3)
REISERFS (device loop3): Using rupasov hash to sort names
REISERFS (device loop3): Created .reiserfs_priv - reserved for xattr storage.
------------[ cut here ]------------
REISERFS (device loop4): found reiserfs format "3.6" with non-standard journal
WARNING: CPU: 1 PID: 8131 at kernel/workqueue.c:4212 destroy_workqueue.cold+0x38/0x7d kernel/workqueue.c:4212
REISERFS (device loop4): using ordered data mode
Kernel panic - not syncing: panic_on_warn set ...

reiserfs: using flush barriers
CPU: 1 PID: 8131 Comm: syz-executor.5 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/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
REISERFS (device loop4): journal params: device loop4, size 512, journal first block 18, max trans len 256, max batch 225, max commit age 30, max trans age 30
REISERFS (device loop4): checking transaction log (loop4)
REISERFS (device loop4): Using rupasov hash to sort names
REISERFS (device loop4): Created .reiserfs_priv - reserved for xattr storage.
__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:ffff88809525fc20 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000002 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012a4bf76
RBP: 000000000000000f R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880aa379840
R13: dffffc0000000000 R14: ffffe8ffffda2000 R15: 0000000000000000
reiserfs_put_super+0x234/0x5c0 fs/reiserfs/super.c:631
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:0x7f311c26ca67
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:00007fff7ff82158 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f311c26ca67
RDX: 00007fff7ff8222b RSI: 000000000000000a RDI: 00007fff7ff82220
RBP: 00007fff7ff82220 R08: 00000000ffffffff R09: 00007fff7ff81ff0
R10: 00005555565c0903 R11: 0000000000000246 R12: 00007f311c2c5826
R13: 00007fff7ff832e0 R14: 00005555565c0810 R15: 00007fff7ff83320
Reply all
Reply to author
Forward
0 new messages