Warning: Permanently added '10.128.0.102' (ED25519) to the list of known hosts. executing program [ 38.650411][ T4298] loop0: detected capacity change from 0 to 32768 [ 38.657056][ T4298] gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" [ 38.659285][ T4298] gfs2: fsid=syz:syz: Now mounting FS (format 1801)... [ 38.673395][ T4298] gfs2: fsid=syz:syz.0: journal 0 mapped with 4 extents in 0ms [ 38.677726][ T1966] gfs2: fsid=syz:syz.0: jid=0, already locked for use [ 38.679663][ T1966] gfs2: fsid=syz:syz.0: jid=0: Looking at journal... [ 38.705308][ T1966] gfs2: fsid=syz:syz.0: jid=0: Journal head lookup took 25ms [ 38.708936][ T1966] gfs2: fsid=syz:syz.0: jid=0: Done [ 38.710864][ T4298] gfs2: fsid=syz:syz.0: first mount done, others may mount [ 38.869748][ T4298] syz-executor182: attempt to access beyond end of device [ 38.869748][ T4298] loop0: rw=1, sector=16778990, nr_sectors = 2 limit=32768 [ 38.873730][ T4298] gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 [ 38.876251][ T4298] gfs2: fsid=syz:syz.0: fatal: I/O error(s) [ 38.877928][ T4298] gfs2: fsid=syz:syz.0: about to withdraw this file system [ 38.880167][ T4298] BUG: sleeping function called from invalid context at kernel/sched/completion.c:101 [ 38.882814][ T4298] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4298, name: syz-executor182 [ 38.885451][ T4298] preempt_count: 1, expected: 0 [ 38.886802][ T4298] RCU nest depth: 0, expected: 0 [ 38.888119][ T4298] 6 locks held by syz-executor182/4298: [ 38.889591][ T4298] #0: ffff0000d999c460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 38.892225][ T4298] #1: ffff0000e1ab8150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 38.895080][ T4298] #2: ffff0000d999c650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 38.897860][ T4298] #3: ffff0000da939058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 38.900732][ T4298] #4: ffff0000da938e80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 38.903450][ T4298] #5: ffff0000da939248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x430/0x140c [ 38.906595][ T4298] Preemption disabled at: [ 38.906622][ T4298] [] gfs2_flush_revokes+0x50/0x94 [ 38.909823][ T4298] CPU: 1 PID: 4298 Comm: syz-executor182 Not tainted 6.1.131-syzkaller #0 [ 38.912083][ T4298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 38.914864][ T4298] Call trace: [ 38.915771][ T4298] dump_backtrace+0x1c8/0x1f4 [ 38.917042][ T4298] show_stack+0x2c/0x3c [ 38.918130][ T4298] dump_stack_lvl+0x108/0x170 [ 38.919474][ T4298] dump_stack+0x1c/0x58 [ 38.920620][ T4298] __might_resched+0x37c/0x4d8 [ 38.921979][ T4298] __might_sleep+0x90/0xe4 [ 38.923182][ T4298] wait_for_completion+0x24/0x60 [ 38.924552][ T4298] kthread_stop+0x1d8/0x8c0 [ 38.925864][ T4298] gfs2_withdraw+0x49c/0x140c [ 38.927167][ T4298] gfs2_ail1_empty+0x744/0x7d4 [ 38.928409][ T4298] gfs2_flush_revokes+0x5c/0x94 [ 38.929782][ T4298] revoke_lo_before_commit+0x3c/0x640 [ 38.931230][ T4298] gfs2_log_flush+0x884/0x1b20 [ 38.932514][ T4298] gfs2_trans_end+0x2f8/0x4c4 [ 38.933813][ T4298] alloc_dinode+0x33c/0x478 [ 38.935005][ T4298] gfs2_create_inode+0xc58/0x1548 [ 38.936374][ T4298] gfs2_atomic_open+0xd8/0x1c4 [ 38.937650][ T4298] path_openat+0xbf8/0x2548 [ 38.938890][ T4298] do_filp_open+0x1bc/0x3cc [ 38.940165][ T4298] do_sys_openat2+0x128/0x3e0 [ 38.941435][ T4298] __arm64_sys_openat+0x1f0/0x240 [ 38.942844][ T4298] invoke_syscall+0x98/0x2bc [ 38.944069][ T4298] el0_svc_common+0x138/0x258 [ 38.945330][ T4298] do_el0_svc+0x58/0x13c [ 38.946496][ T4298] el0_svc+0x58/0x168 [ 38.947593][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 38.948995][ T4298] el0t_64_sync+0x18c/0x190 [ 38.950504][ T4298] BUG: scheduling while atomic: syz-executor182/4298/0x00000002 [ 38.952615][ T4298] 6 locks held by syz-executor182/4298: [ 38.954122][ T4298] #0: ffff0000d999c460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 38.956775][ T4298] #1: ffff0000e1ab8150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 38.959518][ T4298] #2: ffff0000d999c650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 38.962103][ T4298] #3: ffff0000da939058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 38.964904][ T4298] #4: ffff0000da938e80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 38.967739][ T4298] #5: ffff0000da939248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x430/0x140c [ 38.970468][ T4298] Modules linked in: [ 38.971537][ T4298] Preemption disabled at: [ 38.971547][ T4298] [] gfs2_flush_revokes+0x50/0x94 [ 38.974474][ T4298] CPU: 1 PID: 4298 Comm: syz-executor182 Tainted: G W 6.1.131-syzkaller #0 [ 38.977322][ T4298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 38.980131][ T4298] Call trace: [ 38.980969][ T4298] dump_backtrace+0x1c8/0x1f4 [ 38.982260][ T4298] show_stack+0x2c/0x3c [ 38.983368][ T4298] dump_stack_lvl+0x108/0x170 [ 38.984587][ T4298] dump_stack+0x1c/0x58 [ 38.985724][ T4298] __schedule_bug+0x12c/0x1e0 [ 38.987099][ T4298] __schedule+0xf8c/0x1d44 [ 38.988251][ T4298] schedule+0xc4/0x170 [ 38.989383][ T4298] schedule_timeout+0xb8/0x344 [ 38.990714][ T4298] do_wait_for_common+0x30c/0x468 [ 38.992091][ T4298] wait_for_completion+0x48/0x60 [ 38.993376][ T4298] kthread_stop+0x1d8/0x8c0 [ 38.994584][ T4298] gfs2_withdraw+0x508/0x140c [ 38.995846][ T4298] gfs2_ail1_empty+0x744/0x7d4 [ 38.997119][ T4298] gfs2_flush_revokes+0x5c/0x94 [ 38.998428][ T4298] revoke_lo_before_commit+0x3c/0x640 [ 38.999895][ T4298] gfs2_log_flush+0x884/0x1b20 [ 39.001170][ T4298] gfs2_trans_end+0x2f8/0x4c4 [ 39.002414][ T4298] alloc_dinode+0x33c/0x478 [ 39.003551][ T4298] gfs2_create_inode+0xc58/0x1548 [ 39.004942][ T4298] gfs2_atomic_open+0xd8/0x1c4 [ 39.006229][ T4298] path_openat+0xbf8/0x2548 [ 39.007439][ T4298] do_filp_open+0x1bc/0x3cc [ 39.008648][ T4298] do_sys_openat2+0x128/0x3e0 [ 39.009921][ T4298] __arm64_sys_openat+0x1f0/0x240 [ 39.011287][ T4298] invoke_syscall+0x98/0x2bc [ 39.012597][ T4298] el0_svc_common+0x138/0x258 [ 39.013896][ T4298] do_el0_svc+0x58/0x13c [ 39.015023][ T4298] el0_svc+0x58/0x168 [ 39.016176][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 39.017698][ T4298] el0t_64_sync+0x18c/0x190 [ 44.101843][ T4298] gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount. [ 44.104275][ T4298] gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0 [ 44.106478][ T4298] [ 44.107130][ T4298] ============================= [ 44.108421][ T4298] [ BUG: Invalid wait context ] [ 44.109748][ T4298] 6.1.131-syzkaller #0 Tainted: G W [ 44.111561][ T4298] ----------------------------- [ 44.112758][ T4298] syz-executor182/4298 is trying to lock: [ 44.114255][ T4298] ffff8000184bcc88 (uevent_sock_mutex){+.+.}-{3:3}, at: kobject_uevent_env+0x4d0/0x874 [ 44.116851][ T4298] other info that might help us debug this: [ 44.118407][ T4298] context-{4:4} [ 44.119319][ T4298] 5 locks held by syz-executor182/4298: [ 44.120862][ T4298] #0: ffff0000d999c460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 44.123343][ T4298] #1: ffff0000e1ab8150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 44.126180][ T4298] #2: ffff0000d999c650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 44.128757][ T4298] #3: ffff0000da939058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 44.131589][ T4298] #4: ffff0000da938e80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 44.134288][ T4298] stack backtrace: [ 44.135320][ T4298] CPU: 1 PID: 4298 Comm: syz-executor182 Tainted: G W 6.1.131-syzkaller #0 [ 44.138030][ T4298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 44.140780][ T4298] Call trace: [ 44.141643][ T4298] dump_backtrace+0x1c8/0x1f4 [ 44.142899][ T4298] show_stack+0x2c/0x3c [ 44.144051][ T4298] dump_stack_lvl+0x108/0x170 [ 44.145319][ T4298] dump_stack+0x1c/0x58 [ 44.146414][ T4298] __lock_acquire+0x1b14/0x7680 [ 44.147712][ T4298] lock_acquire+0x26c/0x7cc [ 44.148935][ T4298] __mutex_lock_common+0x190/0x21a0 [ 44.150325][ T4298] mutex_lock_nested+0x38/0x44 [ 44.151666][ T4298] kobject_uevent_env+0x4d0/0x874 [ 44.153083][ T4298] kobject_uevent+0x2c/0x3c [ 44.154352][ T4298] gfs2_withdraw+0xcfc/0x140c [ 44.155636][ T4298] gfs2_ail1_empty+0x744/0x7d4 [ 44.156976][ T4298] gfs2_flush_revokes+0x5c/0x94 [ 44.158270][ T4298] revoke_lo_before_commit+0x3c/0x640 [ 44.159728][ T4298] gfs2_log_flush+0x884/0x1b20 [ 44.161007][ T4298] gfs2_trans_end+0x2f8/0x4c4 [ 44.162253][ T4298] alloc_dinode+0x33c/0x478 [ 44.163466][ T4298] gfs2_create_inode+0xc58/0x1548 [ 44.164817][ T4298] gfs2_atomic_open+0xd8/0x1c4 [ 44.166125][ T4298] path_openat+0xbf8/0x2548 [ 44.167361][ T4298] do_filp_open+0x1bc/0x3cc [ 44.168588][ T4298] do_sys_openat2+0x128/0x3e0 [ 44.169805][ T4298] __arm64_sys_openat+0x1f0/0x240 [ 44.171161][ T4298] invoke_syscall+0x98/0x2bc [ 44.172399][ T4298] el0_svc_common+0x138/0x258 [ 44.173676][ T4298] do_el0_svc+0x58/0x13c [ 44.174805][ T4298] el0_svc+0x58/0x168 [ 44.175892][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 44.177296][ T4298] el0t_64_sync+0x18c/0x190 [ 44.180424][ T4298] gfs2: fsid=syz:syz.0: File system withdrawn [ 44.182093][ T4298] CPU: 1 PID: 4298 Comm: syz-executor182 Tainted: G W 6.1.131-syzkaller #0 [ 44.184801][ T4298] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 44.187496][ T4298] Call trace: [ 44.188416][ T4298] dump_backtrace+0x1c8/0x1f4 [ 44.189701][ T4298] show_stack+0x2c/0x3c [ 44.190843][ T4298] dump_stack_lvl+0x108/0x170 [ 44.192086][ T4298] dump_stack+0x1c/0x58 [ 44.193152][ T4298] gfs2_withdraw+0xdcc/0x140c [ 44.194533][ T4298] gfs2_ail1_empty+0x744/0x7d4 [ 44.195835][ T4298] gfs2_flush_revokes+0x5c/0x94 [ 44.197148][ T4298] revoke_lo_before_commit+0x3c/0x640 [ 44.198574][ T4298] gfs2_log_flush+0x884/0x1b20 [ 44.199905][ T4298] gfs2_trans_end+0x2f8/0x4c4 [ 44.201190][ T4298] alloc_dinode+0x33c/0x478 [ 44.202407][ T4298] gfs2_create_inode+0xc58/0x1548 [ 44.203710][ T4298] gfs2_atomic_open+0xd8/0x1c4 [ 44.205004][ T4298] path_openat+0xbf8/0x2548 [ 44.206185][ T4298] do_filp_open+0x1bc/0x3cc [ 44.207424][ T4298] do_sys_openat2+0x128/0x3e0 [ 44.208691][ T4298] __arm64_sys_openat+0x1f0/0x240 [ 44.210097][ T4298] invoke_syscall+0x98/0x2bc [ 44.211321][ T4298] el0_svc_common+0x138/0x258 [ 44.212591][ T4298] do_el0_svc+0x58/0x13c [ 44.213761][ T4298] el0_svc+0x58/0x168 [ 44.214782][ T4298] el0t_64_sync_handler+0x84/0xf0 [ 44.216077][ T4298] el0t_64_sync+0x18c/0x190