gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 gfs2: fsid=syz:syz.0: fatal: I/O error(s) gfs2: fsid=syz:syz.0: about to withdraw this file system BUG: sleeping function called from invalid context at kernel/sched/completion.c:101 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4271, name: syz-executor preempt_count: 1, expected: 0 RCU nest depth: 0, expected: 0 4 locks held by syz-executor/4271: #0: ffff88805565a0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffff88807867d058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0x23/0x40 fs/gfs2/log.c:1179 #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_log_lock fs/gfs2/log.h:32 [inline] #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x4e/0x80 fs/gfs2/log.c:815 #3: ffff88807867d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: signal_our_withdraw fs/gfs2/util.c:155 [inline] #3: ffff88807867d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x506/0x1450 fs/gfs2/util.c:345 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 4271 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 __might_resched+0x489/0x5f0 kernel/sched/core.c:9970 __wait_for_common kernel/sched/completion.c:101 [inline] wait_for_common kernel/sched/completion.c:117 [inline] wait_for_completion+0x8e/0x590 kernel/sched/completion.c:138 kthread_stop+0x197/0x650 kernel/kthread.c:711 signal_our_withdraw fs/gfs2/util.c:159 [inline] gfs2_withdraw+0x56f/0x1450 fs/gfs2/util.c:345 gfs2_ail1_empty+0x7d1/0x860 fs/gfs2/log.c:377 gfs2_flush_revokes+0x58/0x80 fs/gfs2/log.c:816 revoke_lo_before_commit+0x28/0x5e0 fs/gfs2/lops.c:869 lops_before_commit fs/gfs2/lops.h:40 [inline] __gfs2_log_flush+0xbf4/0x24e0 fs/gfs2/log.c:1103 gfs2_log_flush+0x30/0x40 fs/gfs2/log.c:1180 gfs2_kill_sb+0x50/0xd0 fs/gfs2/ops_fstype.c:1729 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x471/0x4f0 fs/namespace.c:1191 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:180 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:213 __syscall_exit_to_user_mode_work kernel/entry/common.c:295 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:306 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f2677ba0797 Code: a2 c7 05 5c 9f 25 00 00 00 00 00 eb 96 e8 e1 12 00 00 90 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffcd9db8f48 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007f2677c35f63 RCX: 00007f2677ba0797 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcd9db9000 RBP: 00007ffcd9db9000 R08: 00007ffcd9dba000 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffcd9dba090 R13: 00007f2677c35f63 R14: 00000000000155d5 R15: 00007ffcd9dba0d0 BUG: scheduling while atomic: syz-executor/4271/0x00000002 4 locks held by syz-executor/4271: #0: ffff88805565a0e0 (&type->s_umount_key#56){+.+.}-{3:3}, at: deactivate_super+0xa0/0xd0 fs/super.c:362 #1: ffff88807867d058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0x23/0x40 fs/gfs2/log.c:1179 #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: spin_lock include/linux/spinlock.h:351 [inline] #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_log_lock fs/gfs2/log.h:32 [inline] #2: ffff88807867ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x4e/0x80 fs/gfs2/log.c:815 #3: ffff88807867d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: signal_our_withdraw fs/gfs2/util.c:155 [inline] #3: ffff88807867d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x506/0x1450 fs/gfs2/util.c:345 Modules linked in: Preemption disabled at: [<0000000000000000>] 0x0