syzbot


kernel BUG in ocfs2_write_cluster_by_desc

Status: upstream: reported syz repro on 2025/07/21 22:19
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+54ff8aa6d02ea5047e2e@syzkaller.appspotmail.com
First crash: 37d, last: 33d
Bug presence (1)
Date Name Commit Repro Result
2025/07/28 upstream (ToT) 038d61fd6422 syz [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 3d20h 59d 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 31 2h58m 159d 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 2184 1h04m 345d 0/29 upstream: reported C repro on 2024/09/16 18:35

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:1180!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6008 Comm: syz.2.18 Not tainted 6.6.100-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/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 74 ac 62 8c ba 7f 04 00 00 48 c7 c1 40 8b e9 8a e8 82 3a 1a 00 0f 0b e8 9b e1 39 fe <0f> 0b e8 94 e1 39 fe 0f 0b e8 8d e1 39 fe 0f 0b e8 86 e1 39 fe 0f
RSP: 0018:ffffc900036d6540 EFLAGS: 00010293
RAX: ffffffff834bb3e5 RBX: ffff888078cf0014 RCX: ffff88806d8abc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900036d6870 R08: ffff88805d781563 R09: 1ffff1100baf02ac
R10: dffffc0000000000 R11: ffffed100baf02ad R12: ffff88807d59c000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888078cf0014
FS:  000055557d7d5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00001ffffffffec0 CR3: 000000007ba1c000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 ocfs2_write_begin_nolock+0x2fcb/0x4190 fs/ocfs2/aops.c:1817
 ocfs2_write_begin+0x1bc/0x310 fs/ocfs2/aops.c:1904
 generic_perform_write+0x2fb/0x5b0 mm/filemap.c:4016
 ocfs2_file_write_iter+0x1582/0x1d00 fs/ocfs2/file.c:2468
 __kernel_write_iter+0x274/0x670 fs/read_write.c:517
 dump_emit_page fs/coredump.c:957 [inline]
 dump_user_range+0x3f6/0x800 fs/coredump.c:984
 elf_core_dump+0x3114/0x36e0 fs/binfmt_elf.c:2184
 do_coredump+0x1755/0x2480 fs/coredump.c:833
 get_signal+0x1133/0x1400 kernel/signal.c:2888
 arch_do_signal_or_restart+0x96/0x780 arch/x86/kernel/signal.c:310
 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174
 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:210
 irqentry_exit_to_user_mode+0x9/0x40 kernel/entry/common.c:315
 exc_page_fault+0x8f/0x110 arch/x86/mm/fault.c:1524
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x0
Code: Unable to access opcode bytes at 0xffffffffffffffd6.
RSP: 002b:0000200000000088 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f97c5bb5fa0 RCX: 00007f97c598e9a9
RDX: 0000000000000000 RSI: 0000200000000080 RDI: 0000000004000000
RBP: 00007f97c5a10d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f97c5bb5fa0 R14: 00007f97c5bb5fa0 R15: 0000000000000006
 </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 74 ac 62 8c ba 7f 04 00 00 48 c7 c1 40 8b e9 8a e8 82 3a 1a 00 0f 0b e8 9b e1 39 fe <0f> 0b e8 94 e1 39 fe 0f 0b e8 8d e1 39 fe 0f 0b e8 86 e1 39 fe 0f
RSP: 0018:ffffc900036d6540 EFLAGS: 00010293

RAX: ffffffff834bb3e5 RBX: ffff888078cf0014 RCX: ffff88806d8abc00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc900036d6870 R08: ffff88805d781563 R09: 1ffff1100baf02ac
R10: dffffc0000000000 R11: ffffed100baf02ad R12: ffff88807d59c000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888078cf0014
FS:  000055557d7d5500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9e89d7e000 CR3: 000000007ba1c000 CR4: 00000000003506e0

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