syzbot


kernel BUG in _ocfs2_free_suballoc_bits

Status: upstream: reported C repro on 2024/10/28 02:52
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+3b664d98a77a329be77e@syzkaller.appspotmail.com
First crash: 37d, last: 3d03h
Bug presence (1)
Date Name Commit Repro Result
2024/10/30 upstream (ToT) 0fc810ae3ae1 C [report] kernel BUG in _ocfs2_free_suballoc_bits
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in _ocfs2_free_suballoc_bits origin:upstream C 3 4d18h 4d20h 0/3 upstream: reported C repro on 2024/11/29 19:55
upstream kernel BUG in _ocfs2_free_suballoc_bits ocfs2 C inconclusive 51 10h39m 92d 0/28 upstream: reported C repro on 2024/09/03 10:29

Sample crash report:
=======================================================
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:2469!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4291 Comm: syz-executor148 Not tainted 6.1.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : _ocfs2_free_suballoc_bits+0xdb8/0x11f8 fs/ocfs2/suballoc.c:2469
lr : _ocfs2_free_suballoc_bits+0xdb8/0x11f8 fs/ocfs2/suballoc.c:2469
sp : ffff8000210772e0
x29: ffff800021077440 x28: ffff0000e1784fb8 x27: ffff0000e17bd910
x26: 00000000d280000a x25: ffff800009f62184 x24: dfff800000000000
x23: 00000000d2800133 x22: ffff000187e26e00 x21: 0000000000000e00
x20: 0000000000000e00 x19: 0000001224b80000 x18: 0000000000000160
x17: ffff8000159cd000 x16: ffff8000122463ac x15: 0000000000000000
x14: 00000000fffffffc x13: ffff0000c8160000 x12: ffff800021077360
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009f6810c
x8 : ffff0000c8160000 x7 : ffff800008fa5718 x6 : ffff800009f62184
x5 : 00000000d280000a x4 : 0000001224b80000 x3 : 0000000000000129
x2 : ffff0000e17bd910 x1 : 0000000000000e00 x0 : 00000000d2800133
Call trace:
 _ocfs2_free_suballoc_bits+0xdb8/0x11f8 fs/ocfs2/suballoc.c:2469
 _ocfs2_free_clusters+0x530/0xa90 fs/ocfs2/suballoc.c:2569
 ocfs2_free_clusters+0x50/0x68 fs/ocfs2/suballoc.c:2590
 ocfs2_replay_truncate_records fs/ocfs2/alloc.c:5964 [inline]
 __ocfs2_flush_truncate_log+0x648/0x1260 fs/ocfs2/alloc.c:6047
 ocfs2_flush_truncate_log+0x4c/0x6c fs/ocfs2/alloc.c:6069
 ocfs2_sync_fs+0x110/0x31c fs/ocfs2/super.c:402
 sync_filesystem+0x1a0/0x218 fs/sync.c:66
 generic_shutdown_super+0x70/0x328 fs/super.c:474
 kill_block_super+0x70/0xdc fs/super.c:1470
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 exit_task_work include/linux/task_work.h:39 [inline]
 do_exit+0x554/0x1a88 kernel/exit.c:871
 do_group_exit+0x194/0x22c kernel/exit.c:1021
 __do_sys_exit_group kernel/exit.c:1032 [inline]
 __se_sys_exit_group kernel/exit.c:1030 [inline]
 __wake_up_parent+0x0/0x60 kernel/exit.c:1030
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: 957e46d1 97963dd6 d4210000 97963dd4 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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
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.