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: 4227 Comm: kworker/1:3 Not tainted 5.15.189-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Workqueue: events p9_write_work 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+0x57/0x120 drivers/tty/n_gsm.c:2983 do_tty_write drivers/tty/tty_io.c:1038 [inline] file_tty_write+0x557/0x910 drivers/tty/tty_io.c:1110 __kernel_write+0x4f9/0x930 fs/read_write.c:539 kernel_write+0xcd/0x1f0 fs/read_write.c:568 p9_fd_write net/9p/trans_fd.c:436 [inline] p9_write_work+0x510/0xcc0 net/9p/trans_fd.c:487 process_one_work+0x863/0x1000 kernel/workqueue.c:2310 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457 kthread+0x436/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287