syzbot


kernel BUG in txUnlock

Status: upstream: reported on 2022/10/01 14:27
Reported-by: syzbot+a63afa301d1258d09267@syzkaller.appspotmail.com
First crash: 57d, last: 1d18h

Sample crash report:
BUG at fs/jfs/jfs_txnmgr.c:926 assert(mp->nohomeok > 0)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:926!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 133 Comm: jfsCommit Not tainted 6.1.0-rc6-syzkaller-00015-gc3eb11fbb826 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:txUnlock+0xd22/0xd50 fs/jfs/jfs_txnmgr.c:926
Code: 87 07 0f 0b e8 6f 9a 81 fe 48 c7 c7 a0 35 2e 8b 48 c7 c6 d0 4e 2e 8b ba 9e 03 00 00 48 c7 c1 80 42 2e 8b 31 c0 e8 8a 3d 87 07 <0f> 0b e8 47 9a 81 fe 48 c7 c7 a0 35 2e 8b 48 c7 c6 d0 4e 2e 8b ba
RSP: 0018:ffffc90002e9fd08 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 1ffff11003abe8ee RCX: ad3338530bf01600
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff816e568d R09: fffff520005d3f59
R10: fffff520005d3f59 R11: 1ffff920005d3f58 R12: ffffc90002a12000
R13: ffff88801d5f4770 R14: ffff88801d5f46c8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feeeebff800 CR3: 00000000271f8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 txLazyCommit fs/jfs/jfs_txnmgr.c:2677 [inline]
 jfs_lazycommit+0x5e6/0xb80 fs/jfs/jfs_txnmgr.c:2727
 kthread+0x266/0x300 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txUnlock+0xd22/0xd50 fs/jfs/jfs_txnmgr.c:926
Code: 87 07 0f 0b e8 6f 9a 81 fe 48 c7 c7 a0 35 2e 8b 48 c7 c6 d0 4e 2e 8b ba 9e 03 00 00 48 c7 c1 80 42 2e 8b 31 c0 e8 8a 3d 87 07 <0f> 0b e8 47 9a 81 fe 48 c7 c7 a0 35 2e 8b 48 c7 c6 d0 4e 2e 8b ba
RSP: 0018:ffffc90002e9fd08 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 1ffff11003abe8ee RCX: ad3338530bf01600
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff816e568d R09: fffff520005d3f59
R10: fffff520005d3f59 R11: 1ffff920005d3f58 R12: ffffc90002a12000
R13: ffff88801d5f4770 R14: ffff88801d5f46c8 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007feef8787218 CR3: 000000002829d000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (8):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-fs 2022/11/25 08:10 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in txUnlock
ci2-upstream-fs 2022/11/25 07:39 upstream c3eb11fbb826 74a66371 .config log report info kernel BUG in txUnlock
ci2-upstream-fs 2022/11/03 16:56 upstream b229b6ca5abb 7a2ebf95 .config log report info kernel BUG in txUnlock
ci2-upstream-fs 2022/10/19 08:48 upstream 493ffd6605b2 b31320fc .config log report info kernel BUG in txUnlock
ci2-upstream-fs 2022/10/17 21:06 upstream 493ffd6605b2 94744d21 .config log report info kernel BUG in txUnlock
ci-upstream-gce-arm64 2022/09/30 15:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5911b92626df feb56351 .config log report info kernel BUG in txUnlock
ci2-upstream-fs 2022/10/30 03:04 upstream b229b6ca5abb 2a71366b .config log report info kernel BUG in txAbort
ci2-upstream-fs 2022/10/04 02:39 upstream 4fe89d07dcc2 feb56351 .config log report info kernel BUG in txAbort
* Struck through repros no longer work on HEAD.