Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: __schedule+0x2543/0x4b30 ===================================== WARNING: bad unlock balance detected! 6.11.0-rc4-next-20240821-syzkaller #0 Not tainted ------------------------------------- syz.2.27/5413 is trying to release lock ((console_sem).lock) at: [] down_trylock+0x57/0xa0 kernel/locking/semaphore.c:143 but there are no more locks to release! other info that might help us debug this: 2 locks held by syz.2.27/5413: #0: ffff888077766098 (&mm->mmap_lock){++++}-{3:3}, at: mmap_write_lock_killable include/linux/mmap_lock.h:122 [inline] #0: ffff888077766098 (&mm->mmap_lock){++++}-{3:3}, at: vm_mmap_pgoff+0x17c/0x3d0 mm/util.c:586 #1: ffff88802d8113a8 (&anon_vma->rwsem){++++}-{3:3}, at: anon_vma_lock_read include/linux/rmap.h:136 [inline] #1: ffff88802d8113a8 (&anon_vma->rwsem){++++}-{3:3}, at: validate_mm+0x2a8/0x550 mm/vma.c:475 stack backtrace: CPU: 0 UID: 0 PID: 5413 Comm: syz.2.27 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 print_unlock_imbalance_bug+0x256/0x2c0 kernel/locking/lockdep.c:5202 __lock_release kernel/locking/lockdep.c:5439 [inline] lock_release+0x5cb/0xa30 kernel/locking/lockdep.c:5783 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:149 [inline] _raw_spin_unlock_irqrestore+0x79/0x140 kernel/locking/spinlock.c:194 down_trylock+0x57/0xa0 kernel/locking/semaphore.c:143 __down_trylock_console_sem+0x109/0x250 kernel/printk/printk.c:323 console_trylock kernel/printk/printk.c:2754 [inline] console_trylock_spinning kernel/printk/printk.c:1958 [inline] vprintk_emit+0x2aa/0x7c0 kernel/printk/printk.c:2347 _printk+0xd5/0x120 kernel/printk/printk.c:2373 panic+0x2e0/0x870 kernel/panic.c:348 CPU: 0 UID: 0 PID: 5413 Comm: syz.2.27 Not tainted 6.11.0-rc4-next-20240821-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120 panic+0x349/0x870 kernel/panic.c:354 Shutting down cpus with NMI Kernel Offset: disabled Rebooting in 86400 seconds..