syzbot


kernel BUG in jfs_flush_journal (2)

Status: upstream: reported on 2024/06/04 21:13
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+e66452054e1f161e8d29@syzkaller.appspotmail.com
First crash: 350d, last: 15d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] kernel BUG in jfs_flush_journal (2) 0 (1) 2024/06/04 21:13
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in jfs_flush_journal 1 394d 394d 0/3 auto-obsoleted due to no activity on 2024/07/26 08:47
upstream kernel BUG in jfs_flush_journal jfs 2 790d 787d 0/28 auto-obsoleted due to no activity on 2023/07/16 07:52

Sample crash report:
BUG at fs/jfs/jfs_logmgr.c:1588 assert(list_empty(&log->cqueue))
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_logmgr.c:1588!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 14230 Comm: syz-executor Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
RIP: 0010:jfs_flush_journal+0xeb2/0xed0 fs/jfs/jfs_logmgr.c:1588
Code: e9 07 f6 ff ff e8 3e 57 85 fe 48 c7 c7 00 7e a3 8b 48 c7 c6 00 79 a3 8b ba 34 06 00 00 48 c7 c1 40 7e a3 8b e8 9f 24 ed fd 90 <0f> 0b f3 0f 1e fa e8 13 57 85 fe bf 02 00 00 00 e8 c9 51 56 fe e9
RSP: 0018:ffffc900040efb20 EFLAGS: 00010246
RAX: 0000000000000040 RBX: dffffc0000000000 RCX: 2b299a605c993900
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900040efc50 R08: ffffc900040ef807 R09: 1ffff9200081df00
R10: dffffc0000000000 R11: fffff5200081df01 R12: 00000000000000c7
R13: ffff88807ce449a8 R14: ffff88807ce44800 R15: ffff88807ce44a28
FS:  000055555a5f1500(0000) GS:ffff888126100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055558510c648 CR3: 000000004a9b2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jfs_umount+0x178/0x3c0 fs/jfs/jfs_umount.c:58
 jfs_put_super+0x8c/0x190 fs/jfs/super.c:194
 generic_shutdown_super+0x132/0x2c0 fs/super.c:642
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xb9/0x130 fs/super.c:473
 cleanup_mnt+0x425/0x4c0 fs/namespace.c:1435
 task_work_run+0x1d1/0x260 kernel/task_work.c:227
 resume_user_mode_work+0x5e/0x80 include/linux/resume_user_mode.h:50
 exit_to_user_mode_loop kernel/entry/common.c:114 [inline]
 exit_to_user_mode_prepare include/linux/entry-common.h:329 [inline]
 __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
 syscall_exit_to_user_mode+0x9a/0x120 kernel/entry/common.c:218
 do_syscall_64+0x103/0x210 arch/x86/entry/syscall_64.c:100
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f05e358fc97
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 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 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd2b6fce48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 00007f05e361089d RCX: 00007f05e358fc97
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd2b6fcf00
RBP: 00007ffd2b6fcf00 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffd2b6fdf90
R13: 00007f05e361089d R14: 0000000000099084 R15: 00007ffd2b6fdfd0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_flush_journal+0xeb2/0xed0 fs/jfs/jfs_logmgr.c:1588
Code: e9 07 f6 ff ff e8 3e 57 85 fe 48 c7 c7 00 7e a3 8b 48 c7 c6 00 79 a3 8b ba 34 06 00 00 48 c7 c1 40 7e a3 8b e8 9f 24 ed fd 90 <0f> 0b f3 0f 1e fa e8 13 57 85 fe bf 02 00 00 00 e8 c9 51 56 fe e9
RSP: 0018:ffffc900040efb20 EFLAGS: 00010246
RAX: 0000000000000040 RBX: dffffc0000000000 RCX: 2b299a605c993900
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900040efc50 R08: ffffc900040ef807 R09: 1ffff9200081df00
R10: dffffc0000000000 R11: fffff5200081df01 R12: 00000000000000c7
R13: ffff88807ce449a8 R14: ffff88807ce44800 R15: ffff88807ce44a28
FS:  000055555a5f1500(0000) GS:ffff888126200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f43855e2897 CR3: 000000004a9b2000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/01 18:59 upstream 4f79eaa2ceac 51b137cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2025/01/20 11:33 upstream ffd294d346d1 f2cb035c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/12/03 04:33 upstream cdd30ebb1b9f 578925bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/09/23 01:50 upstream de5cb0dcb74c 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/08/21 02:45 upstream 521b1e7f4cf0 9f0ab3fb .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/08/17 18:22 upstream e5fa841af679 dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/08/03 23:04 upstream 17712b7ea075 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root kernel BUG in jfs_flush_journal
2024/07/01 16:55 upstream 22a40d14b572 b294e901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2024/05/31 21:06 upstream d8ec19857b09 0c378259 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in jfs_flush_journal
2025/03/16 20:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5618886fdab e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in jfs_flush_journal
* Struck through repros no longer work on HEAD.