================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/u8:9/3151 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff0000d0b7e260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1717 [inline] ffff0000d0b7e260 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x114/0x2a0 net/x25/af_x25.c:1775 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x13c/0x320 kernel/locking/lockdep.c:5942 lock_sock_nested+0x58/0x110 net/core/sock.c:3908 lock_sock include/net/sock.h:1717 [inline] x25_bind+0x22c/0x34c net/x25/af_x25.c:691 __sys_bind_socket net/socket.c:1947 [inline] __sys_bind+0x1c4/0x268 net/socket.c:1978 __do_sys_bind net/socket.c:1983 [inline] __se_sys_bind net/socket.c:1981 [inline] __arm64_sys_bind+0x84/0x9c net/socket.c:1981 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x244 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xec/0x23c arch/arm64/kernel/syscall.c:121 do_el0_svc+0x4c/0x5c arch/arm64/kernel/syscall.c:140 el0_svc+0x60/0x1d8 arch/arm64/kernel/entry-common.c:797 el0t_64_sync_handler+0x44/0x104 arch/arm64/kernel/entry-common.c:816 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:606 irq event stamp: 145546 hardirqs last enabled at (145546): [] __local_bh_enable_ip+0x14c/0x234 kernel/softirq.c:478 hardirqs last disabled at (145545): [] __local_bh_enable_ip+0xcc/0x234 kernel/softirq.c:455 softirqs last enabled at (145438): [] local_bh_enable include/linux/bottom_half.h:33 [inline] softirqs last enabled at (145438): [] update_defense_level+0x608/0x9c4 net/netfilter/ipvs/ip_vs_ctl.c:210 softirqs last disabled at (145439): [] __do_softirq+0x14/0x20 kernel/softirq.c:703 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/u8:9/3151: 3, last CPU#1: #0: ffff0000c004a948 ((wq_completion)events_dfl_long){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #0: ffff0000c004a948 ((wq_completion)events_dfl_long){+.+.}-{0:0}, at: process_scheduled_works+0x8c8/0x1250 kernel/workqueue.c:3578 #1: ffff80009a687c20 ((work_completion)(&(&ipvs->defense_work)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3470 [inline] #1: ffff80009a687c20 ((work_completion)(&(&ipvs->defense_work)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x8d0/0x1250 kernel/workqueue.c:3578 #2: ffff800089aa57a0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #2: ffff800089aa57a0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffff800089aa57a0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x38/0x190 net/core/dev.c:6457 stack backtrace: CPU: 1 UID: 0 PID: 3151 Comm: kworker/u8:9 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_dfl_long defense_work_handler Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 print_usage_bug+0x2f8/0x33c kernel/locking/lockdep.c:4086 valid_state kernel/locking/lockdep.c:4100 [inline] mark_lock_irq+0x4a0/0x4a8 kernel/locking/lockdep.c:-1 mark_lock+0x144/0x1a4 kernel/locking/lockdep.c:4797 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x65c/0x2b08 kernel/locking/lockdep.c:5242 lock_acquire+0x13c/0x320 kernel/locking/lockdep.c:5942 lock_sock_nested+0x58/0x110 net/core/sock.c:3908 lock_sock include/net/sock.h:1717 [inline] x25_kill_by_neigh+0x114/0x2a0 net/x25/af_x25.c:1775 x25_link_terminated+0x60/0x7c net/x25/x25_link.c:257 x25_lapb_receive_frame+0x144/0xcf8 net/x25/x25_dev.c:138 __netif_receive_skb_one_core+0xc8/0x110 net/core/dev.c:6433 netif_receive_skb_core+0xd8/0x190 net/core/dev.c:6458 lapbeth_napi_poll+0x48/0xa0 drivers/net/wan/lapbether.c:100 __napi_poll+0xb4/0x328 net/core/dev.c:7966 napi_poll net/core/dev.c:8029 [inline] net_rx_action+0x5b0/0xc14 net/core/dev.c:8186 handle_softirqs+0x36c/0xce0 kernel/softirq.c:669 __do_softirq+0x14/0x20 kernel/softirq.c:703 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:78 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:901 do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:83 do_softirq+0x90/0xf8 kernel/softirq.c:569 __local_bh_enable_ip+0x190/0x234 kernel/softirq.c:473 local_bh_enable include/linux/bottom_half.h:33 [inline] update_defense_level+0x610/0x9c4 net/netfilter/ipvs/ip_vs_ctl.c:210 defense_work_handler+0x2c/0xd8 net/netfilter/ipvs/ip_vs_ctl.c:235 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854 BUG: sleeping function called from invalid context at net/core/sock.c:3910 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 3151, name: kworker/u8:9 preempt_count: 101, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] local_bh_disable include/linux/bottom_half.h:20 [inline] [] update_defense_level+0xec/0x9c4 net/netfilter/ipvs/ip_vs_ctl.c:112 CPU: 1 UID: 0 PID: 3151 Comm: kworker/u8:9 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_dfl_long defense_work_handler Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 __might_resched+0x354/0x4c0 kernel/sched/core.c:9195 __might_sleep+0x84/0xdc kernel/sched/core.c:9124 lock_sock_nested+0x68/0x110 net/core/sock.c:3910 lock_sock include/net/sock.h:1717 [inline] x25_kill_by_neigh+0x114/0x2a0 net/x25/af_x25.c:1775 x25_link_terminated+0x60/0x7c net/x25/x25_link.c:257 x25_lapb_receive_frame+0x144/0xcf8 net/x25/x25_dev.c:138 __netif_receive_skb_one_core+0xc8/0x110 net/core/dev.c:6433 netif_receive_skb_core+0xd8/0x190 net/core/dev.c:6458 lapbeth_napi_poll+0x48/0xa0 drivers/net/wan/lapbether.c:100 __napi_poll+0xb4/0x328 net/core/dev.c:7966 napi_poll net/core/dev.c:8029 [inline] net_rx_action+0x5b0/0xc14 net/core/dev.c:8186 handle_softirqs+0x36c/0xce0 kernel/softirq.c:669 __do_softirq+0x14/0x20 kernel/softirq.c:703 ____do_softirq+0x10/0x1c arch/arm64/kernel/irq.c:78 call_on_irq_stack+0x30/0x48 arch/arm64/kernel/entry.S:901 do_softirq_own_stack+0x1c/0x28 arch/arm64/kernel/irq.c:83 do_softirq+0x90/0xf8 kernel/softirq.c:569 __local_bh_enable_ip+0x190/0x234 kernel/softirq.c:473 local_bh_enable include/linux/bottom_half.h:33 [inline] update_defense_level+0x610/0x9c4 net/netfilter/ipvs/ip_vs_ctl.c:210 defense_work_handler+0x2c/0xd8 net/netfilter/ipvs/ip_vs_ctl.c:235 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0x91c/0x1250 kernel/workqueue.c:3578 worker_thread+0x798/0xbd0 kernel/workqueue.c:3659 kthread+0x304/0x3d4 kernel/kthread.c:436 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854