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: 1 PID: 5464 Comm: syz.3.298 Not tainted 5.15.174-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 assign_lock_key+0x21e/0x230 kernel/locking/lockdep.c:937 register_lock_class+0x28a/0x9a0 kernel/locking/lockdep.c:1250 __lock_acquire+0xd7/0x1ff0 kernel/locking/lockdep.c:4891 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 gsmld_write_wakeup+0x69/0x2e0 drivers/tty/n_gsm.c:2925 tty_wakeup+0xb3/0xf0 drivers/tty/tty_io.c:534 tty_port_default_wakeup+0xa8/0x100 drivers/tty/tty_port.c:51 tty_ldisc_hangup+0xd6/0x4b0 drivers/tty/tty_ldisc.c:720 __tty_hangup+0x47a/0x6b0 drivers/tty/tty_io.c:639 tty_vhangup drivers/tty/tty_io.c:711 [inline] tty_ioctl+0x608/0xc50 drivers/tty/tty_io.c:2750 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xf1/0x160 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fbf8e82ad19 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:00007fbf8c659038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fbf8ea1b160 RCX: 00007fbf8e82ad19 RDX: 0000000000000000 RSI: 0000000000005437 RDI: 0000000000000003 RBP: 00007fbf8e8a6a20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbf8ea1b160 R15: 00007ffcdcfc6098