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: 4828 Comm: getty Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 assign_lock_key+0x1ec/0x200 kernel/locking/lockdep.c:937 register_lock_class+0x21d/0x880 kernel/locking/lockdep.c:1250 __lock_acquire+0x16f/0x7b50 kernel/locking/lockdep.c:4891 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xb0/0x100 kernel/locking/spinlock.c:162 gsmld_write+0x57/0x120 drivers/tty/n_gsm.c:3138 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x50c/0x8a0 drivers/tty/tty_io.c:1110 call_write_iter include/linux/fs.h:2173 [inline] new_sync_write fs/read_write.c:507 [inline] vfs_write+0x748/0xd70 fs/read_write.c:594 ksys_write+0x153/0x260 fs/read_write.c:647 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:0x7f628730c407 Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff RSP: 002b:00007ffe9073aa30 EFLAGS: 00000202 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f62871bcc80 RCX: 00007f628730c407 RDX: 0000000000000002 RSI: 000055821d9b9c50 RDI: 0000000000000001 RBP: 000055821d9b9c50 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000002 R13: 00007f62874575c0 R14: 00007f6287454ea0 R15: 0000000000000002