INFO: trying to register non-static key. The code is fine but needs lockdep annotation, or maybe you didn't initialize this object before use? turning off the locking correctness validator. CPU: 0 PID: 5782 Comm: syz.2.478 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 assign_lock_key+0x1e0/0x1f0 kernel/locking/lockdep.c:937 register_lock_class+0x20e/0x880 kernel/locking/lockdep.c:1250 __lock_acquire+0x160/0x7c60 kernel/locking/lockdep.c:4891 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xa4/0xf0 kernel/locking/spinlock.c:162 gsmld_write_wakeup+0x6b/0x2b0 drivers/tty/n_gsm.c:2925 tty_wakeup+0xb4/0xf0 drivers/tty/tty_io.c:534 tty_port_default_wakeup+0xa5/0xf0 drivers/tty/tty_port.c:51 tty_ldisc_hangup+0xd6/0x4a0 drivers/tty/tty_ldisc.c:720 __tty_hangup+0x45c/0x680 drivers/tty/tty_io.c:639 tty_vhangup drivers/tty/tty_io.c:711 [inline] tty_ioctl+0x489/0xc20 drivers/tty/tty_io.c:2750 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f23259d49a9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f232383c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2325bfbfa0 RCX: 00007f23259d49a9 RDX: 0200000000000000 RSI: 0000000000005437 RDI: 0000000000000003 RBP: 00007f2325a56d69 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f2325bfbfa0 R15: 00007ffce12e8128