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: 3128 Comm: kworker/1:4 Not tainted 6.0.0-rc3-syzkaller-16800-g85413d1e802e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 Workqueue: events p9_write_work Call trace: dump_backtrace+0x1b0/0x1dc arch/arm64/kernel/stacktrace.c:182 show_stack+0x2c/0x64 arch/arm64/kernel/stacktrace.c:189 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 assign_lock_key+0x134/0x140 kernel/locking/lockdep.c:979 register_lock_class+0xc4/0x2f8 kernel/locking/lockdep.c:1292 __lock_acquire+0xa8/0x30a4 kernel/locking/lockdep.c:4932 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5666 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162 gsmld_write+0x3c/0xe4 drivers/tty/n_gsm.c:3023 do_tty_write drivers/tty/tty_io.c:1024 [inline] file_tty_write+0x29c/0x484 drivers/tty/tty_io.c:1095 tty_write+0x2c/0x3c drivers/tty/tty_io.c:1116 __kernel_write+0x128/0x2cc fs/read_write.c:523 kernel_write+0xc0/0x168 fs/read_write.c:552 p9_fd_write net/9p/trans_fd.c:429 [inline] p9_write_work+0x1ec/0x578 net/9p/trans_fd.c:480 process_one_work+0x2d8/0x504 kernel/workqueue.c:2289 worker_thread+0x340/0x610 kernel/workqueue.c:2436 kthread+0x12c/0x158 kernel/kthread.c:376 ret_from_fork+0x10/0x20