syzbot


kernel BUG in __ocfs2_flush_truncate_log

Status: upstream: reported C repro on 2025/03/24 18:56
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+9ff29b024b1d301f7588@syzkaller.appspotmail.com
First crash: 32d, last: 31d
Bug presence (1)
Date Name Commit Repro Result
2025/03/27 upstream (ToT) 1a9239bb4253 C [report] unregister_netdevice: waiting for DEV to become free
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in __ocfs2_flush_truncate_log origin:upstream C 89 2d12h 223d 0/3 upstream: reported C repro on 2024/09/15 06:10

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:6004!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4317 Comm: syz-executor357 Not tainted 6.1.131-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __ocfs2_flush_truncate_log+0x102c/0x1260 fs/ocfs2/alloc.c:6004
lr : __ocfs2_flush_truncate_log+0x102c/0x1260 fs/ocfs2/alloc.c:6004
sp : ffff800021287560
x29: ffff800021287760 x28: 1fffe0001a1481e5 x27: dfff800000000000
x26: ffff700004250ec4 x25: ffff0000e6b64400 x24: ffff0000ea5d16b8
x23: ffff0000d0a40f20 x22: ffff0000d0a40f28 x21: 00000000ffffffff
x20: ffff0000d0a40000 x19: ffff0000e3ec0a00 x18: 1fffe0003679c776
x17: ffff800015afd000 x16: ffff8000122dd0e4 x15: ffff0001b3ce3bbc
x14: 1ffff00002b600b2 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800009eda11c
x8 : ffff0000d4fd8000 x7 : ffff800009edb0f0 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000082fd590
x2 : 0000000000000001 x1 : 00000000ffffffff x0 : 0000000000000000
Call trace:
 __ocfs2_flush_truncate_log+0x102c/0x1260 fs/ocfs2/alloc.c:6004
 ocfs2_flush_truncate_log+0x4c/0x6c fs/ocfs2/alloc.c:6069
 ocfs2_sync_fs+0x110/0x31c fs/ocfs2/super.c:402
 sync_filesystem+0x1a0/0x218 fs/sync.c:66
 generic_shutdown_super+0x70/0x328 fs/super.c:474
 kill_block_super+0x70/0xdc fs/super.c:1470
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xf0/0x110 fs/super.c:363
 cleanup_mnt+0x394/0x41c fs/namespace.c:1186
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1193
 task_work_run+0x240/0x2f0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132
 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline]
 el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638
 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: 17fffeec 97986abb d4210000 97986ab9 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/26 01:16 linux-6.1.y 344a09659766 875573af .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in __ocfs2_flush_truncate_log
2025/03/25 12:02 linux-6.1.y 344a09659766 875573af .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in __ocfs2_flush_truncate_log
2025/03/24 18:55 linux-6.1.y 344a09659766 875573af .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in __ocfs2_flush_truncate_log
* Struck through repros no longer work on HEAD.