syzbot


kernel BUG in ocfs2_claim_suballoc_bits

Status: upstream: reported C repro on 2024/10/28 07:17
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+f526a0c9abb316ed23be@syzkaller.appspotmail.com
First crash: 36d, last: 1d02h
Bug presence (1)
Date Name Commit Repro Result
2024/11/01 upstream (ToT) 6c52d4da1c74 C [report] kernel BUG in ocfs2_claim_suballoc_bits
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_claim_suballoc_bits ocfs2 C inconclusive 224 3h05m 103d 0/28 upstream: reported C repro on 2024/08/22 08:11
linux-6.1 kernel BUG in ocfs2_claim_suballoc_bits 1 1d01h 1d01h 0/3 upstream: reported on 2024/12/02 23:45
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/12 19:40 1h24m retest repro linux-5.15.y report log

Sample crash report:
         option from the mount to silence this warning.
=======================================================
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/suballoc.c:1387!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4163 Comm: syz-executor376 Not tainted 5.15.169-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1387 [inline]
RIP: 0010:ocfs2_claim_suballoc_bits+0x2355/0x24b0 fs/ocfs2/suballoc.c:1927
Code: 86 fa ff ff e8 5c 4a 3e fe 0f 0b e8 55 4a 3e fe 0f 0b e8 4e 4a 3e fe 0f 0b e8 47 4a 3e fe 0f 0b e8 30 d5 f1 06 e8 3b 4a 3e fe <0f> 0b e8 34 4a 3e fe 0f 0b 65 8b 1d a3 eb bf 7c bf 07 00 00 00 89
RSP: 0018:ffffc900012df260 EFLAGS: 00010293
RAX: ffffffff834229a5 RBX: 0000000000000000 RCX: ffff88807b62d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900012df510 R08: ffffffff83421423 R09: ffffc900012df5a0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88801c015608 R14: dffffc0000000000 R15: 0000000000000002
FS:  000055558b906380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd952ed4ed8 CR3: 000000002c198000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_claim_new_inode+0x32b/0x850 fs/ocfs2/suballoc.c:2210
 ocfs2_mknod_locked+0x176/0x3a0 fs/ocfs2/namei.c:633
 ocfs2_mknod+0x187f/0x2cd0 fs/ocfs2/namei.c:379
 ocfs2_mkdir+0x194/0x430 fs/ocfs2/namei.c:655
 vfs_mkdir+0x3b6/0x590 fs/namei.c:4065
 do_mkdirat+0x260/0x520 fs/namei.c:4090
 __do_sys_mkdirat fs/namei.c:4105 [inline]
 __se_sys_mkdirat fs/namei.c:4103 [inline]
 __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fe739acea99
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff1f41f238 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe739acea99
RDX: 0000000000000000 RSI: 0000000020002040 RDI: 00000000ffffff9c
RBP: 00007fe739b465f0 R08: 000000000000442c R09: 000055558b9074c0
R10: 00007fff1f41f100 R11: 0000000000000246 R12: 00007fff1f41f260
R13: 00007fff1f41f488 R14: 431bde82d7b634db R15: 00007fe739b1703b
 </TASK>
Modules linked in:
---[ end trace 9d04ba04b64f8399 ]---
RIP: 0010:ocfs2_find_victim_chain fs/ocfs2/suballoc.c:1387 [inline]
RIP: 0010:ocfs2_claim_suballoc_bits+0x2355/0x24b0 fs/ocfs2/suballoc.c:1927
Code: 86 fa ff ff e8 5c 4a 3e fe 0f 0b e8 55 4a 3e fe 0f 0b e8 4e 4a 3e fe 0f 0b e8 47 4a 3e fe 0f 0b e8 30 d5 f1 06 e8 3b 4a 3e fe <0f> 0b e8 34 4a 3e fe 0f 0b 65 8b 1d a3 eb bf 7c bf 07 00 00 00 89
RSP: 0018:ffffc900012df260 EFLAGS: 00010293
RAX: ffffffff834229a5 RBX: 0000000000000000 RCX: ffff88807b62d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900012df510 R08: ffffffff83421423 R09: ffffc900012df5a0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88801c015608 R14: dffffc0000000000 R15: 0000000000000002
FS:  000055558b906380(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd952ed4ed8 CR3: 000000002c198000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/28 08:20 linux-5.15.y 74cdd62cb470 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in ocfs2_claim_suballoc_bits
2024/10/28 07:16 linux-5.15.y 74cdd62cb470 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_claim_suballoc_bits
2024/12/02 22:28 linux-5.15.y 0a51d2d4527b b499ea68 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_claim_suballoc_bits
* Struck through repros no longer work on HEAD.