syzbot


kernel BUG in _ocfs2_free_suballoc_bits

Status: upstream: reported C repro on 2024/10/28 02:52
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+3b664d98a77a329be77e@syzkaller.appspotmail.com
First crash: 456d, last: 29d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2025/12/31 upstream (ToT) dbf8fe85a16a C [report] kernel BUG in _ocfs2_free_suballoc_bits
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in _ocfs2_free_suballoc_bits origin:upstream -1 C error 19 3d01h 424d 0/3 upstream: reported C repro on 2024/11/29 19:55
upstream kernel BUG in _ocfs2_free_suballoc_bits ocfs2 -1 C inconclusive 242 5d19h 511d 0/29 upstream: reported C repro on 2024/09/03 10:29
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2025/03/14 08:54 14m bisect fix linux-6.1.y error job log
2025/01/27 06:41 2h52m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/suballoc.c:2484!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4368 Comm: syz-executor Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:_ocfs2_free_suballoc_bits+0xf5d/0x1170 fs/ocfs2/suballoc.c:2484
Code: f7 e8 f7 5f 8a fe 49 8b 3e 4c 89 fe 48 8b 54 24 20 48 8b 4c 24 40 4c 8b 44 24 10 e8 ad 91 00 00 e9 2d 01 00 00 e8 83 2e 3a fe <0f> 0b e8 7c 2e 3a fe 0f 0b 65 44 8b 3d 42 68 bb 7c 48 c7 c0 30 10
RSP: 0018:ffffc90003e97340 EFLAGS: 00010293
RAX: ffffffff8346b14d RBX: 1ffff1100b317000 RCX: ffff888025245940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90003e974c8 R08: dffffc0000000000 R09: fffffbfff1bfe1c6
R10: fffffbfff1bfe1c6 R11: 1ffffffff1bfe1c5 R12: ffff888071520910
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88805e41d000
FS:  00005555794f0500(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555794f0808 CR3: 000000005c40b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_free_suballoc_bits fs/ocfs2/suballoc.c:2521 [inline]
 ocfs2_free_dinode+0xad/0xd0 fs/ocfs2/suballoc.c:2536
 ocfs2_remove_inode fs/ocfs2/inode.c:696 [inline]
 ocfs2_wipe_inode fs/ocfs2/inode.c:818 [inline]
 ocfs2_delete_inode fs/ocfs2/inode.c:1079 [inline]
 ocfs2_evict_inode+0x1bfe/0x41f0 fs/ocfs2/inode.c:1219
 evict+0x485/0x870 fs/inode.c:705
 d_delete_notify include/linux/fsnotify.h:267 [inline]
 vfs_rmdir+0x397/0x4d0 fs/namei.c:4212
 do_rmdir+0x288/0x5e0 fs/namei.c:4260
 __do_sys_unlinkat fs/namei.c:4440 [inline]
 __se_sys_unlinkat fs/namei.c:4434 [inline]
 __x64_sys_unlinkat+0xc0/0xe0 fs/namei.c:4434
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f650358ed27
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 07 01 00 00 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:00007ffd8ccb0998 EFLAGS: 00000207 ORIG_RAX: 0000000000000107
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 00007f650358ed27
RDX: 0000000000000200 RSI: 00007ffd8ccb1b40 RDI: 00000000ffffff9c
RBP: 00007f6503613d7d R08: 000055557951366b R09: 0000000000000000
R10: 0000000000001000 R11: 0000000000000207 R12: 00007ffd8ccb1b40
R13: 00007f6503613d7d R14: 0000000000015173 R15: 00007ffd8ccb3d00
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:_ocfs2_free_suballoc_bits+0xf5d/0x1170 fs/ocfs2/suballoc.c:2484
Code: f7 e8 f7 5f 8a fe 49 8b 3e 4c 89 fe 48 8b 54 24 20 48 8b 4c 24 40 4c 8b 44 24 10 e8 ad 91 00 00 e9 2d 01 00 00 e8 83 2e 3a fe <0f> 0b e8 7c 2e 3a fe 0f 0b 65 44 8b 3d 42 68 bb 7c 48 c7 c0 30 10
RSP: 0018:ffffc90003e97340 EFLAGS: 00010293
RAX: ffffffff8346b14d RBX: 1ffff1100b317000 RCX: ffff888025245940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000002
RBP: ffffc90003e974c8 R08: dffffc0000000000 R09: fffffbfff1bfe1c6
R10: fffffbfff1bfe1c6 R11: 1ffffffff1bfe1c5 R12: ffff888071520910
R13: 0000000000000002 R14: 0000000000000000 R15: ffff88805e41d000
FS:  00005555794f0500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5e7613f000 CR3: 000000005c40b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (19):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/29 18:00 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/09/07 14:29 linux-6.1.y 28c695c365e1 d291dd2d .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/10/28 03:14 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/10/28 02:51 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/12/29 16:48 linux-6.1.y 50cbba13faa2 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/11/29 05:45 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/11/29 05:14 linux-6.1.y f6e38ae624cf d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/11/13 04:50 linux-6.1.y f6e38ae624cf 07e030de .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/02/08 21:43 linux-6.1.y 0cbb5f65e52f ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2024/12/16 19:01 linux-6.1.y 52f863f820fd eec85da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2024/12/01 13:44 linux-6.1.y e4d90d63d385 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/10/12 06:27 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/09/08 06:45 linux-6.1.y 28c695c365e1 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/09/07 13:46 linux-6.1.y 28c695c365e1 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/04/04 04:46 linux-6.1.y 8e60a714ba3b d7ae3a11 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/02/11 07:19 linux-6.1.y 0cbb5f65e52f 43f51a00 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/12/09 18:22 linux-6.1.y e4d90d63d385 9ac0fdc6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/11/11 06:43 linux-6.1.y d7039b844a1c 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/11/03 02:36 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
* Struck through repros no longer work on HEAD.