syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported C repro on 2025/07/21 22:19
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+54ff8aa6d02ea5047e2e@syzkaller.appspotmail.com
First crash: 352d, last: 11d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: kernel BUG in ocfs2_write_cluster_by_desc (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2025/12/31 linux-6.6.y (ToT) 5fa4793a2d2d C [report] kernel BUG in ocfs2_write_cluster_by_desc
2025/09/30 upstream (ToT) e129e479f2e4 C [report] kernel BUG in ocfs2_write_cluster_by_desc
2025/12/31 upstream (ToT) 9528d5c091c5 C Didn't crash
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 error 40 19d 374d 0/3 upstream: reported C repro on 2025/06/29 23:33
linux-6.1 kernel BUG in ocfs2_write_cluster_by_desc origin:upstream -1 C error 184 56d 475d 0/3 upstream: reported C repro on 2025/03/21 13:38
upstream kernel BUG in ocfs2_write_cluster_by_desc prio:high ocfs2 -1 C inconclusive 6264 11d 661d 0/29 upstream: reported C repro on 2024/09/16 18:35
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2026/06/06 11:15 12m fix candidate upstream error job log
2026/03/24 04:43 0m fix candidate upstream error job log
2026/02/21 21:20 1m fix candidate upstream error job log
2026/01/21 23:57 1m fix candidate upstream error job log
2025/11/08 06:06 1h40m bisect fix linux-6.6.y OK (0) job log 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:1182!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5928 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1182 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1ccf/0x1cf0 fs/ocfs2/aops.c:1243
Code: 02 00 00 48 c7 c6 7d 5b 86 8c ba 81 04 00 00 48 c7 c1 00 8f 09 8b e8 f0 0f 1b 00 48 8b 04 24 c6 40 1e f8 0f 0b e8 d1 b5 33 fe <0f> 0b e8 ca b5 33 fe 0f 0b e8 c3 b5 33 fe 0f 0b e8 bc b5 33 fe 0f
RSP: 0018:ffffc900033568e0 EFLAGS: 00010293
RAX: ffffffff83532f7f RBX: ffff8880737e8878 RCX: ffff88801b73bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003356c10 R08: ffff8880737e8723 R09: 1ffff1100e6fd0e4
R10: dffffc0000000000 R11: ffffed100e6fd0e5 R12: 0000000000002000
R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000000
FS:  0000555578fb5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc0949909c0 CR3: 0000000076835000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_write_begin_nolock+0x331f/0x4480 fs/ocfs2/aops.c:1819
 ocfs2_dio_wr_get_block+0xba8/0x1820 fs/ocfs2/aops.c:2241
 get_more_blocks fs/direct-io.c:647 [inline]
 do_direct_IO fs/direct-io.c:935 [inline]
 __blockdev_direct_IO+0x1628/0x32e0 fs/direct-io.c:1248
 ocfs2_direct_IO+0x235/0x2a0 fs/ocfs2/aops.c:2483
 generic_file_direct_write+0x1c9/0x3e0 mm/filemap.c:3961
 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4117
 ocfs2_file_write_iter+0x1724/0x1ef0 fs/ocfs2/file.c:2468
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x747/0xc50 fs/read_write.c:860
 vfs_writev fs/read_write.c:933 [inline]
 do_writev+0x27f/0x480 fs/read_write.c:976
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f821559ce59
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffc02c8a808 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f8215815fa0 RCX: 00007f821559ce59
RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000004
RBP: 00007f8215632e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f8215815fac R14: 00007f8215815fa0 R15: 00007f8215815fa0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1182 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1ccf/0x1cf0 fs/ocfs2/aops.c:1243
Code: 02 00 00 48 c7 c6 7d 5b 86 8c ba 81 04 00 00 48 c7 c1 00 8f 09 8b e8 f0 0f 1b 00 48 8b 04 24 c6 40 1e f8 0f 0b e8 d1 b5 33 fe <0f> 0b e8 ca b5 33 fe 0f 0b e8 c3 b5 33 fe 0f 0b e8 bc b5 33 fe 0f
RSP: 0018:ffffc900033568e0 EFLAGS: 00010293
RAX: ffffffff83532f7f RBX: ffff8880737e8878 RCX: ffff88801b73bc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003356c10 R08: ffff8880737e8723 R09: 1ffff1100e6fd0e4
R10: dffffc0000000000 R11: ffffed100e6fd0e5 R12: 0000000000002000
R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000000
FS:  0000555578fb5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc094fa2000 CR3: 0000000076835000 CR4: 00000000003506e0

Crashes (41):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/27 21:17 linux-6.6.y d1cfde2d5d15 fb92f11c .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/04/07 06:33 linux-6.6.y 80de0a958133 4440e7c2 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/13 16:50 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/29 18:15 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/28 15:21 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/09/29 07:57 linux-6.6.y 147338df3487 001c9061 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/07/25 23:31 linux-6.6.y dbcb8d8e4163 fb8f743d .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/01/29 15:32 linux-6.6.y cbb31f77b879 aeb6fdd5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/01/15 02:00 linux-6.6.y c596736dadab d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/01/08 15:10 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/01/02 06:20 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2026/01/01 22:54 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/29 04:10 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/28 23:18 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/28 18:31 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/28 07:59 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/26 23:02 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/26 18:10 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/26 16:16 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/26 15:21 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/26 09:45 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/25 22:06 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/25 11:55 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/25 04:57 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/25 04:56 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/24 00:29 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/23 13:01 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/22 11:57 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/19 01:46 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/13 14:09 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/13 14:09 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/13 14:06 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/12/11 19:55 linux-6.6.y 5fa4793a2d2d d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/29 03:11 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/29 03:08 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/28 15:11 linux-6.6.y 1e89a1be4fe9 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/11 10:30 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/11/10 23:20 linux-6.6.y 0a805b6ea8cd 4e1406b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/09/29 07:14 linux-6.6.y 147338df3487 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/07/21 22:19 linux-6.6.y d96eb99e2f0e 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
2025/07/21 22:19 linux-6.6.y d96eb99e2f0e 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_write_cluster_by_desc
* Struck through repros no longer work on HEAD.