syzbot
kernel BUG in ocfs2_set_new_buffer_uptodate
Status:
upstream: reported C repro on 2025/01/06 04:02
Bug presence:
origin:upstream
Labels:
missing-backport
[Documentation on labels]
Reported-by: syzbot+a9577fc38576062e5730@syzkaller.appspotmail.com
First crash: 567d, last: 207d
▶
▼
Fix bisection attempts (5)
Sample crash report:
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/uptodate.c:509!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4520 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 82400005 (Nzcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=--)
pc : ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509
lr : ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509
sp : ffff800021457860
x29: ffff800021457860 x28: ffff800021457940 x27: ffff70000428af28
x26: dfff800000000000 x25: ffff800021457bb0 x24: ffff0000eeaa8e00
x23: 1ffff0000428af76 x22: 0000000000000000 x21: 0000000000000001
x20: ffff0000e22c9570 x19: ffff0000ea364130 x18: ffff800011abbcc0
x17: ffff8000181f8000 x16: ffff8000082e7b1c x15: ffff800017cd8fc0
x14: ffff0000d3dcddd8 x13: ffff0000d3dcde28 x12: 0000000000ff0100
x11: ff00800009e0eff8 x10: 0000000000000000 x9 : ffff800009e0eff8
x8 : ffff0000d3dcd340 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000183a9d70 x4 : 0000000000000008 x3 : ffff8000082e7c30
x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
ocfs2_set_new_buffer_uptodate+0x14c/0x188 fs/ocfs2/uptodate.c:509
ocfs2_group_add+0x27c/0xe6c fs/ocfs2/resize.c:499
ocfs2_ioctl+0x764/0xaf4 fs/ocfs2/ioctl.c:887
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:856
__invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204
el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637
el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: a8c47bfd d50323bf d65f03c0 979a4a29 (d4210000)
---[ end trace 0000000000000000 ]---
* Struck through repros no longer work on HEAD.