kernel BUG in ocfs2_dio_wr_get_block (2)

Status: upstream: reported on 2026/12/03 03:35
Reported-by: syzbot+c26530fc70be2936c05b@syzkaller.appspotmail.com
First crash: 1d13h, last: 1d13h
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in ocfs2_dio_wr_get_block prio:high ocfs2 -1 syz, C 479 5d21h 813d 0/30 upstream: reported C repro on 2024/09/12 09:36
linux-6.6 kernel BUG in ocfs2_dio_wr_get_block -1 1 184d 184d 0/2 auto-obsoleted due to no activity on 2026/09/10 19:46

Sample crash report:
(syz.0.64,6090,0):ocfs2_write_end_nolock:1970 ERROR: status = -30
(syz.0.64,6090,0):ocfs2_commit_trans:414 ERROR: status = -5
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:2282!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6090 Comm: syz.0.64 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:ocfs2_dio_wr_get_block+0x180b/0x1820 fs/ocfs2/aops.c:2282
Code: c1 03 38 c1 0f 8c 67 fa ff ff 4c 89 ff e8 1d 13 89 fe e9 5a fa ff ff e8 b3 de 2f fe 0f 0b e8 ac de 2f fe 0f 0b e8 a5 de 2f fe <0f> 0b e8 9e de 2f fe 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3
RSP: 0018:ffffc90005426d00 EFLAGS: 00010246
RAX: ffffffff83583f2b RBX: 00000000ffffffe2 RCX: 0000000000080000
RDX: ffffc9000bc19000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc90005426ed0 R08: ffffffff9222d63f R09: 1ffffffff2445ac7
R10: dffffc0000000000 R11: fffffbfff2445ac8 R12: 1ffff92000a84db4
R13: dffffc0000000000 R14: 0000000000004000 R15: ffff88803123af10
FS:  00007f0049d906c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcb437f6000 CR3: 0000000021f68000 CR4: 00000000003506e0
Call Trace:
 <TASK>
 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:2488
 generic_file_direct_write+0x1c9/0x3e0 mm/filemap.c:3957
 __generic_file_write_iter+0x11b/0x230 mm/filemap.c:4113
 ocfs2_file_write_iter+0x1577/0x1e90 fs/ocfs2/file.c:2499
 do_iter_readv_writev fs/read_write.c:-1 [inline]
 do_iter_write+0x747/0xc50 fs/read_write.c:860
 iter_file_splice_write+0x6b6/0xcf0 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+0x30b/0x8e0 fs/splice.c:1088
 do_splice_direct+0x1d5/0x2f0 fs/splice.c:1194
 do_sendfile+0x52b/0xe80 fs/read_write.c:1254
 __do_sys_sendfile64 fs/read_write.c:1322 [inline]
 __se_sys_sendfile64+0x145/0x1a0 fs/read_write.c:1308
 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:0x7f0048fa9c99
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:00007f0049d90028 EFLAGS: 00000246
 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f0049235fa0 RCX: 00007f0048fa9c99
RDX: 0000000000000000 RSI: 0000000000000005 RDI: 0000000000000004
RBP: 00007f004903b18b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0049236038 R14: 00007f0049235fa0 R15: 00007ffebff5b1d8
 </TASK>
Modules linked in:

---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_dio_wr_get_block+0x180b/0x1820 fs/ocfs2/aops.c:2282
Code: c1 03 38 c1 0f 8c 67 fa ff ff 4c 89 ff e8 1d 13 89 fe e9 5a fa ff ff e8 b3 de 2f fe 0f 0b e8 ac de 2f fe 0f 0b e8 a5 de 2f fe <0f> 0b e8 9e de 2f fe 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3
RSP: 0018:ffffc90005426d00 EFLAGS: 00010246
RAX: ffffffff83583f2b RBX: 00000000ffffffe2 RCX: 0000000000080000
RDX: ffffc9000bc19000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: ffffc90005426ed0 R08: ffffffff9222d63f R09: 1ffffffff2445ac7
R10: dffffc0000000000 R11: fffffbfff2445ac8 R12: 1ffff92000a84db4
R13: dffffc0000000000 R14: 0000000000004000 R15: ffff88803123af10
FS:  00007f0049d906c0(0000) GS:ffff8880b8d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd4b6fca000 CR3: 0000000021f68000 CR4: 00000000003506e0

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/12/03 03:35 linux-6.6.y e2bb30811e06 35891725 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan kernel BUG in ocfs2_dio_wr_get_block
* Struck through repros no longer work on HEAD.