syzbot


kernel BUG in ocfs2_write_block

Status: upstream: reported C repro on 2024/11/29 21:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+0ca3bc36acd2a4f2c89e@syzkaller.appspotmail.com
First crash: 21d, last: 6d04h
Bug presence (1)
Date Name Commit Repro Result
2024/11/30 upstream (ToT) 2ba9f676d0a2 C [report] kernel BUG in ocfs2_write_block
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ocfs2_write_block origin:upstream C 2 7d20h 54d 0/3 upstream: reported C repro on 2024/10/28 08:07
upstream kernel BUG in ocfs2_write_block ocfs2 C inconclusive 12 3d09h 93d 0/28 upstream: reported C repro on 2024/09/19 00:02
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/12/15 10:58 15m retest repro linux-5.15.y report log
2024/12/15 10:58 15m retest repro linux-5.15.y report log

Sample crash report:
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
------------[ cut here ]------------
kernel BUG at fs/ocfs2/buffer_head_io.c:45!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4024 Comm: syz-executor410 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_write_block+0x618/0x770 fs/ocfs2/buffer_head_io.c:45
lr : ocfs2_write_block+0x618/0x770 fs/ocfs2/buffer_head_io.c:45
sp : ffff800020376980
x29: ffff800020376a20 x28: 1fffe0001c389820 x27: ffff8000203769a0
x26: dfff800000000000 x25: ffff70000406ed34 x24: ffff800014b5d310
x23: 0000000000000001 x22: 0000000000000000 x21: ffff0000d7c80000
x20: ffff0000e1c4c0e8 x19: ffff0000e1ca32f0 x18: 0000000000000000
x17: 0000000000000000 x16: ffff800011b4c108 x15: 0000000000000012
x14: 1ffff0000296c06c x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff0000d8508000
x8 : ffff800009e2a884 x7 : ffff800009efa988 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000830598c
x2 : ffff0000e1ca32f0 x1 : 0000000000000000 x0 : 0000000000000002
Call trace:
 ocfs2_write_block+0x618/0x770 fs/ocfs2/buffer_head_io.c:45
 ocfs2_update_disk_slot+0x3e8/0x5ec fs/ocfs2/slot_map.c:197
 ocfs2_find_slot+0x438/0x9e4 fs/ocfs2/slot_map.c:482
 ocfs2_mount_volume+0x170/0x150c fs/ocfs2/super.c:1809
 ocfs2_fill_super+0x2a30/0x498c fs/ocfs2/super.c:1083
 mount_bdev+0x274/0x370 fs/super.c:1400
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1187
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611
 vfs_get_tree+0x90/0x274 fs/super.c:1530
 do_new_mount+0x278/0x8fc fs/namespace.c:3012
 path_mount+0x594/0x101c fs/namespace.c:3342
 do_mount fs/namespace.c:3355 [inline]
 __do_sys_mount fs/namespace.c:3563 [inline]
 __se_sys_mount fs/namespace.c:3540 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540
 __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: b4000777 979a66a1 17fffeaa 979a669f (d4210000) 
---[ end trace de996eba3101290b ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/29 21:59 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_write_block
2024/11/29 21:46 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_write_block
2024/11/29 21:32 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_write_block
* Struck through repros no longer work on HEAD.