syzbot


kernel BUG in __ocfs2_move_extents_range

Status: upstream: reported on 2025/04/16 02:09
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+f2107d999290b8166267@syzkaller.appspotmail.com
First crash: 120d, last: 1d22h
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in __ocfs2_move_extents_range 0 (1) 2025/04/16 02:09

Sample crash report:
loop0: detected capacity change from 0 to 32768
=======================================================
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
------------[ cut here ]------------
kernel BUG at fs/ocfs2/suballoc.c:1382!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5354 Comm: syz.0.0 Not tainted 6.16.0-syzkaller-12016-gbec077162bd0 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:ocfs2_block_group_set_bits+0x874/0x9a0 fs/ocfs2/suballoc.c:1382
Code: 07 fe c1 38 c1 0f 8c ab fe ff ff 4c 89 e7 89 f3 e8 c1 b3 7c fe 89 de e9 9a fe ff ff e8 f5 c9 17 fe 90 0f 0b e8 ed c9 17 fe 90 <0f> 0b f3 0f 1e fa 65 8b 1d b3 8e f8 0e bf 07 00 00 00 89 de e8 13
RSP: 0018:ffffc9000d457360 EFLAGS: 00010283
RAX: ffffffff83a7f173 RBX: 0000000000000002 RCX: 0000000000100000
RDX: ffffc9000e4c2000 RSI: 00000000000044c1 RDI: 00000000000044c2
RBP: ffffc9000d457480 R08: 000000000000000e R09: 0000000000000004
R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100861a801
R13: 0000000000000004 R14: ffff8880436dcfb8 R15: dffffc0000000000
FS:  00007feffc42e6c0(0000) GS:ffff88808d218000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000041b69000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 ocfs2_move_extent fs/ocfs2/move_extents.c:687 [inline]
 __ocfs2_move_extents_range+0x2976/0x3380 fs/ocfs2/move_extents.c:859
 ocfs2_move_extents+0x378/0x960 fs/ocfs2/move_extents.c:926
 ocfs2_ioctl_move_extents+0x53e/0x710 fs/ocfs2/move_extents.c:1052
 ocfs2_ioctl+0x191/0x750 fs/ocfs2/ioctl.c:946
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:598 [inline]
 __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0x3b0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7feffb58ebe9
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:00007feffc42e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007feffb7b5fa0 RCX: 00007feffb58ebe9
RDX: 00002000000000c0 RSI: 0000000040406f06 RDI: 000000000000000a
RBP: 00007feffb611e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007feffb7b6038 R14: 00007feffb7b5fa0 R15: 00007ffc7dd1fdb8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_block_group_set_bits+0x874/0x9a0 fs/ocfs2/suballoc.c:1382
Code: 07 fe c1 38 c1 0f 8c ab fe ff ff 4c 89 e7 89 f3 e8 c1 b3 7c fe 89 de e9 9a fe ff ff e8 f5 c9 17 fe 90 0f 0b e8 ed c9 17 fe 90 <0f> 0b f3 0f 1e fa 65 8b 1d b3 8e f8 0e bf 07 00 00 00 89 de e8 13
RSP: 0018:ffffc9000d457360 EFLAGS: 00010283
RAX: ffffffff83a7f173 RBX: 0000000000000002 RCX: 0000000000100000
RDX: ffffc9000e4c2000 RSI: 00000000000044c1 RDI: 00000000000044c2
RBP: ffffc9000d457480 R08: 000000000000000e R09: 0000000000000004
R10: 00000000fffffffc R11: 0000000000000002 R12: 1ffff1100861a801
R13: 0000000000000004 R14: ffff8880436dcfb8 R15: dffffc0000000000
FS:  00007feffc42e6c0(0000) GS:ffff88808d218000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000007000 CR3: 0000000041b69000 CR4: 0000000000352ef0

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/08 19:31 upstream bec077162bd0 56444e07 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/07/25 20:48 upstream 2942242dde89 fb8f743d .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/07/03 05:37 upstream b4911fb0b060 115ceea7 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/06/27 07:01 upstream f02769e7f272 803ce19b .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/06/26 17:06 upstream ee88bddf7f2f 1ae8177e .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/06/21 08:27 upstream 11313e2f7812 d6cdfb8a .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/06/05 13:34 upstream ec7714e49479 6b6b5f21 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/04/25 16:27 upstream 02ddfb981de8 dea5c7e4 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/04/20 08:22 upstream 119009db2674 2a20f901 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/04/12 01:56 upstream e618ee89561b 0bd6db41 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in __ocfs2_move_extents_range
2025/06/09 17:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci d7fa1af5b33e 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in __ocfs2_move_extents_range
* Struck through repros no longer work on HEAD.