Hello,
syzbot found the following issue on:
HEAD commit: 924b4a879cbb Linux 6.6.142
git tree: linux-6.6.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=13bb9f2e580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=90249d2d52c08134
dashboard link:
https://syzkaller.appspot.com/bug?extid=db099653de8322f07a02
compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/bd13425862f1/disk-924b4a87.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/eaa5de9e440b/vmlinux-924b4a87.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/5a9aa3293c15/bzImage-924b4a87.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+db0996...@syzkaller.appspotmail.com
(syz.2.42,6041,1):ocfs2_commit_trans:404 ERROR: status = -5
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:2282!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 6041 Comm: syz.2.42 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026
RIP: 0010:ocfs2_dio_wr_get_block+0x1812/0x1820 fs/ocfs2/aops.c:2282
Code: 8c 79 fa ff ff 48 89 df e8 fb 3d 8b fe 4c 8b 7c 24 38 e9 67 fa ff ff e8 ec fd 32 fe 0f 0b e8 e5 fd 32 fe 0f 0b e8 de fd 32 fe <0f> 0b e8 d7 fd 32 fe 0f 0b 0f 1f 44 00 00 f3 0f 1e fa 55 48 89 e5
RSP: 0000:ffffc9000be1ed80 EFLAGS: 00010287
RAX: ffffffff83542db2 RBX: 00000000ffffffe2 RCX: 0000000000080000
RDX: ffffc9000df03000 RSI: 000000000005a859 RDI: 000000000005a85a
RBP: ffffc9000be1ef50 R08: ffffffff911cd647 R09: 1ffffffff2239ac8
R10: dffffc0000000000 R11: fffffbfff2239ac9 R12: 0000000000000001
R13: dffffc0000000000 R14: 1ffff920017c3dc4 R15: 0000000000004000
FS: 00007f5b215036c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2dfe7ff8 CR3: 000000001ffa1000 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+0x1775/0x3500 fs/direct-io.c:1248
ocfs2_direct_IO+0x235/0x2a0 fs/ocfs2/aops.c:2483
generic_file_direct_write+0x1d4/0x3e0 mm/filemap.c:3961
__generic_file_write_iter+0x11b/0x230 mm/filemap.c:4117
ocfs2_file_write_iter+0x167a/0x1e80 fs/ocfs2/file.c:2468
do_iter_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x738/0xc30 fs/read_write.c:860
iter_file_splice_write+0x6a3/0xcb0 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+0x304/0x8c0 fs/splice.c:1088
do_splice_direct+0x1d5/0x2f0 fs/splice.c:1194
do_sendfile+0x5f2/0xef0 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:0x7f5b2059ce59
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:00007f5b21503028 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f5b20815fa0 RCX: 00007f5b2059ce59
RDX: 0000000000000000 RSI: 000000000000000b RDI: 000000000000000c
RBP: 00007f5b20632d6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000080000002 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f5b20816038 R14: 00007f5b20815fa0 R15: 00007ffed1f2b608
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_dio_wr_get_block+0x1812/0x1820 fs/ocfs2/aops.c:2282
Code: 8c 79 fa ff ff 48 89 df e8 fb 3d 8b fe 4c 8b 7c 24 38 e9 67 fa ff ff e8 ec fd 32 fe 0f 0b e8 e5 fd 32 fe 0f 0b e8 de fd 32 fe <0f> 0b e8 d7 fd 32 fe 0f 0b 0f 1f 44 00 00 f3 0f 1e fa 55 48 89 e5
RSP: 0000:ffffc9000be1ed80 EFLAGS: 00010287
RAX: ffffffff83542db2 RBX: 00000000ffffffe2 RCX: 0000000000080000
RDX: ffffc9000df03000 RSI: 000000000005a859 RDI: 000000000005a85a
RBP: ffffc9000be1ef50 R08: ffffffff911cd647 R09: 1ffffffff2239ac8
R10: dffffc0000000000 R11: fffffbfff2239ac9 R12: 0000000000000001
R13: dffffc0000000000 R14: 1ffff920017c3dc4 R15: 0000000000004000
FS: 00007f5b215036c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9bc4cc2ff8 CR3: 000000001ffa1000 CR4: 00000000003506f0
---
This report is generated by a bot. It may contain errors.
See
https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at
syzk...@googlegroups.com.
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup