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: 253d, last: 19d
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 297d 297d 0/3 auto-obsoleted due to no activity on 2024/07/26 08:47
upstream kernel BUG in jfs_flush_journal jfs 2 693d 690d 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] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 8371 Comm: syz.4.324 Not tainted 6.13.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:jfs_flush_journal+0xeba/0xec0 fs/jfs/jfs_logmgr.c:1588
Code: e8 db 0f 90 08 e8 76 6d 6e fe 48 c7 c7 c0 82 42 8c 48 c7 c6 c0 7d 42 8c ba 34 06 00 00 48 c7 c1 00 83 42 8c e8 27 08 d6 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9001a87fb40 EFLAGS: 00010246
RAX: 0000000000000040 RBX: ffff8880265259a8 RCX: b92ebd00298b1a00
RDX: ffffc9000c689000 RSI: 000000000000a626 RDI: 000000000000a627
RBP: ffffc9001a87fc78 R08: ffffffff817efbbc R09: 1ffff9200350ff04
R10: dffffc0000000000 R11: fffff5200350ff05 R12: 1ffff9200350ff74
R13: dffffc0000000000 R14: ffff888026525800 R15: ffff888026525800
FS:  00007f8a34ff96c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f8ae6569160 CR3: 000000002aa7a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 jfs_umount_rw+0x75/0x130 fs/jfs/jfs_umount.c:134
 jfs_reconfigure+0x6a8/0x9d0 fs/jfs/super.c:421
 reconfigure_super+0x43a/0x870 fs/super.c:1083
 do_remount fs/namespace.c:3051 [inline]
 path_mount+0xc22/0xfa0 fs/namespace.c:3830
 do_mount fs/namespace.c:3851 [inline]
 __do_sys_mount fs/namespace.c:4061 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4038
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f8a351874ca
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8a34ff8e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f8a34ff8ef0 RCX: 00007f8a351874ca
RDX: 0000000020000180 RSI: 0000000020000100 RDI: 0000000000000000
RBP: 0000000020000180 R08: 00007f8a34ff8ef0 R09: 00000000000000e1
R10: 00000000000000e1 R11: 0000000000000246 R12: 0000000020000100
R13: 00007f8a34ff8eb0 R14: 0000000000000000 R15: 00000000200001c0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:jfs_flush_journal+0xeba/0xec0 fs/jfs/jfs_logmgr.c:1588
Code: e8 db 0f 90 08 e8 76 6d 6e fe 48 c7 c7 c0 82 42 8c 48 c7 c6 c0 7d 42 8c ba 34 06 00 00 48 c7 c1 00 83 42 8c e8 27 08 d6 fd 90 <0f> 0b 0f 1f 40 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9001a87fb40 EFLAGS: 00010246
RAX: 0000000000000040 RBX: ffff8880265259a8 RCX: b92ebd00298b1a00
RDX: ffffc9000c689000 RSI: 000000000000a626 RDI: 000000000000a627
RBP: ffffc9001a87fc78 R08: ffffffff817efbbc R09: 1ffff9200350ff04
R10: dffffc0000000000 R11: fffff5200350ff05 R12: 1ffff9200350ff74
R13: dffffc0000000000 R14: ffff888026525800 R15: ffff888026525800
FS:  00007f8a34ff96c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020001000 CR3: 000000002aa7a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
* Struck through repros no longer work on HEAD.