syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported C repro on 2025/07/21 22:19
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+54ff8aa6d02ea5047e2e@syzkaller.appspotmail.com
First crash: 135d, last: 4d22h
Bug presence (1)
Date Name Commit Repro Result
2025/09/30 upstream (ToT) e129e479f2e4 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 25 18h24m 157d 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 83 7h00m 258d 0/3 upstream: reported C repro on 2025/03/21 13:38
upstream kernel BUG in ocfs2_write_cluster_by_desc ocfs2 -1 C inconclusive 5912 41m 443d 0/29 upstream: reported C repro on 2024/09/16 18:35
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/11/08 06:06 1h40m bisect fix linux-6.6.y OK (0) job log log

Sample crash report:
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:1180!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5940 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1c75/0x1ca0 fs/ocfs2/aops.c:1241
Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 68 fb 62 8c ba 7f 04 00 00 48 c7 c1 c0 8f e9 8a e8 92 3b 1a 00 0f 0b e8 8b 25 39 fe <0f> 0b e8 84 25 39 fe 0f 0b e8 7d 25 39 fe 0f 0b e8 76 25 39 fe 0f
RSP: 0018:ffffc90003366460 EFLAGS: 00010293
RAX: ffffffff834c7af5 RBX: ffff88802d702014 RCX: ffff88807b929e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003366790 R08: ffff88805f9b0723 R09: 1ffff1100bf360e4
R10: dffffc0000000000 R11: ffffed100bf360e5 R12: ffff88807a238000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88802d702014
FS:  0000555576fbc500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3fb35909c0 CR3: 0000000018bb8000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_write_begin_nolock+0x2fcb/0x4190 fs/ocfs2/aops.c:1817
 ocfs2_dio_wr_get_block+0xb71/0x17a0 fs/ocfs2/aops.c:2239
 get_more_blocks fs/direct-io.c:647 [inline]
 do_direct_IO fs/direct-io.c:935 [inline]
 __blockdev_direct_IO+0x1679/0x3420 fs/direct-io.c:1248
 ocfs2_direct_IO+0x240/0x2b0 fs/ocfs2/aops.c:2468
 generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3956
 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4112
 ocfs2_file_write_iter+0x1582/0x1d00 fs/ocfs2/file.c:2468
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x79a/0xc70 fs/read_write.c:860
 iter_file_splice_write+0x66f/0xc50 fs/splice.c:736
 do_splice_from fs/splice.c:933 [inline]
 direct_splice_actor+0xe8/0x130 fs/splice.c:1142
 splice_direct_to_actor+0x2f0/0x870 fs/splice.c:1088
 do_splice_direct+0x1b7/0x2c0 fs/splice.c:1194
 do_sendfile+0x5dc/0xf70 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64+0x13f/0x190 fs/read_write.c:1308
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fca6638f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffdfb3be038 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fca665e5fa0 RCX: 00007fca6638f749
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007fca66413f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000020fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fca665e5fa0 R14: 00007fca665e5fa0 R15: 0000000000000004
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1180 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1c75/0x1ca0 fs/ocfs2/aops.c:1241
Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 68 fb 62 8c ba 7f 04 00 00 48 c7 c1 c0 8f e9 8a e8 92 3b 1a 00 0f 0b e8 8b 25 39 fe <0f> 0b e8 84 25 39 fe 0f 0b e8 7d 25 39 fe 0f 0b e8 76 25 39 fe 0f
RSP: 0018:ffffc90003366460 EFLAGS: 00010293
RAX: ffffffff834c7af5 RBX: ffff88802d702014 RCX: ffff88807b929e00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003366790 R08: ffff88805f9b0723 R09: 1ffff1100bf360e4
R10: dffffc0000000000 R11: ffffed100bf360e5 R12: ffff88807a238000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88802d702014
FS:  0000555576fbc500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3fb35909c0 CR3: 0000000018bb8000 CR4: 00000000003506e0

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.