syzbot
kernel BUG in ocfs2_remove_extent
Status:
upstream: reported syz repro on 2025/09/02 01:23
Bug presence:
origin:upstream
[Documentation on labels]
Reported-by: syzbot+d1286cf5effed468d83c@syzkaller.appspotmail.com
First crash: 334d, last: now
▶
▼
Bug presence (1)
| Date |
Name |
Commit |
Repro |
Result |
| 2025/09/20 |
upstream (ToT) |
cd89d487374c |
syz
|
[report] kernel BUG in ocfs2_remove_extent
|
▶
▼
Last patch testing requests (10)
Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:5574!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 4770 Comm: syz.2.24 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:ocfs2_remove_extent+0x1e2a/0x1f80 fs/ocfs2/alloc.c:5574
Code: fe e9 96 fa ff ff 48 8b 0c 24 80 e1 07 fe c1 38 c1 0f 8c d6 fa ff ff 48 8b 3c 24 e8 60 f3 aa fe e9 c8 fa ff ff e8 d6 8a 66 fe <0f> 0b 65 44 8b 3d 14 d4 f0 7c bf 07 00 00 00 44 89 fe e8 1f 8e 66
RSP: 0018:ffffc9000329e640 EFLAGS: 00010293
RAX: ffffffff8311413a RBX: ffff88806a0234d0 RCX: ffff88801dc85940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: ffffc9000329e970 R08: ffff88801dc85940 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 0000000000000007
R13: 1ffff1100d40469a R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005607a0b95168 CR3: 000000007e3c0000 CR4: 00000000003506f0
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+0xab3/0x1b30 fs/ocfs2/alloc.c:7347
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+0xef2/0x3e40 fs/ocfs2/inode.c:1216
evict+0x485/0x870 fs/inode.c:647
ocfs2_dentry_iput+0x244/0x370 fs/ocfs2/dcache.c:418
__dentry_kill+0x431/0x650 fs/dcache.c:586
dentry_kill+0xb8/0x290 fs/dcache.c:-1
dput+0xd8/0x1a0 fs/dcache.c:893
__fput+0x5ee/0x930 fs/file_table.c:319
task_work_run+0x125/0x1a0 kernel/task_work.c:188
exit_task_work include/linux/task_work.h:33 [inline]
do_exit+0x61e/0x20a0 kernel/exit.c:883
do_group_exit+0x12e/0x300 kernel/exit.c:997
get_signal+0x6ca/0x12c0 kernel/signal.c:2900
arch_do_signal_or_restart+0xc1/0x1300 arch/x86/kernel/signal.c:867
handle_signal_work kernel/entry/common.c:154 [inline]
exit_to_user_mode_loop+0x9e/0x130 kernel/entry/common.c:178
exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:214
irqentry_exit_to_user_mode+0x5/0x30 kernel/entry/common.c:320
exc_page_fault+0x88/0x100 arch/x86/mm/fault.c:1504
asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:606
RIP: 0033:0xda8f2e
Code: Unable to access opcode bytes at RIP 0xda8f04.
RSP: 002b:00002000000000f8 EFLAGS: 00010217
RAX: 0000000000000000 RBX: 00007f48672bffa0 RCX: 00007f4867069749
RDX: 0000200000000100 RSI: 00002000000000f0 RDI: 0000000040180000
RBP: 00007f48670edf91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f48672bffa0 R14: 00007f48672bffa0 R15: 0000000000000006
</TASK>
Modules linked in:
---[ end trace c42eb3ccc5bc7295 ]---
RIP: 0010:ocfs2_remove_extent+0x1e2a/0x1f80 fs/ocfs2/alloc.c:5574
Code: fe e9 96 fa ff ff 48 8b 0c 24 80 e1 07 fe c1 38 c1 0f 8c d6 fa ff ff 48 8b 3c 24 e8 60 f3 aa fe e9 c8 fa ff ff e8 d6 8a 66 fe <0f> 0b 65 44 8b 3d 14 d4 f0 7c bf 07 00 00 00 44 89 fe e8 1f 8e 66
RSP: 0018:ffffc9000329e640 EFLAGS: 00010293
RAX: ffffffff8311413a RBX: ffff88806a0234d0 RCX: ffff88801dc85940
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000007
RBP: ffffc9000329e970 R08: ffff88801dc85940 R09: 0000000000000006
R10: 00000000fffffffc R11: 0000000000000000 R12: 0000000000000007
R13: 1ffff1100d40469a R14: dffffc0000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055e958d2fa38 CR3: 000000007e3c0000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
* Struck through repros no longer work on HEAD.