================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/u9:3/5620 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807c0fa260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff88807c0fa260 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 lock_sock_nested+0x41/0x100 net/core/sock.c:3827 lock_sock include/net/sock.h:1713 [inline] x25_accept+0xfa/0x8a0 net/x25/af_x25.c:885 do_accept+0x521/0x750 net/socket.c:2059 __sys_accept4_file net/socket.c:2093 [inline] __sys_accept4+0x139/0x230 net/socket.c:2115 __do_sys_accept4 net/socket.c:2122 [inline] __se_sys_accept4 net/socket.c:2119 [inline] __x64_sys_accept4+0x9a/0xb0 net/socket.c:2119 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 39928 hardirqs last enabled at (39928): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (39927): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (39846): [] spin_unlock_bh include/linux/spinlock.h:407 [inline] softirqs last enabled at (39846): [] rxrpc_peer_keepalive_dispatch net/rxrpc/peer_event.c:310 [inline] softirqs last enabled at (39846): [] rxrpc_peer_keepalive_worker+0xbe4/0xe80 net/rxrpc/peer_event.c:356 softirqs last disabled at (39861): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (39861): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (39861): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25); lock(sk_lock-AF_X25); *** DEADLOCK *** locks held by kworker/u9:3/5620: 4, last CPU#0: #0: ffff88801244f140 ((wq_completion)hci6#2){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88801244f140 ((wq_completion)hci6#2){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88801244f140 ((wq_completion)hci6#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline] #0: ffff88801244f140 ((wq_completion)hci6#2){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479 #1: ffffc90003a97c40 ((work_completion)(&(&hdev->cmd_timer)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90003a97c40 ((work_completion)(&(&hdev->cmd_timer)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90003a97c40 ((work_completion)(&(&hdev->cmd_timer)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline] #1: ffffc90003a97c40 ((work_completion)(&(&hdev->cmd_timer)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479 #2: ffffffff8ec36638 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:314 [inline] #2: ffffffff8ec36638 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:439 [inline] #2: ffffffff8ec36638 (console_srcu){....}-{0:0}, at: console_srcu_read_lock+0x30/0x60 kernel/printk/printk.c:291 #3: ffffffff8ed5ca60 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff8ed5ca60 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: ffffffff8ed5ca60 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6288 stack backtrace: CPU: 0 UID: 0 PID: 5620 Comm: kworker/u9:3 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: hci6 hci_cmd_timeout Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4058 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4072 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4283 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4769 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x6b7/0x2e50 kernel/locking/lockdep.c:5208 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5908 lock_sock_nested+0x41/0x100 net/core/sock.c:3827 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6264 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6289 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7787 napi_poll net/core/dev.c:7850 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8007 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 irq_exit_rcu+0x9/0x30 kernel/softirq.c:784 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:710 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:37 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:139 [inline] RIP: 0010:wrmsrq arch/x86/include/asm/msr.h:199 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 10 0f 70 0a cc 89 f6 31 d2 e9 46 89 a5 03 66 0f 1f 44 00 RSP: 0018:ffffc90003a976a8 EFLAGS: 00000246 RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f RBP: ffffc90003a97770 R08: ffffc90003a97707 R09: 1ffff92000752ee0 R10: dffffc0000000000 R11: fffff52000752ee1 R12: ffffffff8f68db01 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880b8632030 __apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline] arch_irq_work_raise+0x6d/0x80 arch/x86/kernel/irq_work.c:31 irq_work_raise kernel/irq_work.c:84 [inline] __irq_work_queue_local+0x1f9/0x4f0 kernel/irq_work.c:112 irq_work_queue+0x99/0x150 kernel/irq_work.c:124 nbcon_kthreads_wake+0x12a/0x210 kernel/printk/nbcon.c:1339 vprintk_emit+0x1e4/0x560 kernel/printk/printk.c:2461 _printk+0xdd/0x130 kernel/printk/printk.c:2504 bt_err+0x121/0x180 net/bluetooth/lib.c:293 hci_cmd_timeout+0xd8/0x1e0 net/bluetooth/hci_core.c:1433 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 BUG: sleeping function called from invalid context at net/core/sock.c:3829 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5620, name: kworker/u9:3 preempt_count: 101, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] irq_work_queue+0x91/0x150 kernel/irq_work.c:123 CPU: 0 UID: 0 PID: 5620 Comm: kworker/u9:3 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: hci6 hci_cmd_timeout Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9236 lock_sock_nested+0x56/0x100 net/core/sock.c:3829 lock_sock include/net/sock.h:1713 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1778 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6264 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6289 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7787 napi_poll net/core/dev.c:7850 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8007 handle_softirqs+0x226/0x860 kernel/softirq.c:645 __do_softirq kernel/softirq.c:679 [inline] invoke_softirq kernel/softirq.c:519 [inline] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:767 irq_exit_rcu+0x9/0x30 kernel/softirq.c:784 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline] sysvec_irq_work+0xa3/0xc0 arch/x86/kernel/irq_work.c:17 asm_sysvec_irq_work+0x1a/0x20 arch/x86/include/asm/idtentry.h:710 RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:37 [inline] RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:139 [inline] RIP: 0010:wrmsrq arch/x86/include/asm/msr.h:199 [inline] RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:208 Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 e9 10 0f 70 0a cc 89 f6 31 d2 e9 46 89 a5 03 66 0f 1f 44 00 RSP: 0018:ffffc90003a976a8 EFLAGS: 00000246 RAX: 00000000000000f6 RBX: 0000000000000200 RCX: 000000000000083f RDX: 0000000000000000 RSI: 00000000000000f6 RDI: 000000000000083f RBP: ffffc90003a97770 R08: ffffc90003a97707 R09: 1ffff92000752ee0 R10: dffffc0000000000 R11: fffff52000752ee1 R12: ffffffff8f68db01 R13: 0000000000000000 R14: 0000000000000000 R15: ffff8880b8632030 __apic_send_IPI_self arch/x86/include/asm/apic.h:455 [inline] arch_irq_work_raise+0x6d/0x80 arch/x86/kernel/irq_work.c:31 irq_work_raise kernel/irq_work.c:84 [inline] __irq_work_queue_local+0x1f9/0x4f0 kernel/irq_work.c:112 irq_work_queue+0x99/0x150 kernel/irq_work.c:124 nbcon_kthreads_wake+0x12a/0x210 kernel/printk/nbcon.c:1339 vprintk_emit+0x1e4/0x560 kernel/printk/printk.c:2461 _printk+0xdd/0x130 kernel/printk/printk.c:2504 bt_err+0x121/0x180 net/bluetooth/lib.c:293 hci_cmd_timeout+0xd8/0x1e0 net/bluetooth/hci_core.c:1433 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ---------------- Code disassembly (best guess): 0: 74 2a je 0x2c 2: 83 ff 30 cmp $0x30,%edi 5: 74 25 je 0x2c 7: eb 10 jmp 0x19 9: 81 ff d0 00 00 00 cmp $0xd0,%edi f: 74 1b je 0x2c 11: 81 ff e0 00 00 00 cmp $0xe0,%edi 17: 74 13 je 0x2c 19: c1 ef 04 shr $0x4,%edi 1c: 81 c7 00 08 00 00 add $0x800,%edi 22: 89 f9 mov %edi,%ecx 24: 89 f0 mov %esi,%eax 26: 31 d2 xor %edx,%edx 28: 0f 30 wrmsr * 2a: 66 90 xchg %ax,%ax <-- trapping instruction 2c: e9 10 0f 70 0a jmp 0xa700f41 31: cc int3 32: 89 f6 mov %esi,%esi 34: 31 d2 xor %edx,%edx 36: e9 46 89 a5 03 jmp 0x3a58981 3b: 66 data16 3c: 0f .byte 0xf 3d: 1f (bad) 3e: 44 rex.R