syzbot


WARNING in jfs_flush_journal

Status: upstream: reported C repro on 2022/12/26 12:53
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+f4c9e255a5df6d2bae73@syzkaller.appspotmail.com
First crash: 726d, last: 655d

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8087 at fs/jfs/jfs_logmgr.c:1634 jfs_flush_journal.part.0.cold+0x11/0x3e fs/jfs/jfs_logmgr.c:1634
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 8087 Comm: syz-executor221 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:jfs_flush_journal.part.0.cold+0x11/0x3e fs/jfs/jfs_logmgr.c:1634
Code: 11 9b 88 e8 6d cd fa ff 0f 0b e8 fb 9b 69 f9 e8 46 5f 9f f9 e8 70 ff ff ff e8 ec 9b 69 f9 48 c7 c7 40 12 9b 88 e8 4b cd fa ff <0f> 0b e9 99 4b 7f fa e8 d4 9b 69 f9 48 c7 c1 00 12 9b 88 ba 4a 06
RSP: 0018:ffff888091dffbc8 EFLAGS: 00010282
RAX: 0000000000000024 RBX: ffff88809e413400 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10123bff6b
RBP: ffff88809e413200 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffff88809e413388
R13: ffffed1013c82671 R14: dffffc0000000000 R15: 1ffff11013c82680
 jfs_flush_journal+0x23/0x30 fs/jfs/jfs_logmgr.c:1537
 jfs_umount+0xbf/0x310 fs/jfs/jfs_umount.c:71
 jfs_put_super+0x61/0x140 fs/jfs/super.c:223
 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:0x7f3387c288e7
Code: 07 00 48 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe9846d108 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f3387c288e7
RDX: 00007ffe9846d1c9 RSI: 000000000000000a RDI: 00007ffe9846d1c0
RBP: 00007ffe9846d1c0 R08: 00000000ffffffff R09: 00007ffe9846cfa0
R10: 000055555714c683 R11: 0000000000000202 R12: 00007ffe9846e220
R13: 000055555714c5f0 R14: 00007ffe9846d130 R15: 0000000000000001
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/26 14:03 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/03/07 09:23 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/03/04 00:23 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/02/10 04:18 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/02/05 13:08 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/01/19 13:09 linux-4.19.y 3f8a27f9e27b 66fca3ae .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/01/18 19:30 linux-4.19.y 3f8a27f9e27b 4620c2d9 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2023/01/08 01:40 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
2022/12/26 12:52 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 WARNING in jfs_flush_journal
* Struck through repros no longer work on HEAD.