syzbot


kernel BUG in txCommit

Status: upstream: reported on 2024/09/19 16:04
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+49e4cb6cf207d61b5afc@syzkaller.appspotmail.com
First crash: 5d08h, last: 5d08h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [jfs?] kernel BUG in txCommit 0 (1) 2024/09/19 16:04

Sample crash report:
loop0: detected capacity change from 0 to 32768
BUG at fs/jfs/jfs_txnmgr.c:2209 assert(mp->xflag & COMMIT_PAGE)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:2209!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 0 UID: 0 PID: 6866 Comm: syz.0.200 Not tainted 6.11.0-rc7-syzkaller-00151-gd42f7708e27c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:txForce fs/jfs/jfs_txnmgr.c:2209 [inline]
RIP: 0010:txCommit+0x6b29/0x6b80 fs/jfs/jfs_txnmgr.c:1315
Code: 86 08 90 0f 0b e8 27 f7 6b fe 48 c7 c7 a0 05 23 8c 48 c7 c6 99 01 23 8c ba a1 08 00 00 48 c7 c1 a0 11 23 8c e8 68 84 86 08 90 <0f> 0b e8 10 84 89 08 e8 fb f6 6b fe 48 8b 7c 24 10 48 c7 c6 00 13
RSP: 0018:ffffc90002fbf560 EFLAGS: 00010246
RAX: 000000000000003f RBX: 0000000000000000 RCX: 0a4c9e0a19d3dd00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90002fbf7d0 R08: ffffffff8174016c R09: 1ffff920005f7e4c
R10: dffffc0000000000 R11: fffff520005f7e4d R12: ffff888057cddc98
R13: 00000000000000bd R14: 0000000000000000 R15: ffffc90002852000
FS:  00007f0b40edb6c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000644ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 duplicateIXtree+0x33f/0x550 fs/jfs/jfs_imap.c:3019
 diNewIAG fs/jfs/jfs_imap.c:2597 [inline]
 diAllocExt fs/jfs/jfs_imap.c:1905 [inline]
 diAllocAG+0x17dc/0x1e50 fs/jfs/jfs_imap.c:1669
 diAlloc+0x1d3/0x1760 fs/jfs/jfs_imap.c:1590
 ialloc+0x8f/0x900 fs/jfs/jfs_inode.c:56
 jfs_mkdir+0x1c5/0xba0 fs/jfs/namei.c:225
 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4210
 do_mkdirat+0x264/0x3a0 fs/namei.c:4233
 __do_sys_mkdir fs/namei.c:4253 [inline]
 __se_sys_mkdir fs/namei.c:4251 [inline]
 __x64_sys_mkdir+0x6c/0x80 fs/namei.c:4251
 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:0x7f0b4017def9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f0b40edb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000053
RAX: ffffffffffffffda RBX: 00007f0b40335f80 RCX: 00007f0b4017def9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000640
RBP: 00007f0b401f0b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0b40335f80 R15: 00007ffd5b250568
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txForce fs/jfs/jfs_txnmgr.c:2209 [inline]
RIP: 0010:txCommit+0x6b29/0x6b80 fs/jfs/jfs_txnmgr.c:1315
Code: 86 08 90 0f 0b e8 27 f7 6b fe 48 c7 c7 a0 05 23 8c 48 c7 c6 99 01 23 8c ba a1 08 00 00 48 c7 c1 a0 11 23 8c e8 68 84 86 08 90 <0f> 0b e8 10 84 89 08 e8 fb f6 6b fe 48 8b 7c 24 10 48 c7 c6 00 13
RSP: 0018:ffffc90002fbf560 EFLAGS: 00010246
RAX: 000000000000003f RBX: 0000000000000000 RCX: 0a4c9e0a19d3dd00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90002fbf7d0 R08: ffffffff8174016c R09: 1ffff920005f7e4c
R10: dffffc0000000000 R11: fffff520005f7e4d R12: ffff888057cddc98
R13: 00000000000000bd R14: 0000000000000000 R15: ffffc90002852000
FS:  00007f0b40edb6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d4714cc080 CR3: 00000000644ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/15 15:57 upstream d42f7708e27c 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs kernel BUG in txCommit
* Struck through repros no longer work on HEAD.