Hello,
syzbot found the following issue on:
HEAD commit: 3594f306da12 Linux 6.1.147
git tree: linux-6.1.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=14274842580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=30b8ca4950f83e04
dashboard link:
https://syzkaller.appspot.com/bug?extid=8abfb36e428abc49ae66
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/5b0395e2ec6c/disk-3594f306.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/c3ec331b7d5b/vmlinux-3594f306.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/bff42068e062/bzImage-3594f306.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+8abfb3...@syzkaller.appspotmail.com
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:5574!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 5635 Comm: syz.0.319 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:ocfs2_remove_extent+0x1e70/0x2010 fs/ocfs2/alloc.c:5574
Code: fe e9 70 fa ff ff 48 8b 0c 24 80 e1 07 fe c1 38 c1 0f 8c b0 fa ff ff 48 8b 3c 24 e8 0a 56 9c fe e9 a2 fa ff ff e8 a0 39 4c fe <0f> 0b 65 44 8b 3d 56 8c cd 7c 48 c7 c0 b0 4d 1f 8e 48 c1 e8 03 42
RSP: 0018:ffffc9001c976560 EFLAGS: 00010293
RAX: ffffffff83348d40 RBX: ffff88804fc586d0 RCX: ffff88802700bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: ffffc9001c976890 R08: ffff88802700bb80 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 0000000000000007
R13: 1ffff11009f8b0da R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2fa8695f98 CR3: 000000005c985000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ocfs2_remove_btree_range+0xd92/0x1480 fs/ocfs2/alloc.c:5771
ocfs2_commit_truncate+0xaf5/0x1bf0 fs/ocfs2/alloc.c:7354
ocfs2_truncate_for_delete fs/ocfs2/inode.c:623 [inline]
ocfs2_wipe_inode fs/ocfs2/inode.c:790 [inline]
ocfs2_delete_inode fs/ocfs2/inode.c:1079 [inline]
ocfs2_evict_inode+0x10d5/0x41e0 fs/ocfs2/inode.c:1216
evict+0x485/0x870 fs/inode.c:705
ocfs2_dentry_iput+0x244/0x370 fs/ocfs2/dcache.c:418
__dentry_kill+0x431/0x650 fs/dcache.c:611
dentry_kill+0xb8/0x290 fs/dcache.c:-1
dput+0xfa/0x1d0 fs/dcache.c:918
__fput+0x5e0/0x920 fs/file_table.c:328
task_work_run+0x1ca/0x250 kernel/task_work.c:203
exit_task_work include/linux/task_work.h:39 [inline]
do_exit+0x93e/0x2400 kernel/exit.c:880
do_group_exit+0x217/0x2d0 kernel/exit.c:1022
get_signal+0x1272/0x1350 kernel/signal.c:2871
arch_do_signal_or_restart+0xb0/0x1230 arch/x86/kernel/signal.c:871
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+0x5/0x30 kernel/entry/common.c:316
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1490
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:608
RIP: 0033:0x7f68b844f927
Code: Unable to access opcode bytes at 0x7f68b844f8fd.
RSP: 002b:00007f68b93e1120 EFLAGS: 00010202
RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f68b858ebe9
RDX: 00007f68b93e1140 RSI: 00007f68b93e1270 RDI: 000000000000000b
RBP: 00007f68b8611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f68b87b6038 R14: 00007f68b87b5fa0 R15: 00007ffcd0003bc8
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_remove_extent+0x1e70/0x2010 fs/ocfs2/alloc.c:5574
Code: fe e9 70 fa ff ff 48 8b 0c 24 80 e1 07 fe c1 38 c1 0f 8c b0 fa ff ff 48 8b 3c 24 e8 0a 56 9c fe e9 a2 fa ff ff e8 a0 39 4c fe <0f> 0b 65 44 8b 3d 56 8c cd 7c 48 c7 c0 b0 4d 1f 8e 48 c1 e8 03 42
RSP: 0018:ffffc9001c976560 EFLAGS: 00010293
RAX: ffffffff83348d40 RBX: ffff88804fc586d0 RCX: ffff88802700bb80
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: ffffc9001c976890 R08: ffff88802700bb80 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 0000000000000007
R13: 1ffff11009f8b0da R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff912384198 CR3: 000000007e59a000 CR4: 00000000003506f0
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