Warning: Permanently added '10.128.1.166' (ED25519) to the list of known hosts. executing program [ 47.406364][ T4023] loop0: detected capacity change from 0 to 32768 [ 47.492865][ T4023] gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" [ 47.495126][ T4023] gfs2: fsid=syz:syz: Now mounting FS (format 1801)... [ 47.511332][ T4023] gfs2: fsid=syz:syz.0: journal 0 mapped with 4 extents in 0ms [ 47.515203][ T2467] gfs2: fsid=syz:syz.0: jid=0, already locked for use [ 47.517012][ T2467] gfs2: fsid=syz:syz.0: jid=0: Looking at journal... [ 47.547642][ T2467] gfs2: fsid=syz:syz.0: jid=0: Journal head lookup took 30ms [ 47.550938][ T2467] gfs2: fsid=syz:syz.0: jid=0: Done [ 47.552537][ T4023] gfs2: fsid=syz:syz.0: first mount done, others may mount [ 47.670524][ T4023] attempt to access beyond end of device [ 47.670524][ T4023] loop0: rw=1, want=16778992, limit=32768 [ 47.673605][ T4023] gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 [ 47.689458][ T4023] gfs2: fsid=syz:syz.0: fatal: I/O error(s) [ 47.691126][ T4023] gfs2: fsid=syz:syz.0: about to withdraw this file system [ 47.693136][ T4023] BUG: sleeping function called from invalid context at fs/gfs2/glock.c:1281 [ 47.695491][ T4023] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4023, name: syz-executor221 [ 47.698025][ T4023] 5 locks held by syz-executor221/4023: [ 47.699655][ T4023] #0: ffff0000ca7fc460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 47.702119][ T4023] #1: ffff0000e1418150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x640/0x26cc [ 47.704956][ T4023] #2: ffff0000ca7fc650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0x128/0x1cc [ 47.707605][ T4023] #3: ffff0000c2b6d0a8 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xbc/0x21d4 [ 47.710562][ T4023] #4: ffff0000c2b6ced0 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 47.713225][ T4023] Preemption disabled at: [ 47.713238][ T4023] [] gfs2_flush_revokes+0x50/0x94 [ 47.716108][ T4023] CPU: 1 PID: 4023 Comm: syz-executor221 Not tainted 5.15.179-syzkaller #0 [ 47.718332][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.721108][ T4023] Call trace: [ 47.722045][ T4023] dump_backtrace+0x0/0x530 [ 47.723256][ T4023] show_stack+0x2c/0x3c [ 47.724368][ T4023] dump_stack_lvl+0x108/0x170 [ 47.725558][ T4023] dump_stack+0x1c/0x58 [ 47.726642][ T4023] ___might_sleep+0x380/0x4dc [ 47.727929][ T4023] __might_sleep+0x98/0xf0 [ 47.729068][ T4023] gfs2_glock_nq+0xac8/0x144c [ 47.730375][ T4023] gfs2_freeze_lock+0x64/0xd8 [ 47.731697][ T4023] gfs2_withdraw+0x4b0/0x12a4 [ 47.732973][ T4023] gfs2_ail1_empty+0x758/0x7e8 [ 47.734278][ T4023] gfs2_flush_revokes+0x5c/0x94 [ 47.735581][ T4023] revoke_lo_before_commit+0x3c/0x640 [ 47.737026][ T4023] gfs2_log_flush+0x958/0x21d4 [ 47.738246][ T4023] gfs2_trans_end+0x300/0x4cc [ 47.739516][ T4023] alloc_dinode+0x33c/0x478 [ 47.740682][ T4023] gfs2_create_inode+0xbe0/0x14c4 [ 47.742026][ T4023] gfs2_atomic_open+0xd8/0x1c4 [ 47.743217][ T4023] path_openat+0xc54/0x26cc [ 47.744421][ T4023] do_filp_open+0x1a8/0x3b4 [ 47.745627][ T4023] do_sys_openat2+0x128/0x3e0 [ 47.746812][ T4023] __arm64_sys_openat+0x1f0/0x240 [ 47.748168][ T4023] invoke_syscall+0x98/0x2b8 [ 47.749406][ T4023] el0_svc_common+0x138/0x258 [ 47.750586][ T4023] do_el0_svc+0x58/0x14c [ 47.751717][ T4023] el0_svc+0x7c/0x1f0 [ 47.752842][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 47.754235][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 47.761344][ T4023] [ 47.762019][ T4023] ============================= [ 47.763232][ T4023] [ BUG: Invalid wait context ] [ 47.764484][ T4023] 5.15.179-syzkaller #0 Tainted: G W [ 47.766182][ T4023] ----------------------------- [ 47.767479][ T4023] syz-executor221/4023 is trying to lock: [ 47.768960][ T4023] ffff0000c71e1088 (&wq->mutex){+.+.}-{3:3}, at: flush_workqueue+0x170/0x11c4 [ 47.771378][ T4023] other info that might help us debug this: [ 47.772907][ T4023] context-{4:4} [ 47.773804][ T4023] 5 locks held by syz-executor221/4023: [ 47.775319][ T4023] #0: ffff0000ca7fc460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 47.777802][ T4023] #1: ffff0000e1418150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x640/0x26cc [ 47.780501][ T4023] #2: ffff0000ca7fc650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0x128/0x1cc [ 47.783066][ T4023] #3: ffff0000c2b6d0a8 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xbc/0x21d4 [ 47.785808][ T4023] #4: ffff0000c2b6ced0 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 47.788573][ T4023] stack backtrace: [ 47.789584][ T4023] CPU: 1 PID: 4023 Comm: syz-executor221 Tainted: G W 5.15.179-syzkaller #0 [ 47.792290][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.795007][ T4023] Call trace: [ 47.795868][ T4023] dump_backtrace+0x0/0x530 [ 47.797142][ T4023] show_stack+0x2c/0x3c [ 47.798244][ T4023] dump_stack_lvl+0x108/0x170 [ 47.799450][ T4023] dump_stack+0x1c/0x58 [ 47.800534][ T4023] __lock_acquire+0x1af0/0x7638 [ 47.801821][ T4023] lock_acquire+0x240/0x77c [ 47.803001][ T4023] __mutex_lock_common+0x194/0x2154 [ 47.804392][ T4023] mutex_lock_nested+0xa4/0xf8 [ 47.805687][ T4023] flush_workqueue+0x170/0x11c4 [ 47.806980][ T4023] gfs2_flush_delete_work+0x34/0x44 [ 47.808361][ T4023] gfs2_make_fs_ro+0xb4/0x554 [ 47.809588][ T4023] gfs2_withdraw+0x4ec/0x12a4 [ 47.810799][ T4023] gfs2_ail1_empty+0x758/0x7e8 [ 47.812090][ T4023] gfs2_flush_revokes+0x5c/0x94 [ 47.813395][ T4023] revoke_lo_before_commit+0x3c/0x640 [ 47.814762][ T4023] gfs2_log_flush+0x958/0x21d4 [ 47.816001][ T4023] gfs2_trans_end+0x300/0x4cc [ 47.817233][ T4023] alloc_dinode+0x33c/0x478 [ 47.818497][ T4023] gfs2_create_inode+0xbe0/0x14c4 [ 47.819785][ T4023] gfs2_atomic_open+0xd8/0x1c4 [ 47.821092][ T4023] path_openat+0xc54/0x26cc [ 47.822331][ T4023] do_filp_open+0x1a8/0x3b4 [ 47.823509][ T4023] do_sys_openat2+0x128/0x3e0 [ 47.824745][ T4023] __arm64_sys_openat+0x1f0/0x240 [ 47.826085][ T4023] invoke_syscall+0x98/0x2b8 [ 47.827392][ T4023] el0_svc_common+0x138/0x258 [ 47.828695][ T4023] do_el0_svc+0x58/0x14c [ 47.829816][ T4023] el0_svc+0x7c/0x1f0 [ 47.830952][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 47.832308][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 47.833615][ T4023] BUG: scheduling while atomic: syz-executor221/4023/0x00000002 [ 47.835692][ T4023] INFO: lockdep is turned off. [ 47.836984][ T4023] Modules linked in: [ 47.838045][ T4023] Preemption disabled at: [ 47.838055][ T4023] [] gfs2_flush_revokes+0x50/0x94 [ 47.840945][ T4023] CPU: 1 PID: 4023 Comm: syz-executor221 Tainted: G W 5.15.179-syzkaller #0 [ 47.843545][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.846200][ T4023] Call trace: [ 47.847031][ T4023] dump_backtrace+0x0/0x530 [ 47.848230][ T4023] show_stack+0x2c/0x3c [ 47.849326][ T4023] dump_stack_lvl+0x108/0x170 [ 47.850586][ T4023] dump_stack+0x1c/0x58 [ 47.851696][ T4023] __schedule_bug+0x12c/0x1e0 [ 47.852962][ T4023] __schedule+0xfa8/0x1e48 [ 47.854161][ T4023] schedule+0x11c/0x1c8 [ 47.855400][ T4023] schedule_timeout+0xb8/0x344 [ 47.856722][ T4023] do_wait_for_common+0x214/0x388 [ 47.858111][ T4023] wait_for_completion+0x4c/0x64 [ 47.859468][ T4023] kthread_stop+0x1a0/0x788 [ 47.860614][ T4023] gfs2_make_fs_ro+0x12c/0x554 [ 47.861891][ T4023] gfs2_withdraw+0x4ec/0x12a4 [ 47.863175][ T4023] gfs2_ail1_empty+0x758/0x7e8 [ 47.864460][ T4023] gfs2_flush_revokes+0x5c/0x94 [ 47.865732][ T4023] revoke_lo_before_commit+0x3c/0x640 [ 47.867180][ T4023] gfs2_log_flush+0x958/0x21d4 [ 47.868471][ T4023] gfs2_trans_end+0x300/0x4cc [ 47.869680][ T4023] alloc_dinode+0x33c/0x478 [ 47.870879][ T4023] gfs2_create_inode+0xbe0/0x14c4 [ 47.872163][ T4023] gfs2_atomic_open+0xd8/0x1c4 [ 47.873476][ T4023] path_openat+0xc54/0x26cc [ 47.874726][ T4023] do_filp_open+0x1a8/0x3b4 [ 47.875931][ T4023] do_sys_openat2+0x128/0x3e0 [ 47.877180][ T4023] __arm64_sys_openat+0x1f0/0x240 [ 47.878533][ T4023] invoke_syscall+0x98/0x2b8 [ 47.879733][ T4023] el0_svc_common+0x138/0x258 [ 47.881029][ T4023] do_el0_svc+0x58/0x14c [ 47.882178][ T4023] el0_svc+0x7c/0x1f0 [ 47.883177][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 47.884514][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 52.889036][ T4023] gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount. [ 52.891408][ T4023] gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0 [ 52.893176][ T4023] gfs2: fsid=syz:syz.0: File system withdrawn [ 52.894702][ T4023] CPU: 1 PID: 4023 Comm: syz-executor221 Tainted: G W 5.15.179-syzkaller #0 [ 52.897329][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 52.899974][ T4023] Call trace: [ 52.900932][ T4023] dump_backtrace+0x0/0x530 [ 52.902098][ T4023] show_stack+0x2c/0x3c [ 52.903230][ T4023] dump_stack_lvl+0x108/0x170 [ 52.904468][ T4023] dump_stack+0x1c/0x58 [ 52.905606][ T4023] gfs2_withdraw+0xeac/0x12a4 [ 52.906866][ T4023] gfs2_ail1_empty+0x758/0x7e8 [ 52.908129][ T4023] gfs2_flush_revokes+0x5c/0x94 [ 52.909514][ T4023] revoke_lo_before_commit+0x3c/0x640 [ 52.910958][ T4023] gfs2_log_flush+0x958/0x21d4 [ 52.912248][ T4023] gfs2_trans_end+0x300/0x4cc [ 52.913474][ T4023] alloc_dinode+0x33c/0x478 [ 52.914673][ T4023] gfs2_create_inode+0xbe0/0x14c4 [ 52.916007][ T4023] gfs2_atomic_open+0xd8/0x1c4 [ 52.917372][ T4023] path_openat+0xc54/0x26cc [ 52.918591][ T4023] do_filp_open+0x1a8/0x3b4 [ 52.919765][ T4023] do_sys_openat2+0x128/0x3e0 [ 52.920994][ T4023] __arm64_sys_openat+0x1f0/0x240 [ 52.922360][ T4023] invoke_syscall+0x98/0x2b8 [ 52.923590][ T4023] el0_svc_common+0x138/0x258 [ 52.924797][ T4023] do_el0_svc+0x58/0x14c [ 52.925945][ T4023] el0_svc+0x7c/0x1f0 [ 52.927033][ T4023] el0t_64_sync_handler+0x84/0xe4 [ 52.928343][ T4023] el0t_64_sync+0x1a0/0x1a4