syzbot


kernel BUG in __ocfs2_flush_truncate_log

Status: upstream: reported C repro on 2024/09/15 06:10
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e8dae693d1041bee4f51@syzkaller.appspotmail.com
First crash: 97d, last: 10d
Bug presence (1)
Date Name Commit Repro Result
2024/12/01 upstream (ToT) bcc8eda6d349 C [report] kernel BUG in __ocfs2_flush_truncate_log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ocfs2/alloc.c:6002!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 1198 Comm: kworker/u4:3 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: ocfs2_wq ocfs2_truncate_log_worker
RIP: 0010:__ocfs2_flush_truncate_log+0x1077/0x11c0 fs/ocfs2/alloc.c:6002
Code: ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 8a fb ff ff 48 89 df e8 4a 2a 90 fe e9 7d fb ff ff e8 a0 51 46 fe 0f 0b e8 99 51 46 fe <0f> 0b 65 44 8b 2d 47 f3 c7 7c bf 07 00 00 00 44 89 ee e8 e2 54 46
RSP: 0018:ffffc90004bd79a0 EFLAGS: 00010293
RAX: ffffffff833a2207 RBX: 00000000ffffffff RCX: ffff888022ad5940
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
RBP: ffffc90004bd7bb0 R08: ffffffff833a135e R09: fffff5200097af1d
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90004bd7ac0
R13: ffff888074b0b338 R14: ffff88806e37ca00 R15: ffff888024491800
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020771000 CR3: 0000000079d1a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_flush_truncate_log fs/ocfs2/alloc.c:6067 [inline]
 ocfs2_truncate_log_worker+0x9e/0x1b0 fs/ocfs2/alloc.c:6080
 process_one_work+0x8a1/0x10c0 kernel/workqueue.c:2310
 worker_thread+0xaca/0x1280 kernel/workqueue.c:2457
 kthread+0x3f6/0x4f0 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>
Modules linked in:

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/01 17:17 linux-5.15.y 0a51d2d4527b 68914665 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/12/11 03:22 linux-5.15.y 0a51d2d4527b cfc402b4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/12/01 16:20 linux-5.15.y 0a51d2d4527b 68914665 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/11/25 08:04 linux-5.15.y 0a51d2d4527b 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/11/11 04:52 linux-5.15.y 3c17fc483905 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/10/14 11:09 linux-5.15.y 3a5928702e71 084d8178 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/10/05 09:37 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/30 08:36 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/30 08:34 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/30 08:34 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/30 08:28 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/30 08:28 linux-5.15.y 3a5928702e71 ba29ff75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/23 01:50 linux-5.15.y 3a5928702e71 6f888b75 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/19 08:12 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
2024/09/15 06:09 linux-5.15.y 3a5928702e71 08d8a733 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in __ocfs2_flush_truncate_log
* Struck through repros no longer work on HEAD.