All of lore.kernel.org
 help / color / mirror / Atom feed
From: syzbot <syzbot+44c564a3cb08605f34a1@syzkaller.appspotmail.com>
To: jlbec@evilplan.org, joseph.qi@linux.alibaba.com,
	 linux-kernel@vger.kernel.org, mark@fasheh.com,
	ocfs2-devel@lists.linux.dev,  syzkaller-bugs@googlegroups.com
Subject: [syzbot] [ocfs2?] kernel BUG in ocfs2_block_group_search
Date: Sat, 03 Jan 2026 14:53:19 -0800	[thread overview]
Message-ID: <69599ddf.050a0220.1c9965.0014.GAE@google.com> (raw)

Hello,

syzbot found the following issue on:

HEAD commit:    dbf8fe85a16a Merge tag 'net-6.19-rc4' of git://git.kernel...
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=16b19792580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=513255d80ab78f2b
dashboard link: https://syzkaller.appspot.com/bug?extid=44c564a3cb08605f34a1
compiler:       Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=10ef2422580000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=11b19792580000

Downloadable assets:
disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-dbf8fe85.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/86d0a4a4173a/vmlinux-dbf8fe85.xz
kernel image: https://storage.googleapis.com/syzbot-assets/23bd847a572d/bzImage-dbf8fe85.xz
mounted in repro: https://storage.googleapis.com/syzbot-assets/97470b986566/mount_0.gz
  fsck result: OK (log: https://syzkaller.appspot.com/x/fsck.log?x=1047329a580000)

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+44c564a3cb08605f34a1@syzkaller.appspotmail.com

=======================================================
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:1611!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5527 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:ocfs2_block_group_search+0x367/0x490 fs/ocfs2/suballoc.c:1611
Code: d9 80 e1 07 80 c1 03 38 c1 0f 8c c5 fe ff ff 48 89 df e8 0c 40 77 fe e9 b8 fe ff ff e8 92 95 0f fe 90 0f 0b e8 8a 95 0f fe 90 <0f> 0b f3 0f 1e fa 65 44 8b 3d 4f 2e cf 0e bf 07 00 00 00 44 89 fe
RSP: 0018:ffffc90002616bb8 EFLAGS: 00010293
RAX: ffffffff83b171d6 RBX: 000000000000004a RCX: ffff888000b70000
RDX: 0000000000000000 RSI: 000000000000004a RDI: 000000000000004a
RBP: 0000000000000001 R08: 00000000ffffffff R09: ffffc900026171a0
R10: dffffc0000000000 R11: ffffffff83b16e70 R12: ffff8880470b0740
R13: ffff88804453c740 R14: ffff8880230d7000 R15: 000000000000004a
FS:  000055556aa08500(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbdcf97f000 CR3: 00000000113be000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 ocfs2_search_chain+0x5f3/0x1d60 fs/ocfs2/suballoc.c:1836
 ocfs2_claim_suballoc_bits+0xc1e/0x1f60 fs/ocfs2/suballoc.c:2011
 ocfs2_claim_new_inode+0x332/0x7a0 fs/ocfs2/suballoc.c:2303
 ocfs2_mknod_locked+0x100/0x250 fs/ocfs2/namei.c:638
 ocfs2_mknod+0x10a5/0x2030 fs/ocfs2/namei.c:385
 ocfs2_create+0x195/0x420 fs/ocfs2/namei.c:677
 lookup_open fs/namei.c:4440 [inline]
 open_last_lookups fs/namei.c:4540 [inline]
 path_openat+0x18bb/0x3dd0 fs/namei.c:4784
 do_filp_open+0x1fa/0x410 fs/namei.c:4814
 do_sys_openat2+0x121/0x200 fs/open.c:1430
 do_sys_open fs/open.c:1436 [inline]
 __do_sys_openat fs/open.c:1452 [inline]
 __se_sys_openat fs/open.c:1447 [inline]
 __x64_sys_openat+0x138/0x170 fs/open.c:1447
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fe1e2d8f7c9
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:00007fff02afc7a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe1e2fe5fa0 RCX: 00007fe1e2d8f7c9
RDX: 000000000000275a RSI: 0000200000000040 RDI: ffffffffffffff9c
RBP: 00007fe1e2e13f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fe1e2fe5fa0 R14: 00007fe1e2fe5fa0 R15: 0000000000000004
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_block_group_search+0x367/0x490 fs/ocfs2/suballoc.c:1611
Code: d9 80 e1 07 80 c1 03 38 c1 0f 8c c5 fe ff ff 48 89 df e8 0c 40 77 fe e9 b8 fe ff ff e8 92 95 0f fe 90 0f 0b e8 8a 95 0f fe 90 <0f> 0b f3 0f 1e fa 65 44 8b 3d 4f 2e cf 0e bf 07 00 00 00 44 89 fe
RSP: 0018:ffffc90002616bb8 EFLAGS: 00010293
RAX: ffffffff83b171d6 RBX: 000000000000004a RCX: ffff888000b70000
RDX: 0000000000000000 RSI: 000000000000004a RDI: 000000000000004a
RBP: 0000000000000001 R08: 00000000ffffffff R09: ffffc900026171a0
R10: dffffc0000000000 R11: ffffffff83b16e70 R12: ffff8880470b0740
R13: ffff88804453c740 R14: ffff8880230d7000 R15: 000000000000004a
FS:  000055556aa08500(0000) GS:ffff88808d416000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd8f777e286 CR3: 00000000113be000 CR4: 0000000000352ef0


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want syzbot to run the reproducer, reply with:
#syz test: git://repo/address.git branch-or-commit-hash
If you attach or paste a git patch, syzbot will apply it before testing.

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

             reply	other threads:[~2026-01-03 22:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-03 22:53 syzbot [this message]
2026-01-04  1:15 ` Forwarded: [PATCH] ocfs2: validate allocator type to prevent BUG_ON in ocfs2_block_group_search syzbot
2026-01-24  2:39 ` Forwarded: [PATCH] ocfs2: validate i_blkno and BITMAP_FL consistency in ocfs2_validate_inode_block syzbot
2026-01-24  4:14 ` syzbot
     [not found] <20260104011542.303999-1-kartikey406@gmail.com>
2026-01-04  1:37 ` [syzbot] [ocfs2?] kernel BUG in ocfs2_block_group_search syzbot
     [not found] <20260124023951.26672-1-kartikey406@gmail.com>
2026-01-24  2:55 ` syzbot
     [not found] <20260124041421.27221-1-kartikey406@gmail.com>
2026-01-24  4:36 ` syzbot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69599ddf.050a0220.1c9965.0014.GAE@google.com \
    --to=syzbot+44c564a3cb08605f34a1@syzkaller.appspotmail.com \
    --cc=jlbec@evilplan.org \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark@fasheh.com \
    --cc=ocfs2-devel@lists.linux.dev \
    --cc=syzkaller-bugs@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.