syzbot


kernel BUG in ocfs2_journal_toggle_dirty

Status: upstream: reported syz repro on 2024/10/28 20:47
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+ea8d1726e1e3367085ce@syzkaller.appspotmail.com
First crash: 46d, last: 10d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] kernel BUG in ocfs2_journal_toggle_dirty 0 (1) 2024/10/28 20:47
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/11/27 17:05 13m retest repro upstream report log
2024/11/13 09:37 18m retest repro upstream report log
2024/11/13 09:37 18m retest repro upstream report log

Sample crash report:
(syz.0.80,5796,0):ocfs2_check_volume:2467 ERROR: status = -30
(syz.0.80,5796,0):ocfs2_check_volume:2479 ERROR: status = -30
(syz.0.80,5796,0):ocfs2_mount_volume:1819 ERROR: status = -30
------------[ cut here ]------------
kernel BUG at fs/ocfs2/journal.c:1012!
Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5796 Comm: syz.0.80 Not tainted 6.12.0-rc7-syzkaller-00042-gf1b785f4c787 #0
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_journal_toggle_dirty+0x397/0x3a0 fs/ocfs2/journal.c:1012
Code: 6f fe e9 f7 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 2a fe ff ff 48 89 df e8 54 e9 6f fe e9 1d fe ff ff e8 0a 1f 06 fe 90 <0f> 0b e8 f2 cb 38 08 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000cf3eee0 EFLAGS: 00010293
RAX: ffffffff838ecb06 RBX: 00000000ffffffff RCX: ffff8880362e2440
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
RBP: ffffc9000cf3efb0 R08: ffffffff838ec870 R09: 1ffffffff285a123
R10: dffffc0000000000 R11: fffffbfff285a124 R12: dffffc0000000000
R13: ffff8880005e8cb0 R14: ffff88804528b600 R15: 1ffff920019e7de4
FS:  00007f4864dc56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f04730c7000 CR3: 0000000058eae000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ocfs2_journal_shutdown+0x479/0xc30 fs/ocfs2/journal.c:1094
 ocfs2_mount_volume+0x169f/0x1940 fs/ocfs2/super.c:1840
 ocfs2_fill_super+0x475a/0x5750 fs/ocfs2/super.c:1084
 mount_bdev+0x20a/0x2d0 fs/super.c:1693
 legacy_get_tree+0xee/0x190 fs/fs_context.c:662
 vfs_get_tree+0x90/0x2b0 fs/super.c:1814
 do_new_mount+0x2be/0xb40 fs/namespace.c:3507
 do_mount fs/namespace.c:3847 [inline]
 __do_sys_mount fs/namespace.c:4057 [inline]
 __se_sys_mount+0x2d6/0x3c0 fs/namespace.c:4034
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4863f7feba
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007f4864dc4e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4864dc4ef0 RCX: 00007f4863f7feba
RDX: 0000000020004440 RSI: 0000000020000040 RDI: 00007f4864dc4eb0
RBP: 0000000020004440 R08: 00007f4864dc4ef0 R09: 00000000000008c0
R10: 00000000000008c0 R11: 0000000000000246 R12: 0000000020000040
R13: 00007f4864dc4eb0 R14: 000000000000442d R15: 0000000020000540
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ocfs2_journal_toggle_dirty+0x397/0x3a0 fs/ocfs2/journal.c:1012
Code: 6f fe e9 f7 fd ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 2a fe ff ff 48 89 df e8 54 e9 6f fe e9 1d fe ff ff e8 0a 1f 06 fe 90 <0f> 0b e8 f2 cb 38 08 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90
RSP: 0018:ffffc9000cf3eee0 EFLAGS: 00010293
RAX: ffffffff838ecb06 RBX: 00000000ffffffff RCX: ffff8880362e2440
RDX: 0000000000000000 RSI: 00000000ffffffff RDI: 0000000000000000
RBP: ffffc9000cf3efb0 R08: ffffffff838ec870 R09: 1ffffffff285a123
R10: dffffc0000000000 R11: fffffbfff285a124 R12: dffffc0000000000
R13: ffff8880005e8cb0 R14: ffff88804528b600 R15: 1ffff920019e7de4
FS:  00007f4864dc56c0(0000) GS:ffff88801fc00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555583c03588 CR3: 0000000058eae000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/13 16:44 upstream f1b785f4c787 4dfba277 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro #1] [mounted in repro #2] ci-snapshot-upstream-root kernel BUG in ocfs2_journal_toggle_dirty
2024/10/30 09:25 upstream c1e939a21eb1 66aeb999 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_journal_toggle_dirty
2024/10/24 20:42 upstream c2ee9f594da8 c08e46d6 .config console log report syz / log [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in ocfs2_journal_toggle_dirty
2024/11/28 22:26 linux-next f486c8aa16b8 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root kernel BUG in ocfs2_journal_toggle_dirty
* Struck through repros no longer work on HEAD.