syzbot


kernel BUG in txUnlock

Status: upstream: reported C repro on 2022/12/24 18:38
Subsystems: jfs
[Documentation on labels]
Reported-by: syzbot+588401b5ca79569e60ad@syzkaller.appspotmail.com
First crash: 489d, last: 446d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in txUnlock origin:upstream C error 11 1d22h 327d 0/3 upstream: reported C repro on 2023/06/04 02:49
upstream kernel BUG in txUnlock jfs C error 1152 20m 573d 0/26 upstream: reported C repro on 2022/10/01 14:27
linux-6.1 kernel BUG in txUnlock origin:upstream C 41 now 327d 0/3 upstream: reported C repro on 2023/06/04 03:57
linux-4.14 kernel BUG in txUnlock jfs C 2 418d 481d 0/1 upstream: reported C repro on 2023/01/01 13:47

Sample crash report:
IPVS: ftp: loaded support on port[0] = 21
ERROR: (device loop0): txAbort: 
BUG at fs/jfs/jfs_txnmgr.c:939 assert(mp->nohomeok > 0)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:939!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1985 Comm: jfsCommit Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:txUnlock.cold+0x4a/0x72 fs/jfs/jfs_txnmgr.c:939
Code: eb cc fa ff 0f 0b e8 79 9b 69 f9 48 c7 c1 a0 16 9b 88 ba ab 03 00 00 48 c7 c6 20 16 9b 88 48 c7 c7 60 16 9b 88 e8 c5 cc fa ff <0f> 0b e8 53 9b 69 f9 48 c7 c1 e0 15 9b 88 ba a5 03 00 00 48 c7 c6
RSP: 0018:ffff8880b09f7d58 EFLAGS: 00010282
RAX: 0000000000000037 RBX: ffffc90001602090 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101613ef9d
RBP: ffff88809fef92d0 R08: 0000000000000037 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90001401100 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6ae498e000 CR3: 00000000aaba5000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 txLazyCommit fs/jfs/jfs_txnmgr.c:2727 [inline]
 jfs_lazycommit+0x66b/0x9d0 fs/jfs/jfs_txnmgr.c:2777
 kthread+0x33f/0x460 kernel/kthread.c:259
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
Modules linked in:
---[ end trace d8e1d787df980f35 ]---
RIP: 0010:txUnlock.cold+0x4a/0x72 fs/jfs/jfs_txnmgr.c:939
Code: eb cc fa ff 0f 0b e8 79 9b 69 f9 48 c7 c1 a0 16 9b 88 ba ab 03 00 00 48 c7 c6 20 16 9b 88 48 c7 c7 60 16 9b 88 e8 c5 cc fa ff <0f> 0b e8 53 9b 69 f9 48 c7 c1 e0 15 9b 88 ba a5 03 00 00 48 c7 c6
RSP: 0018:ffff8880b09f7d58 EFLAGS: 00010282
RAX: 0000000000000037 RBX: ffffc90001602090 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed101613ef9d
RBP: ffff88809fef92d0 R08: 0000000000000037 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffffc90001401100 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3f65d48140 CR3: 00000000aaba5000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/06 19:24 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in txUnlock
2023/01/06 04:14 linux-4.19.y 3f8a27f9e27b 1dac8c7a .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in txUnlock
2022/12/24 19:30 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report syz C [disk image] [vmlinux] [mounted in repro] ci2-linux-4-19 kernel BUG in txUnlock
2023/02/05 06:10 linux-4.19.y 3f8a27f9e27b be607b78 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in txUnlock
2023/01/22 23:39 linux-4.19.y 3f8a27f9e27b cc0f9968 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in txUnlock
2022/12/31 21:15 linux-4.19.y 3f8a27f9e27b ab32d508 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in txUnlock
2022/12/24 18:37 linux-4.19.y 3f8a27f9e27b 9da18ae8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 kernel BUG in txUnlock
* Struck through repros no longer work on HEAD.