syzbot
kernel BUG in jfs_flush_journal (3)
Status:
upstream: reported on 2026/03/01 21:09
Subsystems:
jfs
Labels:
prio:high
[Documentation on labels]
Reported-by: syzbot+4c8d1f29732a21567e4e@syzkaller.appspotmail.com
First crash: 228d, last: 4h08m
Sample crash report:
BUG at fs/jfs/jfs_logmgr.c:1585 assert(list_empty(&log->cqueue))
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_logmgr.c:1585!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 7380 Comm: syz-executor Not tainted syzkaller #0 PREEMPT_{RT,(full)}
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:jfs_flush_journal+0xf2b/0xf50 fs/jfs/jfs_logmgr.c:1585
Code: e9 9e f5 ff ff e8 95 48 5d fe 48 c7 c7 00 8e ad 8b 48 c7 c6 00 89 ad 8b ba 31 06 00 00 48 c7 c1 40 8e ad 8b e8 e6 d6 bd fd 90 <0f> 0b e8 6e 48 5d fe bf 02 00 00 00 e8 d4 3c 2b fe e9 a9 f7 ff ff
RSP: 0018:ffffc90005a2fb20 EFLAGS: 00010246
RAX: 0000000000000040 RBX: dffffc0000000000 RCX: 01812b4c80d4af00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005a2fc60 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000b45f15 R12: 00000000000000c7
R13: ffff888062f4ba18 R14: ffff888062f4b800 R15: ffff888062f4bad8
FS: 000055556a0d4500(0000) GS:ffff888124abb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055dd0fbad950 CR3: 0000000043924000 CR4: 00000000003526f0
Call Trace:
<TASK>
jfs_umount+0x150/0x3b0 fs/jfs/jfs_umount.c:59
jfs_put_super+0x8c/0x190 fs/jfs/super.c:194
generic_shutdown_super+0x13d/0x2d0 fs/super.c:751
kill_block_super+0x44/0xa0 fs/super.c:1903
deactivate_locked_super+0xbe/0x110 fs/super.c:586
cleanup_mnt+0x204/0x2a0 fs/namespace.c:1392
task_work_run+0x1d9/0x270 kernel/task_work.c:233
resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
__exit_to_user_mode_loop kernel/entry/common.c:70 [inline]
exit_to_user_mode_loop+0x204/0x770 kernel/entry/common.c:101
__exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline]
syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline]
syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline]
do_syscall_64+0x328/0x520 arch/x86/entry/syscall_64.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f99a423f417
Code: a2 c7 05 dc 62 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 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 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffce7285288 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f99a42d4ccb RCX: 00007f99a423f417
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffce7285340
RBP: 00007ffce7285340 R08: 00007ffce7286340 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffce72863d0
R13: 00007f99a42d4ccb R14: 00000000000516be R15: 00007ffce7286410
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_flush_journal+0xf2b/0xf50 fs/jfs/jfs_logmgr.c:1585
Code: e9 9e f5 ff ff e8 95 48 5d fe 48 c7 c7 00 8e ad 8b 48 c7 c6 00 89 ad 8b ba 31 06 00 00 48 c7 c1 40 8e ad 8b e8 e6 d6 bd fd 90 <0f> 0b e8 6e 48 5d fe bf 02 00 00 00 e8 d4 3c 2b fe e9 a9 f7 ff ff
RSP: 0018:ffffc90005a2fb20 EFLAGS: 00010246
RAX: 0000000000000040 RBX: dffffc0000000000 RCX: 01812b4c80d4af00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90005a2fc60 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000b45f15 R12: 00000000000000c7
R13: ffff888062f4ba18 R14: ffff888062f4b800 R15: ffff888062f4bad8
FS: 000055556a0d4500(0000) GS:ffff888124abb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe7a249dc00 CR3: 0000000043924000 CR4: 00000000003526f0
* Struck through repros no longer work on HEAD.