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: 21d, last: 7d05h
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 59 9d18h 109d 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 7 4d21h 54d 0/3 upstream: reported C repro on 2024/10/28 02:52
Last patch testing requests (2)
Created Duration User Patch Repo Result
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:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/suballoc.c:2484!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4021 Comm: syz-executor199 Not tainted 5.15.173-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+0xe4c/0x10cc fs/ocfs2/suballoc.c:2484
lr : _ocfs2_free_suballoc_bits+0xe4c/0x10cc fs/ocfs2/suballoc.c:2484
sp : ffff80001d1a7040
x29: ffff80001d1a71a0 x28: ffff700003a34e18 x27: ffff0000c0625828
x26: 0000000000000001 x25: 0000000000000000 x24: dfff800000000000
x23: 0000000000000002 x22: 0000000000000001 x21: 0000000000000000
x20: ffff0000ddda700a x19: ffff0000e2000000 x18: ffff80001d1a6740
x17: 1fffe0003683318e x16: ffff800011b4c108 x15: 000000000000c284
x14: 1ffff0000296c06c x13: dfff800000000000 x12: ffff80001d1a6f40
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000cb7a1b40
x8 : ffff800009f0c104 x7 : ffff800009e8bde8 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0000c0625828 x1 : 0000000000000000 x0 : 0000000000000002
Call trace:
 _ocfs2_free_suballoc_bits+0xe4c/0x10cc fs/ocfs2/suballoc.c:2484
 ocfs2_free_suballoc_bits fs/ocfs2/suballoc.c:2521 [inline]
 ocfs2_free_dinode+0xb0/0xe8 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+0x2620/0x45ec fs/ocfs2/inode.c:1216
 evict+0x418/0x894 fs/inode.c:622
 iput_final fs/inode.c:1744 [inline]
 iput+0x744/0x824 fs/inode.c:1770
 d_delete_notify include/linux/fsnotify.h:267 [inline]
 vfs_rmdir+0x2f8/0x3f0 fs/namei.c:4162
 do_rmdir+0x2e8/0x84c fs/namei.c:4210
 __do_sys_unlinkat fs/namei.c:4390 [inline]
 __se_sys_unlinkat fs/namei.c:4384 [inline]
 __arm64_sys_unlinkat+0xe0/0xfc fs/namei.c:4384
 __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+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: 9796e082 f94013fc 17fffcd2 9796e07f (d4210000) 
---[ end trace b9a286551b1b4d19 ]---

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