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: 160d, last: 14h02m
Fix bisection: failed (error log, bisect log)
  
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 (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C 13 4d07h 59d 0/3 upstream: reported C repro on 2025/06/29 23:33
linux-6.6 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 syz 3 33d 37d 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 2195 1h01m 346d 0/29 upstream: reported C repro on 2024/09/16 18:35

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:1180!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4450 Comm: syz.0.16 Not tainted 6.1.142-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:1180 [inline]
pc : ocfs2_write_cluster_by_desc+0x17e4/0x1810 fs/ocfs2/aops.c:1241
lr : ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
lr : ocfs2_write_cluster_by_desc+0x17e4/0x1810 fs/ocfs2/aops.c:1241
sp : ffff800020fc6c00
x29: ffff800020fc6f20 x28: ffff0000d4da6030 x27: dfff800000000000
x26: ffff0000d4da6028 x25: ffff800020fc6d40 x24: ffff0000e9b2c178
x23: 0000000000000004 x22: 0000000000000000 x21: ffff0000e9b2c1a0
x20: 0000000000000000 x19: 0000000000000000 x18: ffff800011a8bce0
x17: ffff8000181b3000 x16: ffff8000082e7c3c x15: 0000000000000000
x14: 00000000fffffffc x13: 1ffff00002a100b1 x12: 0000000000ff0100
x11: ff00800009ce0e90 x10: 0000000000000000 x9 : ffff800009ce0e90
x8 : ffff0000ddf63780 x7 : ffff800009d20670 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082e7d50
x2 : 0000000000000001 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
 ocfs2_write_cluster_by_desc+0x17e4/0x1810 fs/ocfs2/aops.c:1241
 ocfs2_write_begin_nolock+0x28e8/0x3ab4 fs/ocfs2/aops.c:1817
 ocfs2_write_begin+0x1b4/0x30c fs/ocfs2/aops.c:1904
 generic_perform_write+0x230/0x4b0 mm/filemap.c:3846
 __generic_file_write_iter+0x168/0x37c mm/filemap.c:3974
 ocfs2_file_write_iter+0x1300/0x1bf4 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+0x5ac/0x7c4 fs/read_write.c:584
 ksys_write+0x120/0x210 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __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: 52808fe2 9405f5e2 d4210000 979f0353 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (31):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/03 18:30 linux-6.1.y 7e69c33e4858 115ceea7 .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: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/08/12 13:14 linux-6.1.y 3594f306da12 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/08/28 05:43 linux-6.1.y 0bc96de781b4 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/26 08:56 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/26 02:47 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/25 03:23 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/24 10:26 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/24 05:00 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/23 12:22 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/18 09:41 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/18 01:54 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/17 20:28 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/17 14:43 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/17 06:40 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/17 02:17 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/16 13:15 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/14 05:06 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/09 11:26 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/08/09 11:24 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/07/31 06:04 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/07/21 07:13 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_cluster_by_desc
2025/07/03 17:42 linux-6.1.y 7e69c33e4858 115ceea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/06/27 09:15 linux-6.1.y 58485ff1a74f 803ce19b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/06/24 15:24 linux-6.1.y 58485ff1a74f e2f27c35 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/06/23 17:47 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/06/23 17:44 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ocfs2_write_cluster_by_desc
2025/06/23 17:43 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] 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.