syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported C repro on 2025/06/29 23:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+c2b7126d949451e476cf@syzkaller.appspotmail.com
First crash: 52d, last: 3d17h
Bug presence (1)
Date Name Commit Repro Result
2025/07/14 upstream (ToT) 347e9f5043c8 C [report] kernel BUG in ocfs2_write_cluster_by_desc
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C error 24 3d00h 152d 0/3 upstream: reported C repro on 2025/03/21 13:38
linux-6.6 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 syz 3 26d 30d 0/2 upstream: reported syz repro on 2025/07/21 22:19
upstream kernel BUG in ocfs2_write_cluster_by_desc ocfs2 -1 C inconclusive 1979 30m 338d 0/29 upstream: reported C repro on 2024/09/16 18:35
Last patch testing requests (1)
Created Duration User Patch Repo Result
2025/07/26 19:26 12m 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 writeback data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:1181!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4189 Comm: syz.0.16 Not tainted 5.15.187-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_cluster fs/ocfs2/aops.c:1181 [inline]
pc : ocfs2_write_cluster_by_desc+0x17b8/0x17e4 fs/ocfs2/aops.c:1242
lr : ocfs2_write_cluster fs/ocfs2/aops.c:1181 [inline]
lr : ocfs2_write_cluster_by_desc+0x17b8/0x17e4 fs/ocfs2/aops.c:1242
sp : ffff80001fe46be0
x29: ffff80001fe46f00 x28: ffff0000dbf6a030 x27: dfff800000000000
x26: ffff0000dbf6a028 x25: ffff80001fe46d20 x24: ffff0000ee874178
x23: 0000000000000004 x22: 0000000000000000 x21: ffff0000ee8741a0
x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000082d6448 x15: 00000000fffffffc
x14: 0000000000ff0100 x13: 1ffff0000283006b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : ffff800009c172d8
x8 : ffff0000d42b1b40 x7 : ffff800009c57600 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082d655c
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ocfs2_write_cluster fs/ocfs2/aops.c:1181 [inline]
 ocfs2_write_cluster_by_desc+0x17b8/0x17e4 fs/ocfs2/aops.c:1242
 ocfs2_write_begin_nolock+0x2724/0x3764 fs/ocfs2/aops.c:1818
 ocfs2_write_begin+0x1b4/0x30c fs/ocfs2/aops.c:1905
 generic_perform_write+0x204/0x480 mm/filemap.c:3785
 __generic_file_write_iter+0x23c/0x454 mm/filemap.c:3912
 ocfs2_file_write_iter+0x12e0/0x1b84 fs/ocfs2/file.c:2472
 call_write_iter include/linux/fs.h:2172 [inline]
 new_sync_write fs/read_write.c:507 [inline]
 vfs_write+0x7c8/0xa2c fs/read_write.c:594
 ksys_write+0x120/0x210 fs/read_write.c:647
 __do_sys_write fs/read_write.c:659 [inline]
 __se_sys_write fs/read_write.c:656 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:656
 __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: 52809002 9405f302 d4210000 97a18be5 (d4210000) 
---[ end trace fc6fa0033733bbaa ]---

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/12 11:12 linux-5.15.y 2f693b607545 3cda49cf .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_write_cluster_by_desc
2025/08/17 16:19 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/08/04 17:03 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/07/30 16:57 linux-5.15.y c79648372d02 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/06/29 23:32 linux-5.15.y 3dea0e7f549e fc9d8ee5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/08/06 09:48 linux-5.15.y c79648372d02 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/02 21:18 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/02 21:13 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/02 12:21 linux-5.15.y c79648372d02 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/07/28 10:31 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/07/27 09:34 linux-5.15.y c79648372d02 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/07/12 09:23 linux-5.15.y 2f693b607545 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
* Struck through repros no longer work on HEAD.