syzbot


kernel BUG in _ocfs2_free_suballoc_bits

Status: upstream: reported C repro on 2024/11/29 19:55
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+ecd45d8ac70d5d0045a7@syzkaller.appspotmail.com
First crash: 188d, last: 11d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/11/30 upstream (ToT) 2ba9f676d0a2 C [report] kernel BUG in _ocfs2_free_suballoc_bits
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in _ocfs2_free_suballoc_bits ocfs2 C inconclusive 107 1h40m 275d 0/28 upstream: reported C repro on 2024/09/03 10:29
linux-6.1 kernel BUG in _ocfs2_free_suballoc_bits origin:upstream C error 10 63d 221d 0/3 upstream: reported C repro on 2024/10/28 02:52
Last patch testing requests (6)
Created Duration User Patch Repo Result
2025/05/17 23:41 32m retest repro linux-5.15.y report log
2025/04/27 04:17 45m retest repro linux-5.15.y report log
2025/04/01 08:02 39m retest repro linux-5.15.y report log
2025/02/22 11:07 11m retest repro linux-5.15.y report log
2024/12/14 09:55 11m retest repro linux-5.15.y report log
2024/12/14 09:55 14m retest repro linux-5.15.y report log

Sample crash report:
         option from the mount to silence this warning.
=======================================================
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/suballoc.c:2469!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4025 Comm: syz-executor338 Not tainted 5.15.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : _ocfs2_free_suballoc_bits+0xc50/0xf70 fs/ocfs2/suballoc.c:2469
lr : _ocfs2_free_suballoc_bits+0xc50/0xf70 fs/ocfs2/suballoc.c:2469
sp : ffff80001b7e73c0
x29: ffff80001b7e7520 x28: 00000000940009e5 x27: dfff800000000000
x26: ffff0000de7b13c8 x25: ffff800009cdfafc x24: ffff0000e0e24e00
x23: ffff7000036fce88 x22: 0000000000000e00 x21: 0000000000000e00
x20: 0000000aa0202000 x19: 0000000094000bca x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000111a5644 x15: 00000000fffffffc
x14: 0000000000ff0100 x13: ffffffffffffffff x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800009ce5208
x8 : ffff0000d4638000 x7 : 0000000000000000 x6 : ffff800009cdfafc
x5 : 00000000940009e5 x4 : 0000000aa0202000 x3 : 00000000000001e5
x2 : ffff0000de7b01d0 x1 : 0000000000000e00 x0 : 0000000094000bca
Call trace:
 _ocfs2_free_suballoc_bits+0xc50/0xf70 fs/ocfs2/suballoc.c:2469
 _ocfs2_free_clusters+0x510/0x9b0 fs/ocfs2/suballoc.c:2569
 ocfs2_free_clusters+0x50/0x68 fs/ocfs2/suballoc.c:2590
 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5971 [inline]
 __ocfs2_flush_truncate_log+0x5b0/0xf30 fs/ocfs2/alloc.c:6053
 ocfs2_flush_truncate_log+0x48/0x68 fs/ocfs2/alloc.c:6075
 ocfs2_sync_fs+0xf8/0x2a4 fs/ocfs2/super.c:403
 sync_filesystem+0x1a0/0x218 fs/sync.c:66
 generic_shutdown_super+0x70/0x2f0 fs/super.c:448
 kill_block_super+0x70/0xdc fs/super.c:1427
 deactivate_locked_super+0xb8/0x13c fs/super.c:335
 deactivate_super+0xf8/0x118 fs/super.c:366
 cleanup_mnt+0x3a4/0x458 fs/namespace.c:1143
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150
 task_work_run+0x12c/0x1e0 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0x67c/0x1f58 kernel/exit.c:874
 do_group_exit+0x100/0x268 kernel/exit.c:996
 __do_sys_exit_group kernel/exit.c:1007 [inline]
 __se_sys_exit_group kernel/exit.c:1005 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1005
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 17fffec8 979e4dc1 d4210000 979e4dbf (d4210000) 
---[ end trace b62f7ba870825474 ]---

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/25 12:06 linux-5.15.y 98f47d0e9b8c ed351ea7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/05/25 11:38 linux-5.15.y 98f47d0e9b8c ed351ea7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/03/17 01:21 linux-5.15.y 0c935c049b5c e2826670 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/11/29 22:09 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/11/29 21:18 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/01/02 21:05 linux-5.15.y 91786f140358 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in _ocfs2_free_suballoc_bits
2025/04/06 12:01 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/03/17 00:22 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/03/08 12:27 linux-5.15.y c16c81c81336 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/03/03 08:26 linux-5.15.y c16c81c81336 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/01/13 23:47 linux-5.15.y 4735586da88e 249ceea9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2025/01/06 10:27 linux-5.15.y 91786f140358 f3558dbf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
2024/11/29 19:55 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in _ocfs2_free_suballoc_bits
* Struck through repros no longer work on HEAD.