Warning: Permanently added '10.128.0.13' (ED25519) to the list of known hosts. executing program [ 36.511045][ T4290] loop0: detected capacity change from 0 to 32768 [ 36.517143][ T4290] gfs2: fsid=syz:syz: Trying to join cluster "lock_nolock", "syz:syz" [ 36.519344][ T4290] gfs2: fsid=syz:syz: Now mounting FS (format 1801)... [ 36.533586][ T4290] gfs2: fsid=syz:syz.0: journal 0 mapped with 4 extents in 0ms [ 36.537306][ T1606] gfs2: fsid=syz:syz.0: jid=0, already locked for use [ 36.539165][ T1606] gfs2: fsid=syz:syz.0: jid=0: Looking at journal... [ 36.561386][ T1606] gfs2: fsid=syz:syz.0: jid=0: Journal head lookup took 22ms [ 36.563731][ T1606] gfs2: fsid=syz:syz.0: jid=0: Done [ 36.565437][ T4290] gfs2: fsid=syz:syz.0: first mount done, others may mount [ 36.722482][ T4290] syz-executor166: attempt to access beyond end of device [ 36.722482][ T4290] loop0: rw=1, sector=16778990, nr_sectors = 2 limit=32768 [ 36.726462][ T4290] gfs2: fsid=syz:syz.0: Error 10 writing to journal, jid=0 [ 36.728966][ T4290] gfs2: fsid=syz:syz.0: fatal: I/O error(s) [ 36.730595][ T4290] gfs2: fsid=syz:syz.0: about to withdraw this file system [ 36.732920][ T4290] BUG: sleeping function called from invalid context at kernel/sched/completion.c:101 [ 36.735570][ T4290] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 4290, name: syz-executor166 [ 36.737973][ T4290] preempt_count: 1, expected: 0 [ 36.739233][ T4290] RCU nest depth: 0, expected: 0 [ 36.740516][ T4290] 6 locks held by syz-executor166/4290: [ 36.742129][ T4290] #0: ffff0000d960e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 36.744521][ T4290] #1: ffff0000d7ac0150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 36.747356][ T4290] #2: ffff0000d960e650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 36.749871][ T4290] #3: ffff0000d895d058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 36.752814][ T4290] #4: ffff0000d895ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 36.755462][ T4290] #5: ffff0000d895d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x430/0x140c [ 36.758323][ T4290] Preemption disabled at: [ 36.758334][ T4290] [] gfs2_flush_revokes+0x50/0x94 [ 36.761187][ T4290] CPU: 0 PID: 4290 Comm: syz-executor166 Not tainted 6.1.131-syzkaller #0 [ 36.763482][ T4290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 36.766093][ T4290] Call trace: [ 36.766900][ T4290] dump_backtrace+0x1c8/0x1f4 [ 36.768229][ T4290] show_stack+0x2c/0x3c [ 36.769364][ T4290] dump_stack_lvl+0x108/0x170 [ 36.770636][ T4290] dump_stack+0x1c/0x58 [ 36.771754][ T4290] __might_resched+0x37c/0x4d8 [ 36.773047][ T4290] __might_sleep+0x90/0xe4 [ 36.774230][ T4290] wait_for_completion+0x24/0x60 [ 36.775602][ T4290] kthread_stop+0x1d8/0x8c0 [ 36.776807][ T4290] gfs2_withdraw+0x49c/0x140c [ 36.778054][ T4290] gfs2_ail1_empty+0x744/0x7d4 [ 36.779333][ T4290] gfs2_flush_revokes+0x5c/0x94 [ 36.780649][ T4290] revoke_lo_before_commit+0x3c/0x640 [ 36.782133][ T4290] gfs2_log_flush+0x884/0x1b20 [ 36.783446][ T4290] gfs2_trans_end+0x2f8/0x4c4 [ 36.784679][ T4290] alloc_dinode+0x33c/0x478 [ 36.785885][ T4290] gfs2_create_inode+0xc58/0x1548 [ 36.787195][ T4290] gfs2_atomic_open+0xd8/0x1c4 [ 36.788513][ T4290] path_openat+0xbf8/0x2548 [ 36.789783][ T4290] do_filp_open+0x1bc/0x3cc [ 36.791001][ T4290] do_sys_openat2+0x128/0x3e0 [ 36.792253][ T4290] __arm64_sys_openat+0x1f0/0x240 [ 36.793553][ T4290] invoke_syscall+0x98/0x2bc [ 36.794823][ T4290] el0_svc_common+0x138/0x258 [ 36.796108][ T4290] do_el0_svc+0x58/0x13c [ 36.797265][ T4290] el0_svc+0x58/0x168 [ 36.798340][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 36.799678][ T4290] el0t_64_sync+0x18c/0x190 [ 36.801004][ T4290] BUG: scheduling while atomic: syz-executor166/4290/0x00000002 [ 36.803160][ T4290] 6 locks held by syz-executor166/4290: [ 36.804611][ T4290] #0: ffff0000d960e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 36.807029][ T4290] #1: ffff0000d7ac0150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 36.809795][ T4290] #2: ffff0000d960e650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 36.812426][ T4290] #3: ffff0000d895d058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 36.815220][ T4290] #4: ffff0000d895ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 36.817815][ T4290] #5: ffff0000d895d248 (&sdp->sd_freeze_mutex){+.+.}-{3:3}, at: gfs2_withdraw+0x430/0x140c [ 36.820464][ T4290] Modules linked in: [ 36.821575][ T4290] Preemption disabled at: [ 36.821585][ T4290] [] gfs2_flush_revokes+0x50/0x94 [ 36.824323][ T4290] CPU: 0 PID: 4290 Comm: syz-executor166 Tainted: G W 6.1.131-syzkaller #0 [ 36.826872][ T4290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 36.829507][ T4290] Call trace: [ 36.830421][ T4290] dump_backtrace+0x1c8/0x1f4 [ 36.831599][ T4290] show_stack+0x2c/0x3c [ 36.832697][ T4290] dump_stack_lvl+0x108/0x170 [ 36.833942][ T4290] dump_stack+0x1c/0x58 [ 36.835111][ T4290] __schedule_bug+0x12c/0x1e0 [ 36.836361][ T4290] __schedule+0xf8c/0x1d44 [ 36.837513][ T4290] schedule+0xc4/0x170 [ 36.838572][ T4290] schedule_timeout+0xb8/0x344 [ 36.839836][ T4290] do_wait_for_common+0x30c/0x468 [ 36.841164][ T4290] wait_for_completion+0x48/0x60 [ 36.842538][ T4290] kthread_stop+0x1d8/0x8c0 [ 36.843751][ T4290] gfs2_withdraw+0x508/0x140c [ 36.845008][ T4290] gfs2_ail1_empty+0x744/0x7d4 [ 36.846267][ T4290] gfs2_flush_revokes+0x5c/0x94 [ 36.847601][ T4290] revoke_lo_before_commit+0x3c/0x640 [ 36.849130][ T4290] gfs2_log_flush+0x884/0x1b20 [ 36.850394][ T4290] gfs2_trans_end+0x2f8/0x4c4 [ 36.851637][ T4290] alloc_dinode+0x33c/0x478 [ 36.852875][ T4290] gfs2_create_inode+0xc58/0x1548 [ 36.854277][ T4290] gfs2_atomic_open+0xd8/0x1c4 [ 36.855600][ T4290] path_openat+0xbf8/0x2548 [ 36.856819][ T4290] do_filp_open+0x1bc/0x3cc [ 36.858107][ T4290] do_sys_openat2+0x128/0x3e0 [ 36.859294][ T4290] __arm64_sys_openat+0x1f0/0x240 [ 36.860628][ T4290] invoke_syscall+0x98/0x2bc [ 36.861871][ T4290] el0_svc_common+0x138/0x258 [ 36.863106][ T4290] do_el0_svc+0x58/0x13c [ 36.864281][ T4290] el0_svc+0x58/0x168 [ 36.865395][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 36.866703][ T4290] el0t_64_sync+0x18c/0x190 [ 41.877935][ T4290] gfs2: fsid=syz:syz.0: Journal recovery skipped for jid 0 until next mount. [ 41.880339][ T4290] gfs2: fsid=syz:syz.0: Glock dequeues delayed: 0 [ 41.882567][ T4290] [ 41.883158][ T4290] ============================= [ 41.884436][ T4290] [ BUG: Invalid wait context ] [ 41.885654][ T4290] 6.1.131-syzkaller #0 Tainted: G W [ 41.887370][ T4290] ----------------------------- [ 41.888620][ T4290] syz-executor166/4290 is trying to lock: [ 41.890047][ T4290] ffff8000184bcc88 (uevent_sock_mutex){+.+.}-{3:3}, at: kobject_uevent_env+0x4d0/0x874 [ 41.892733][ T4290] other info that might help us debug this: [ 41.894360][ T4290] context-{4:4} [ 41.895329][ T4290] 5 locks held by syz-executor166/4290: [ 41.896862][ T4290] #0: ffff0000d960e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 41.899435][ T4290] #1: ffff0000d7ac0150 (&type->i_mutex_dir_key#6){+.+.}-{3:3}, at: path_openat+0x5ec/0x2548 [ 41.902336][ T4290] #2: ffff0000d960e650 (sb_internal#2){.+.+}-{0:0}, at: gfs2_trans_begin+0xa8/0x11c [ 41.905103][ T4290] #3: ffff0000d895d058 (&sdp->sd_log_flush_lock){++++}-{3:3}, at: gfs2_log_flush+0xb4/0x1b20 [ 41.907944][ T4290] #4: ffff0000d895ce80 (&sdp->sd_log_lock){+.+.}-{2:2}, at: gfs2_flush_revokes+0x50/0x94 [ 41.910724][ T4290] stack backtrace: [ 41.911697][ T4290] CPU: 0 PID: 4290 Comm: syz-executor166 Tainted: G W 6.1.131-syzkaller #0 [ 41.914439][ T4290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 41.917185][ T4290] Call trace: [ 41.918092][ T4290] dump_backtrace+0x1c8/0x1f4 [ 41.919393][ T4290] show_stack+0x2c/0x3c [ 41.920552][ T4290] dump_stack_lvl+0x108/0x170 [ 41.921853][ T4290] dump_stack+0x1c/0x58 [ 41.922957][ T4290] __lock_acquire+0x1b14/0x7680 [ 41.924236][ T4290] lock_acquire+0x26c/0x7cc [ 41.925458][ T4290] __mutex_lock_common+0x190/0x21a0 [ 41.926869][ T4290] mutex_lock_nested+0x38/0x44 [ 41.928169][ T4290] kobject_uevent_env+0x4d0/0x874 [ 41.929521][ T4290] kobject_uevent+0x2c/0x3c [ 41.930767][ T4290] gfs2_withdraw+0xcfc/0x140c [ 41.932035][ T4290] gfs2_ail1_empty+0x744/0x7d4 [ 41.933363][ T4290] gfs2_flush_revokes+0x5c/0x94 [ 41.934682][ T4290] revoke_lo_before_commit+0x3c/0x640 [ 41.936179][ T4290] gfs2_log_flush+0x884/0x1b20 [ 41.937622][ T4290] gfs2_trans_end+0x2f8/0x4c4 [ 41.938871][ T4290] alloc_dinode+0x33c/0x478 [ 41.940077][ T4290] gfs2_create_inode+0xc58/0x1548 [ 41.941429][ T4290] gfs2_atomic_open+0xd8/0x1c4 [ 41.942709][ T4290] path_openat+0xbf8/0x2548 [ 41.943930][ T4290] do_filp_open+0x1bc/0x3cc [ 41.945156][ T4290] do_sys_openat2+0x128/0x3e0 [ 41.946380][ T4290] __arm64_sys_openat+0x1f0/0x240 [ 41.947760][ T4290] invoke_syscall+0x98/0x2bc [ 41.949028][ T4290] el0_svc_common+0x138/0x258 [ 41.950264][ T4290] do_el0_svc+0x58/0x13c [ 41.951386][ T4290] el0_svc+0x58/0x168 [ 41.952473][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 41.953773][ T4290] el0t_64_sync+0x18c/0x190 [ 41.956970][ T4290] gfs2: fsid=syz:syz.0: File system withdrawn [ 41.958557][ T4290] CPU: 0 PID: 4290 Comm: syz-executor166 Tainted: G W 6.1.131-syzkaller #0 [ 41.961101][ T4290] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 41.963699][ T4290] Call trace: [ 41.964540][ T4290] dump_backtrace+0x1c8/0x1f4 [ 41.965740][ T4290] show_stack+0x2c/0x3c [ 41.966829][ T4290] dump_stack_lvl+0x108/0x170 [ 41.968107][ T4290] dump_stack+0x1c/0x58 [ 41.969185][ T4290] gfs2_withdraw+0xdcc/0x140c [ 41.970430][ T4290] gfs2_ail1_empty+0x744/0x7d4 [ 41.971663][ T4290] gfs2_flush_revokes+0x5c/0x94 [ 41.972963][ T4290] revoke_lo_before_commit+0x3c/0x640 [ 41.974402][ T4290] gfs2_log_flush+0x884/0x1b20 [ 41.975707][ T4290] gfs2_trans_end+0x2f8/0x4c4 [ 41.977051][ T4290] alloc_dinode+0x33c/0x478 [ 41.978281][ T4290] gfs2_create_inode+0xc58/0x1548 [ 41.979580][ T4290] gfs2_atomic_open+0xd8/0x1c4 [ 41.980838][ T4290] path_openat+0xbf8/0x2548 [ 41.982103][ T4290] do_filp_open+0x1bc/0x3cc [ 41.983336][ T4290] do_sys_openat2+0x128/0x3e0 [ 41.984641][ T4290] __arm64_sys_openat+0x1f0/0x240 [ 41.985981][ T4290] invoke_syscall+0x98/0x2bc [ 41.987283][ T4290] el0_svc_common+0x138/0x258 [ 41.988551][ T4290] do_el0_svc+0x58/0x13c [ 41.989745][ T4290] el0_svc+0x58/0x168 [ 41.990794][ T4290] el0t_64_sync_handler+0x84/0xf0 [ 41.992281][ T4290] el0t_64_sync+0x18c/0x190