================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/0/14 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888021556120 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1744 [inline] (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x109/0x250 net/x25/af_x25.c:1779 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737 lock_sock_nested+0x44/0x100 net/core/sock.c:3258 lock_sock include/net/sock.h:1744 [inline] x25_bind+0x18a/0x3b0 net/x25/af_x25.c:698 __sys_bind+0x2e9/0x3e0 net/socket.c:1730 __do_sys_bind net/socket.c:1741 [inline] __se_sys_bind net/socket.c:1739 [inline] __x64_sys_bind+0x76/0x80 net/socket.c:1739 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 irq event stamp: 1132550 hardirqs last enabled at (1132550): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:406 hardirqs last disabled at (1132549): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:383 softirqs last enabled at (1132514): [] run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 softirqs last disabled at (1132519): [] run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25 ); lock(sk_lock-AF_X25); *** DEADLOCK *** 1 lock held by ksoftirqd/0/14: #0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 stack backtrace: CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3999 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4202 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4664 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xd77/0x7d40 kernel/locking/lockdep.c:5074 lock_acquire+0x19f/0x400 kernel/locking/lockdep.c:5737 lock_sock_nested+0x44/0x100 net/core/sock.c:3258 lock_sock include/net/sock.h:1744 [inline] x25_kill_by_neigh+0x109/0x250 net/x25/af_x25.c:1779 x25_lapb_receive_frame+0x19d/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5552 [inline] netif_receive_skb_core+0x149/0x210 net/core/dev.c:5577 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x430 net/core/dev.c:7102 napi_poll net/core/dev.c:7169 [inline] net_rx_action+0x522/0xa80 net/core/dev.c:7259 handle_softirqs+0x336/0x830 kernel/softirq.c:576 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 smpboot_thread_fn+0x520/0x990 kernel/smpboot.c:164 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) BUG: sleeping function called from invalid context at net/core/sock.c:3260 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 14, name: ksoftirqd/0 INFO: lockdep is turned off. Preemption disabled at: [] softirq_handle_begin kernel/softirq.c:414 [inline] [] handle_softirqs+0xfd/0x830 kernel/softirq.c:552 CPU: 0 PID: 14 Comm: ksoftirqd/0 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 ___might_sleep+0x493/0x610 kernel/sched/core.c:9658 lock_sock_nested+0x5b/0x100 net/core/sock.c:3260 lock_sock include/net/sock.h:1744 [inline] x25_kill_by_neigh+0x109/0x250 net/x25/af_x25.c:1779 x25_lapb_receive_frame+0x19d/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5552 [inline] netif_receive_skb_core+0x149/0x210 net/core/dev.c:5577 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x430 net/core/dev.c:7102 napi_poll net/core/dev.c:7169 [inline] net_rx_action+0x522/0xa80 net/core/dev.c:7259 handle_softirqs+0x336/0x830 kernel/softirq.c:576 run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 smpboot_thread_fn+0x520/0x990 kernel/smpboot.c:164 kthread+0x42e/0x520 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) No more buffers in queue Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0800 len 52 type 0 Receiving skb proto 0x0806 len 28 type 1 No more buffers in queue tcp_in_window: START tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515434 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515434 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=3106515435 maxend=3109660266 maxwin=3144576 receiver end=2438335473 maxend=2441479617 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=3 new=4 tcp_in_window: START tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: virtqueue callback for ffff888147e66f00 (ffffffff854eb430) seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=3106515435 maxend=3109660266 maxwin=3144576 receiver end=2438335473 maxend=2441479617 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=4 new=6 tcp_in_window: START tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=3106515435 maxend=3109660266 maxwin=3144576 receiver end=2438335473 maxend=2441479617 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=6 new=6 tcp_in_window: START tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: seq=3106515434 ack=2438335041+(0) sack=2438335041+(0) win=24567 end=3106515435 tcp_in_window: sender end=3106515435 maxend=3109660266 maxwin=3144576 scale=7 receiver end=2438335473 maxend=2441479617 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=3106515435 maxend=3109660266 maxwin=3144576 receiver end=2438335473 maxend=2441479617 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=6 new=6 No more buffers in queue eth0: xmit ffff888066af1780 42:01:0a:80:00:01 Added buffer head 5 to ffff888023ddf000 virtqueue callback for ffff888023ddf000 (ffffffff854eb520) virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888147e66f00 (ffffffff854eb430) virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) nf_conntrack: new packet for ffff888052ab0300 tcp_in_window: START tcp_in_window: seq=4294967295 ack=0+(0) sack=0+(0) win=507 end=4294967295 tcp_in_window: sender end=4294967295 maxend=506 maxwin=507 scale=0 receiver end=0 maxend=507 maxwin=0 scale=0 tcp_in_window: seq=4294967295 ack=0+(0) sack=0+(0) win=507 end=4294967295 tcp_in_window: sender end=4294967295 maxend=506 maxwin=507 scale=0 receiver end=0 maxend=507 maxwin=0 scale=0 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=4294967295 maxend=506 maxwin=507 receiver end=0 maxend=507 maxwin=0 tcp_conntracks: syn=0 ack=1 fin=0 rst=0 old=3 new=3 nf_nat: Already setup manip DST for ct ffff888052ab0300 (status bits 0x188) nf_nat: Already setup manip SRC for ct ffff888052ab0300 (status bits 0x188) Sent skb ffff888066af1780 No more buffers in queue No more buffers in queue Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 Receiving skb proto 0x0800 len 40 type 0 No more buffers in queue tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=7 new=8 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 virtqueue callback for ffff888147e66f00 (ffffffff854eb430) tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 No more buffers in queue Receiving skb proto 0x0800 len 40 type 0 No more buffers in queue tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=8 new=8 virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 wireguard: wg1: Handshake for peer 51 ([::1]:20001/0%0) did not complete after 5 seconds, retrying (try 12) wireguard: wg0: Receiving keepalive packet from peer 62 ([::1]:20003/0%0) wireguard: wg1: Receiving keepalive packet from peer 63 ([::1]:20001/0%0) virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 wireguard: wg2: Sending keepalive packet to peer 53 ([::1]:20001/0%0) virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffffffff9750be98 is addr:fe80::3010:aea:e520:bec4 for cmd:0 at entry:ffff888062fd5c00 sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffffffff9750be98 is addr:169.254.181.206 for cmd:0 at entry:ffff8880666ef700 virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 rdma_rxe: qp#1 state = GET_REQ rdma_rxe: qp#1 state = CHK_PSN rdma_rxe: qp#1 state = CHK_OP_SEQ rdma_rxe: qp#1 state = CHK_OP_VALID rdma_rxe: qp#1 state = CHK_RESOURCE rdma_rxe: qp#1 state = CHK_LENGTH rdma_rxe: qp#1 state = CHK_RKEY rdma_rxe: qp#1 state = EXECUTE rdma_rxe: qp#1 state = COMPLETE rdma_rxe: qp#1 state = CLEANUP rdma_rxe: qp#1 state = DONE rdma_rxe: qp#1 state = GET_REQ rdma_rxe: qp#1 state = EXIT rdma_rxe: qp#1 state = GET ACK rdma_rxe: qp#1 state = GET WQE rdma_rxe: qp#1 state = COMP WQE rdma_rxe: qp#1 state = GET WQE rdma_rxe: qp#1 state = EXIT virtqueue callback for ffff888147e66f00 (ffffffff854eb430) No more buffers in queue Receiving skb proto 0x0806 len 28 type 1 No more buffers in queue No more buffers in queue eth0: xmit ffff88802b88dc80 42:01:0a:80:00:01 Added buffer head 5 to ffff888023ddf000 virtqueue callback for ffff888023ddf000 (ffffffff854eb520) Sent skb ffff88802b88dc80 No more buffers in queue Dropped {multi|broad}cast of type=[86dd] virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00 virtqueue callback for ffff888146a70d00 (ffffffff84455830) virtqueue interrupt with no work for ffff888146a70c00 virtqueue interrupt with no work for ffff888146a70b00