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: 5026 Comm: iou-wrk-5025 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 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 call_write_iter include/linux/fs.h:2172 [inline] io_write io_uring/io_uring.c:3797 [inline] io_issue_sqe+0x2f0a/0xa6a0 io_uring/io_uring.c:6927 io_wq_submit_work+0x1a2/0x4a0 io_uring/io_uring.c:7071 io_worker_handle_work+0x783/0xd10 io_uring/io-wq.c:588 io_wqe_worker+0x378/0xda0 io_uring/io-wq.c:642 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287