Hello,
syzbot found the following issue on:
HEAD commit: 3dea0e7f549e Linux 5.15.186
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=1429488c580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=918afca6cf85eccf
dashboard link:
https://syzkaller.appspot.com/bug?extid=c2b7126d949451e476cf
compiler: Debian clang version 20.1.6 (++20250514063057+1e4d39e07757-1~exp1~20250514183223.118), Debian LLD 20.1.6
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/b4e974189c3a/disk-3dea0e7f.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/922e99f38be2/vmlinux-3dea0e7f.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/59456f23f37e/bzImage-3dea0e7f.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+c2b712...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at fs/ocfs2/aops.c:1181!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4410 Comm: syz.4.12 Not tainted 5.15.186-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:1181 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1cda/0x1d00 fs/ocfs2/aops.c:1242
Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 61 a5 a2 8b ba 80 04 00 00 48 c7 c1 80 81 47 8a e8 ed 77 19 00 0f 0b e8 26 de 62 fe <0f> 0b e8 1f de 62 fe 0f 0b e8 18 de 62 fe 0f 0b e8 11 de 62 fe 0f
RSP: 0000:ffffc900034bee60 EFLAGS: 00010283
RAX: ffffffff8314e4ea RBX: ffff888023366014 RCX: 0000000000080000
RDX: ffffc9000f226000 RSI: 000000000000e867 RDI: 000000000000e868
RBP: ffffc900034bf190 R08: dffffc0000000000 R09: ffffed100bd370e5
R10: ffffed100bd370e5 R11: 1ffff1100bd370e4 R12: ffff888060628000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888023366014
FS: 00007f057f1c86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0576e2b000 CR3: 000000005b918000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ocfs2_write_begin_nolock+0x3057/0x4180 fs/ocfs2/aops.c:1818
ocfs2_write_begin+0x1ab/0x300 fs/ocfs2/aops.c:1905
generic_perform_write+0x2aa/0x530 mm/filemap.c:3785
__generic_file_write_iter+0x25f/0x4e0 mm/filemap.c:3912
ocfs2_file_write_iter+0x1578/0x1cf0 fs/ocfs2/file.c:2472
call_write_iter include/linux/fs.h:2172 [inline]
new_sync_write fs/read_write.c:507 [inline]
vfs_write+0x712/0xd00 fs/read_write.c:594
ksys_pwrite64 fs/read_write.c:701 [inline]
__do_sys_pwrite64 fs/read_write.c:711 [inline]
__se_sys_pwrite64 fs/read_write.c:708 [inline]
__x64_sys_pwrite64+0x194/0x220 fs/read_write.c:708
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0581381929
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:00007f057f1c8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f05815a9080 RCX: 00007f0581381929
RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000005
RBP: 00007f0581403b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008000c61 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f05815a9080 R15: 00007fffc5796fe8
</TASK>
Modules linked in:
---[ end trace bba04d2dd914a0ec ]---
RIP: 0010:ocfs2_write_cluster fs/ocfs2/aops.c:1181 [inline]
RIP: 0010:ocfs2_write_cluster_by_desc+0x1cda/0x1d00 fs/ocfs2/aops.c:1242
Code: 4c 8b 03 48 8d bc 24 10 02 00 00 48 c7 c6 61 a5 a2 8b ba 80 04 00 00 48 c7 c1 80 81 47 8a e8 ed 77 19 00 0f 0b e8 26 de 62 fe <0f> 0b e8 1f de 62 fe 0f 0b e8 18 de 62 fe 0f 0b e8 11 de 62 fe 0f
RSP: 0000:ffffc900034bee60 EFLAGS: 00010283
RAX: ffffffff8314e4ea RBX: ffff888023366014 RCX: 0000000000080000
RDX: ffffc9000f226000 RSI: 000000000000e867 RDI: 000000000000e868
RBP: ffffc900034bf190 R08: dffffc0000000000 R09: ffffed100bd370e5
R10: ffffed100bd370e5 R11: 1ffff1100bd370e4 R12: ffff888060628000
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888023366014
FS: 00007f057f1c86c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff2a883fc8 CR3: 000000005b918000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
---
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