================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/1/20 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88805ec8a120 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1744 [inline] ffff88805ec8a120 (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: 464528 hardirqs last enabled at (464528): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:406 hardirqs last disabled at (464527): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:383 softirqs last enabled at (464470): [] run_ksoftirqd+0xa4/0x100 kernel/softirq.c:943 softirqs last disabled at (464475): [] 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/1/20: #0: ffffffff8d11efa0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 stack backtrace: CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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 ffff8880233d6300 (ffffffff85497fd0) BUG: sleeping function called from invalid context at net/core/sock.c:3260 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 20, name: ksoftirqd/1 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: 1 PID: 20 Comm: ksoftirqd/1 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/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 ffff8880233d6300 (ffffffff85497fd0) virtqueue callback for ffff8880233d6300 (ffffffff85497fd0) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later 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 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_in_window: START tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 virtqueue callback for ffff8880233d6300 (ffffffff85497fd0) tcp_in_window: sender end=4187345790 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 tcp_in_window: sender end=4187345790 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=4187345791 maxend=4190490622 maxwin=3144576 receiver end=2013387145 maxend=2016516233 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=3 new=4 tcp_in_window: START tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 tcp_in_window: sender end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 tcp_in_window: sender end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=4187345791 maxend=4190490622 maxwin=3144576 receiver end=2013387145 maxend=2016516233 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=4 new=6 tcp_in_window: START tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 tcp_in_window: sender end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: seq=4187345790 ack=2013371657+(0) sack=2013371657+(0) win=24567 end=4187345791 tcp_in_window: sender end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 receiver end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=4187345791 maxend=4190490622 maxwin=3144576 receiver end=2013387145 maxend=2016516233 maxwin=3144832 tcp_conntracks: syn=0 ack=1 fin=1 rst=0 old=6 new=6 tcp_conntracks: syn=0 ack=0 fin=0 rst=1 old=6 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 nf_conntrack: normal packet for ffff888028ecc480 tcp_in_window: START tcp_in_window: seq=2013387145 ack=4187345791+(0) sack=4187345791+(0) win=24569 end=2013387145 tcp_in_window: sender end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 receiver end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 tcp_in_window: seq=2013387145 ack=4187345791+(0) sack=4187345791+(0) win=24569 end=2013387145 tcp_in_window: sender end=2013387145 maxend=2016516233 maxwin=3144832 scale=7 receiver end=4187345791 maxend=4190490622 maxwin=3144576 scale=7 tcp_in_window: I=1 II=1 III=1 IV=1 tcp_in_window: res=1 sender end=2013387145 maxend=2016516233 maxwin=3144832 receiver end=4187345791 maxend=4190490623 maxwin=3144576 tcp_conntracks: syn=0 ack=1 fin=0 rst=0 old=8 new=8 No more buffers in queue eth0: xmit ffff888060d6ea00 42:01:0a:80:00:01 Added buffer head 8 to ffff88802344de00 virtqueue callback for ffff8880233d6300 (ffffffff85497fd0) virtqueue callback for ffff88802344de00 (ffffffff854980c0) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later Sent skb ffff888060d6ea00 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 No more buffers in queue 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 ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b9528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b9128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b6528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b9928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b9d28 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240ba128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bf928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bd128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bd528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240be928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bed28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bfd28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b6928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bb528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bc128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bad28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b7928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b8d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b8928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bdd28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b7528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bb128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b0528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bb928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b8128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240be528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b7128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240ba528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b7d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240ba928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bbd28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b0128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bf528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bf128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b6d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bc528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bd928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240be128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b8528 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240bc928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240bcd28 response 0 status 0x0 sense_len 0 No more buffers in queue sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later wireguard: wg0: Sending keepalive packet to peer 20 ([::1]:20003/0%0) wireguard: wg1: Handshake for peer 4 (127.0.0.1:20003) did not complete after 5 seconds, retrying (try 2) wireguard: wg2: Sending keepalive packet to peer 17 ([::1]:20001/0%0) wireguard: wg0: Sending keepalive packet to peer 25 (127.0.0.1:20002) wireguard: wg0: Sending keepalive packet to peer 19 ([::1]:20002/0%0) wireguard: wg0: Sending keepalive packet to peer 13 (127.0.0.1:20002) wireguard: wg0: Sending keepalive packet to peer 7 ([::1]:20002/0%0) wireguard: wg1: Receiving keepalive packet from peer 9 ([::1]:20001/0%0) wireguard: wg2: Receiving keepalive packet from peer 11 ([::1]:20001/0%0) virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff888021c16928 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b0d28 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b0928 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff8880233d6300 (ffffffff85497fd0) virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b1128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b3528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b2928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b1528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b1d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b3928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b3d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b4528 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b4128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b2128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b2d28 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b3128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b1928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b2528 response 0 status 0x0 sense_len 0 No more buffers in queue sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later wireguard: wg2: Handshake for peer 18 (127.0.0.1:20002) did not complete after 5 seconds, retrying (try 2) 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 wireguard: wg1: Handshake for peer 16 (127.0.0.1:20003) did not complete after 5 seconds, retrying (try 3) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later wireguard: wg0: Handshake for peer 20 ([::1]:20003/0%0) did not complete after 5 seconds, retrying (try 2) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later nf_conntrack: clean_from_lists(ffff888028ecca80) nf_conntrack: nf_ct_destroy(ffff888028ecca80) nf_conntrack: nf_ct_destroy: returning ct=ffff888028ecca80 to slab nf_conntrack: new packet for ffff8880783b8000 nf_conntrack: Confirming conntrack ffff8880783b8000 wireguard: wg1: Receiving keepalive packet from peer 9 ([::1]:20001/0%0) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later wireguard: wg0: Sending keepalive packet to peer 19 ([::1]:20002/0%0) wireguard: wg0: Sending keepalive packet to peer 7 ([::1]:20002/0%0) wireguard: wg0: Sending keepalive packet to peer 25 (127.0.0.1:20002) wireguard: wg0: Sending keepalive packet to peer 13 (127.0.0.1:20002) sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later sctp: sctp_addr_wq_timeout_handler: the first ent in wq:ffff888079942718 is addr:2001:: for cmd:0 at entry:ffff888061249580 sctp: sctp_addr_wq_timeout_handler: this is on DAD, trying 500 sec later wireguard: wg1: Handshake for peer 4 (127.0.0.1:20003) did not complete after 5 seconds, retrying (try 3) virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b4928 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff888021c16928 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b4d28 response 0 status 0x0 sense_len 0 No more buffers in queue virtqueue callback for ffff888021fff000 (ffffffff8506e140) sd 0:0:1:0: cmd ffff8880240b5128 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b5928 response 0 status 0x0 sense_len 0 sd 0:0:1:0: cmd ffff8880240b5528 response 0 status 0x0 sense_len 0 No more buffers in queue