syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported C repro on 2025/03/21 13:38
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+878dcbda971e40895816@syzkaller.appspotmail.com
First crash: 28d, last: 28d
Bug presence (1)
Date Name Commit Repro Result
2025/03/23 upstream (ToT) 586de92313fc C [report] kernel BUG in ocfs2_write_cluster_by_desc
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_write_cluster_by_desc ocfs2 C inconclusive 74 4d03h 213d 0/28 upstream: reported C repro on 2024/09/16 18:35

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/aops.c:1180!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4292 Comm: syz-executor290 Not tainted 6.1.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
pc : ocfs2_write_cluster_by_desc+0x1a28/0x1a54 fs/ocfs2/aops.c:1241
lr : ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
lr : ocfs2_write_cluster_by_desc+0x1a28/0x1a54 fs/ocfs2/aops.c:1241
sp : ffff8000211c6a80
x29: ffff8000211c6e20 x28: 0000000000001000 x27: ffff0000cc206028
x26: 0000000008600000 x25: ffff8000211c6c80 x24: 0000000000000000
x23: dfff800000000000 x22: ffff0000cc206014 x21: 0000000000002180
x20: 0000000000000000 x19: 0000000000000005 x18: ffff8000211c5f40
x17: ffff800018c58000 x16: ffff80000825bfc4 x15: 0000000000000000
x14: 1ffff00002b600b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009f04134
x8 : ffff0000dec0b780 x7 : ffff800009f4a760 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff80000831b328
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
 ocfs2_write_cluster_by_desc+0x1a28/0x1a54 fs/ocfs2/aops.c:1241
 ocfs2_write_begin_nolock+0x2cc4/0x3f6c fs/ocfs2/aops.c:1817
 ocfs2_write_begin+0x1ac/0x38c fs/ocfs2/aops.c:1904
 generic_perform_write+0x278/0x55c mm/filemap.c:3845
 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3973
 ocfs2_file_write_iter+0x156c/0x1f48 fs/ocfs2/file.c:2469
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x610/0x91c fs/read_write.c:584
 ksys_pwrite64 fs/read_write.c:699 [inline]
 __do_sys_pwrite64 fs/read_write.c:709 [inline]
 __se_sys_pwrite64 fs/read_write.c:706 [inline]
 __arm64_sys_pwrite64+0x188/0x220 fs/read_write.c:706
 __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/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: 52808fe2 9406affd d4210000 9797c2b3 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/21 14:54 linux-6.1.y 344a09659766 62330552 .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_cluster_by_desc
2025/03/21 14:29 linux-6.1.y 344a09659766 62330552 .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_cluster_by_desc
2025/03/21 14:06 linux-6.1.y 344a09659766 62330552 .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_cluster_by_desc
2025/03/21 13:38 linux-6.1.y 344a09659766 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
* Struck through repros no longer work on HEAD.