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: 4287 Comm: syz.2.53 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call trace: dump_backtrace+0x0/0x43c arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 dump_stack+0x1c/0x5c lib/dump_stack.c:113 assign_lock_key+0x19c/0x1a8 kernel/locking/lockdep.c:937 register_lock_class+0x1ac/0x694 kernel/locking/lockdep.c:1250 __lock_acquire+0x150/0x651c kernel/locking/lockdep.c:4891 lock_acquire+0x1f4/0x620 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xc4/0x14c kernel/locking/spinlock.c:162 gsmld_write_wakeup+0x74/0x2c0 drivers/tty/n_gsm.c:2925 tty_ldisc_hangup+0x154/0x4b4 drivers/tty/tty_ldisc.c:723 __tty_hangup+0x3f0/0x70c drivers/tty/tty_io.c:639 tty_vhangup+0x24/0x34 drivers/tty/tty_io.c:711 pty_close+0x2b8/0x468 drivers/tty/pty.c:79 tty_release+0x33c/0x132c drivers/tty/tty_io.c:1773 __fput+0x1c0/0x7f8 fs/file_table.c:311 ____fput+0x20/0x30 fs/file_table.c:339 task_work_run+0x12c/0x1e0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x24b4/0x3128 arch/arm64/kernel/signal.c:949 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xf0/0x1e0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584