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: 178d, last: 10d
Fix bisection: failed (error log, bisect log)
  
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 (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 kernel BUG in __ocfs2_flush_truncate_log -1 3 29d 74d 0/2 upstream: reported on 2025/07/07 06:01
linux-5.15 kernel BUG in __ocfs2_flush_truncate_log origin:upstream -1 C 101 4d08h 369d 0/3 upstream: reported C repro on 2024/09/15 06:10

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:6012!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4451 Comm: syz-executor 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_flush_truncate_log+0xe98/0x1068 fs/ocfs2/alloc.c:6012
lr : __ocfs2_flush_truncate_log+0xe98/0x1068 fs/ocfs2/alloc.c:6012
sp : ffff8000205b7640
x29: ffff8000205b7800 x28: ffff0000d35ff800 x27: dfff800000000000
x26: 1fffe0001a7c59e5 x25: ffff0000d3e2cf20 x24: ffff0000d3e2c000
x23: ffff0000ea2d3338 x22: ffff0000d3e2cf28 x21: 00000000ffffffff
x20: ffff0000e9816a00 x19: ffff7000040b6ed8 x18: ffff800011abbcc0
x17: ffff8000181f9000 x16: ffff8000082cdb0c x15: ffff800017cd9fc0
x14: ffff0000de1a2658 x13: ffff0000de1a2680 x12: 0000000000ff0100
x11: ff00800009cbf9a8 x10: 0000000000000000 x9 : ffff800009cbf9a8
x8 : ffff0000de1a1bc0 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff8000183b2f60 x4 : 0000000000000008 x3 : ffff8000082cdba4
x2 : 0000000000000001 x1 : 00000000ffffffff x0 : 0000000000000000
Call trace:
 __ocfs2_flush_truncate_log+0xe98/0x1068 fs/ocfs2/alloc.c:6012
 ocfs2_flush_truncate_log+0x48/0x68 fs/ocfs2/alloc.c:6077
 ocfs2_sync_fs+0xf8/0x2a4 fs/ocfs2/super.c:402
 sync_filesystem+0x1a0/0x218 fs/sync.c:66
 generic_shutdown_super+0x70/0x324 fs/super.c:474
 kill_block_super+0x70/0xdc fs/super.c:1470
 deactivate_locked_super+0xac/0x124 fs/super.c:332
 deactivate_super+0xe8/0x108 fs/super.c:363
 cleanup_mnt+0x37c/0x404 fs/namespace.c:1182
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1189
 task_work_run+0x1ec/0x270 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 do_notify_resume+0x1f70/0x2b0c arch/arm64/kernel/signal.c:1137
 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+0x98/0x138 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: 17ffff12 979f8867 d4210000 979f8865 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/03 20:53 linux-6.1.y f89b6e15694c 96a211bc .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro #1 (clean fs)] [mounted in repro #2 (clean fs)] ci2-linux-6-1-kasan-arm64 kernel BUG in __ocfs2_flush_truncate_log
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/09/09 05:13 linux-6.1.y 28c695c365e1 d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __ocfs2_flush_truncate_log
2025/06/23 06:13 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __ocfs2_flush_truncate_log
2025/06/23 06:12 linux-6.1.y 58485ff1a74f d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan kernel BUG in __ocfs2_flush_truncate_log
2025/09/03 19:43 linux-6.1.y f89b6e15694c 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] 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.