Warning: Permanently added '10.128.0.159' (ED25519) to the list of known hosts. executing program [ 46.987539][ T4024] loop0: detected capacity change from 0 to 32768 [ 47.072560][ T4024] gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" [ 47.074826][ T4024] gfs2: fsid=syz:syz: Now mounting FS (format 1801)... [ 47.092017][ T4024] gfs2: fsid=syz:syz.0: journal 0 mapped with 4 extents in 0ms [ 47.096220][ T21] gfs2: fsid=syz:syz.0: jid=0, already locked for use [ 47.098079][ T21] gfs2: fsid=syz:syz.0: jid=0: Looking at journal... [ 47.123026][ T21] gfs2: fsid=syz:syz.0: jid=0: Journal head lookup took 24ms [ 47.126221][ T21] gfs2: fsid=syz:syz.0: jid=0: Done [ 47.127703][ T4024] gfs2: fsid=syz:syz.0: first mount done, others may mount [ 47.270142][ T4024] attempt to access beyond end of device [ 47.270142][ T4024] loop0: rw=1, want=16778992, limit=32768 [ 47.273221][ T4024] gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 [ 47.275481][ T4024] gfs2: fsid=syz:syz.0: fatal: I/O error(s) [ 47.277030][ T4024] gfs2: fsid=syz:syz.0: about to withdraw this file system [ 47.278969][ T4024] BUG: sleeping function called from invalid context at fs/gfs2/glock.c:1281 [ 47.281415][ T4024] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4024, name: syz-executor158 [ 47.283793][ T4024] 5 locks held by syz-executor158/4024: [ 47.285152][ T4024] #0: ffff0000cb852460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 47.287486][ T4024] #1: ffff0000ddf30150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x640/0x26cc [ 47.290170][ T4024] #2: ffff0000cb852650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0x128/0x1cc [ 47.292713][ T4024] #3: ffff0000cb3bd0a8 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xbc/0x21d4 [ 47.295377][ T4024] #4: ffff0000cb3bced0 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 47.298012][ T4024] Preemption disabled at: [ 47.298025][ T4024] [] gfs2_flush_revokes+0x50/0x94 [ 47.300903][ T4024] CPU: 0 PID: 4024 Comm: syz-executor158 Not tainted 5.15.179-syzkaller #0 [ 47.303062][ T4024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.305485][ T4024] Call trace: [ 47.306316][ T4024] dump_backtrace+0x0/0x530 [ 47.307426][ T4024] show_stack+0x2c/0x3c [ 47.308477][ T4024] dump_stack_lvl+0x108/0x170 [ 47.309607][ T4024] dump_stack+0x1c/0x58 [ 47.310704][ T4024] ___might_sleep+0x380/0x4dc [ 47.311967][ T4024] __might_sleep+0x98/0xf0 [ 47.313114][ T4024] gfs2_glock_nq+0xac8/0x144c [ 47.314366][ T4024] gfs2_freeze_lock+0x64/0xd8 [ 47.315525][ T4024] gfs2_withdraw+0x4b0/0x12a4 [ 47.316726][ T4024] gfs2_ail1_empty+0x758/0x7e8 [ 47.317950][ T4024] gfs2_flush_revokes+0x5c/0x94 [ 47.319196][ T4024] revoke_lo_before_commit+0x3c/0x640 [ 47.320537][ T4024] gfs2_log_flush+0x958/0x21d4 [ 47.321761][ T4024] gfs2_trans_end+0x300/0x4cc [ 47.322995][ T4024] alloc_dinode+0x33c/0x478 [ 47.324195][ T4024] gfs2_create_inode+0xbe0/0x14c4 [ 47.325494][ T4024] gfs2_atomic_open+0xd8/0x1c4 [ 47.326755][ T4024] path_openat+0xc54/0x26cc [ 47.327885][ T4024] do_filp_open+0x1a8/0x3b4 [ 47.329140][ T4024] do_sys_openat2+0x128/0x3e0 [ 47.330363][ T4024] __arm64_sys_openat+0x1f0/0x240 [ 47.331689][ T4024] invoke_syscall+0x98/0x2b8 [ 47.332975][ T4024] el0_svc_common+0x138/0x258 [ 47.334176][ T4024] do_el0_svc+0x58/0x14c [ 47.335209][ T4024] el0_svc+0x7c/0x1f0 [ 47.336223][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 47.337528][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 47.344598][ T4024] [ 47.345192][ T4024] ============================= [ 47.346402][ T4024] [ BUG: Invalid wait context ] [ 47.347592][ T4024] 5.15.179-syzkaller #0 Tainted: G W [ 47.349237][ T4024] ----------------------------- [ 47.350463][ T4024] syz-executor158/4024 is trying to lock: [ 47.351935][ T4024] ffff0000c72cc488 (&wq->mutex){+.+.}-{3:3}, at: flush_workqueue+0x170/0x11c4 [ 47.354255][ T4024] other info that might help us debug this: [ 47.355797][ T4024] context-{4:4} [ 47.356700][ T4024] 5 locks held by syz-executor158/4024: [ 47.358194][ T4024] #0: ffff0000cb852460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 47.360701][ T4024] #1: ffff0000ddf30150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x640/0x26cc [ 47.363414][ T4024] #2: ffff0000cb852650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0x128/0x1cc [ 47.365940][ T4024] #3: ffff0000cb3bd0a8 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xbc/0x21d4 [ 47.368663][ T4024] #4: ffff0000cb3bced0 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 47.371271][ T4024] stack backtrace: [ 47.372311][ T4024] CPU: 0 PID: 4024 Comm: syz-executor158 Tainted: G W 5.15.179-syzkaller #0 [ 47.375043][ T4024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.377642][ T4024] Call trace: [ 47.378449][ T4024] dump_backtrace+0x0/0x530 [ 47.379563][ T4024] show_stack+0x2c/0x3c [ 47.380658][ T4024] dump_stack_lvl+0x108/0x170 [ 47.381872][ T4024] dump_stack+0x1c/0x58 [ 47.382955][ T4024] __lock_acquire+0x1af0/0x7638 [ 47.384215][ T4024] lock_acquire+0x240/0x77c [ 47.385394][ T4024] __mutex_lock_common+0x194/0x2154 [ 47.386766][ T4024] mutex_lock_nested+0xa4/0xf8 [ 47.387939][ T4024] flush_workqueue+0x170/0x11c4 [ 47.389298][ T4024] gfs2_flush_delete_work+0x34/0x44 [ 47.390677][ T4024] gfs2_make_fs_ro+0xb4/0x554 [ 47.391870][ T4024] gfs2_withdraw+0x4ec/0x12a4 [ 47.393143][ T4024] gfs2_ail1_empty+0x758/0x7e8 [ 47.394446][ T4024] gfs2_flush_revokes+0x5c/0x94 [ 47.395715][ T4024] revoke_lo_before_commit+0x3c/0x640 [ 47.397160][ T4024] gfs2_log_flush+0x958/0x21d4 [ 47.398442][ T4024] gfs2_trans_end+0x300/0x4cc [ 47.399735][ T4024] alloc_dinode+0x33c/0x478 [ 47.400951][ T4024] gfs2_create_inode+0xbe0/0x14c4 [ 47.402278][ T4024] gfs2_atomic_open+0xd8/0x1c4 [ 47.403541][ T4024] path_openat+0xc54/0x26cc [ 47.404692][ T4024] do_filp_open+0x1a8/0x3b4 [ 47.405901][ T4024] do_sys_openat2+0x128/0x3e0 [ 47.407121][ T4024] __arm64_sys_openat+0x1f0/0x240 [ 47.408432][ T4024] invoke_syscall+0x98/0x2b8 [ 47.409642][ T4024] el0_svc_common+0x138/0x258 [ 47.410851][ T4024] do_el0_svc+0x58/0x14c [ 47.411958][ T4024] el0_svc+0x7c/0x1f0 [ 47.412960][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 47.414239][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 47.415561][ T4024] BUG: scheduling while atomic: syz-executor158/4024/0x00000002 [ 47.417459][ T4024] INFO: lockdep is turned off. [ 47.418676][ T4024] Modules linked in: [ 47.419677][ T4024] Preemption disabled at: [ 47.419687][ T4024] [] gfs2_flush_revokes+0x50/0x94 [ 47.422428][ T4024] CPU: 0 PID: 4024 Comm: syz-executor158 Tainted: G W 5.15.179-syzkaller #0 [ 47.424970][ T4024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 47.427529][ T4024] Call trace: [ 47.428352][ T4024] dump_backtrace+0x0/0x530 [ 47.429482][ T4024] show_stack+0x2c/0x3c [ 47.430519][ T4024] dump_stack_lvl+0x108/0x170 [ 47.431794][ T4024] dump_stack+0x1c/0x58 [ 47.432866][ T4024] __schedule_bug+0x12c/0x1e0 [ 47.434119][ T4024] __schedule+0xfa8/0x1e48 [ 47.435293][ T4024] schedule+0x11c/0x1c8 [ 47.436316][ T4024] schedule_timeout+0xb8/0x344 [ 47.437540][ T4024] do_wait_for_common+0x214/0x388 [ 47.438862][ T4024] wait_for_completion+0x4c/0x64 [ 47.440138][ T4024] kthread_stop+0x1a0/0x788 [ 47.441297][ T4024] gfs2_make_fs_ro+0x12c/0x554 [ 47.442615][ T4024] gfs2_withdraw+0x4ec/0x12a4 [ 47.443816][ T4024] gfs2_ail1_empty+0x758/0x7e8 [ 47.445044][ T4024] gfs2_flush_revokes+0x5c/0x94 [ 47.446313][ T4024] revoke_lo_before_commit+0x3c/0x640 [ 47.447767][ T4024] gfs2_log_flush+0x958/0x21d4 [ 47.449007][ T4024] gfs2_trans_end+0x300/0x4cc [ 47.450286][ T4024] alloc_dinode+0x33c/0x478 [ 47.451493][ T4024] gfs2_create_inode+0xbe0/0x14c4 [ 47.452818][ T4024] gfs2_atomic_open+0xd8/0x1c4 [ 47.454068][ T4024] path_openat+0xc54/0x26cc [ 47.455351][ T4024] do_filp_open+0x1a8/0x3b4 [ 47.456575][ T4024] do_sys_openat2+0x128/0x3e0 [ 47.457883][ T4024] __arm64_sys_openat+0x1f0/0x240 [ 47.459273][ T4024] invoke_syscall+0x98/0x2b8 [ 47.460548][ T4024] el0_svc_common+0x138/0x258 [ 47.461792][ T4024] do_el0_svc+0x58/0x14c [ 47.462873][ T4024] el0_svc+0x7c/0x1f0 [ 47.463895][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 47.465270][ T4024] el0t_64_sync+0x1a0/0x1a4 [ 52.499367][ T4024] gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount. [ 52.501825][ T4024] gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0 [ 52.503639][ T4024] gfs2: fsid=syz:syz.0: File system withdrawn [ 52.505229][ T4024] CPU: 0 PID: 4024 Comm: syz-executor158 Tainted: G W 5.15.179-syzkaller #0 [ 52.507832][ T4024] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 52.510390][ T4024] Call trace: [ 52.511228][ T4024] dump_backtrace+0x0/0x530 [ 52.512478][ T4024] show_stack+0x2c/0x3c [ 52.513614][ T4024] dump_stack_lvl+0x108/0x170 [ 52.514845][ T4024] dump_stack+0x1c/0x58 [ 52.515916][ T4024] gfs2_withdraw+0xeac/0x12a4 [ 52.517110][ T4024] gfs2_ail1_empty+0x758/0x7e8 [ 52.518416][ T4024] gfs2_flush_revokes+0x5c/0x94 [ 52.519648][ T4024] revoke_lo_before_commit+0x3c/0x640 [ 52.521045][ T4024] gfs2_log_flush+0x958/0x21d4 [ 52.522363][ T4024] gfs2_trans_end+0x300/0x4cc [ 52.523651][ T4024] alloc_dinode+0x33c/0x478 [ 52.524872][ T4024] gfs2_create_inode+0xbe0/0x14c4 [ 52.526292][ T4024] gfs2_atomic_open+0xd8/0x1c4 [ 52.527597][ T4024] path_openat+0xc54/0x26cc [ 52.528790][ T4024] do_filp_open+0x1a8/0x3b4 [ 52.529928][ T4024] do_sys_openat2+0x128/0x3e0 [ 52.531169][ T4024] __arm64_sys_openat+0x1f0/0x240 [ 52.532562][ T4024] invoke_syscall+0x98/0x2b8 [ 52.533786][ T4024] el0_svc_common+0x138/0x258 [ 52.534980][ T4024] do_el0_svc+0x58/0x14c [ 52.536035][ T4024] el0_svc+0x7c/0x1f0 [ 52.537071][ T4024] el0t_64_sync_handler+0x84/0xe4 [ 52.538415][ T4024] el0t_64_sync+0x1a0/0x1a4