syzbot


kernel BUG in ocfs2_write_block

Status: upstream: reported C repro on 2024/10/28 08:07
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+609ea64bc76a4623cbda@syzkaller.appspotmail.com
First crash: 273d, last: 9d01h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/11/08 upstream (ToT) 906bd684e4b1 C [report] kernel BUG in ocfs2_write_block
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_write_block ocfs2 -1 C inconclusive 21 8d20h 312d 0/29 upstream: reported C repro on 2024/09/19 00:02
linux-5.15 kernel BUG in ocfs2_write_block origin:upstream -1 C error 7 27d 240d 0/3 upstream: reported C repro on 2024/11/29 21:33
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2025/03/04 08:58 14m bisect fix linux-6.1.y error job log
2025/01/30 13:57 1h35m bisect fix linux-6.1.y OK (0) job log log
2024/12/13 18:22 1h47m bisect fix linux-6.1.y OK (0) job log 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: 1 PID: 4464 Comm: syz.0.16 Not tainted 6.1.146-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_write_block+0x610/0x728 fs/ocfs2/buffer_head_io.c:45
lr : ocfs2_write_block+0x610/0x728 fs/ocfs2/buffer_head_io.c:45
sp : ffff800020c96c00
x29: ffff800020c96ca0 x28: 1fffe0001bfe1a3d x27: dfff800000000000
x26: ffff800020c96c20 x25: ffff700004192d84 x24: ffff8000150ad360
x23: 0000000000000002 x22: 0000000000000000 x21: ffff0000de030000
x20: ffff0000dff0d1d0 x19: ffff0000e4ef32f0 x18: ffff800011aabce0
x17: ffff8000181e7000 x16: ffff8000082e7c3c x15: 0000000000000000
x14: 0000000000000012 x13: 1ffff00002a160b1 x12: 0000000000ff0100
x11: ff00800009cea22c x10: 0000000000000000 x9 : ffff800009cea22c
x8 : ffff0000e0d35340 x7 : ffff800009da62f8 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082e7d50
x2 : ffff0000e4ef32f0 x1 : 0000000000000000 x0 : 0000000000000002
Call trace:
 ocfs2_write_block+0x610/0x728 fs/ocfs2/buffer_head_io.c:45
 ocfs2_update_disk_slot+0x3d4/0x5a8 fs/ocfs2/slot_map.c:197
 ocfs2_find_slot+0x428/0x9d8 fs/ocfs2/slot_map.c:482
 ocfs2_mount_volume+0x168/0x1164 fs/ocfs2/super.c:1806
 ocfs2_fill_super+0x2b50/0x3e98 fs/ocfs2/super.c:1082
 mount_bdev+0x264/0x358 fs/super.c:1443
 ocfs2_mount+0x44/0x58 fs/ocfs2/super.c:1186
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:632
 vfs_get_tree+0x90/0x274 fs/super.c:1573
 do_new_mount+0x228/0x810 fs/namespace.c:3058
 path_mount+0x5b4/0xe78 fs/namespace.c:3388
 do_mount fs/namespace.c:3401 [inline]
 __do_sys_mount fs/namespace.c:3609 [inline]
 __se_sys_mount fs/namespace.c:3586 [inline]
 __arm64_sys_mount+0x49c/0x584 fs/namespace.c:3586
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x138 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: b4000917 979ede71 17fffeac 979ede6f (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/19 16:10 linux-6.1.y 3369c6df2fae 7117feec .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_write_block
2024/10/28 08:19 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_write_block
2025/07/19 15:56 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_block
2024/12/26 06:19 linux-6.1.y 29f02ec58a94 444551c4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_block
2024/10/28 08:07 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_block
* Struck through repros no longer work on HEAD.