ip6_tunnel: ip6gre2 xmit: Local address not yet configured! ================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/1:6/5762 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888058ed4260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1717 [inline] ffff888058ed4260 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 lock_sock_nested+0x41/0x100 net/core/sock.c:3909 lock_sock include/net/sock.h:1717 [inline] x25_ioctl+0x22f/0xff0 net/x25/af_x25.c:1485 sock_do_ioctl+0x101/0x320 net/socket.c:1328 sock_ioctl+0x57a/0x7e0 net/socket.c:1449 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl+0xfc/0x170 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x171/0x540 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 59554 hardirqs last enabled at (59554): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (59553): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (59342): [] local_bh_disable include/linux/bottom_half.h:20 [inline] softirqs last enabled at (59342): [] __alloc_skb+0x18d/0x7a0 net/core/skbuff.c:698 softirqs last disabled at (59479): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last disabled at (59479): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last disabled at (59479): [] __irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786 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/1:6/5762: 3, on CPU#1: #0: ffff88813fe0dd48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff88813fe0dd48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff88813fe0dd48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff88813fe0dd48 ((wq_completion)events_power_efficient){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc90004cffc40 ((gc_work).work){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90004cffc40 ((gc_work).work){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90004cffc40 ((gc_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc90004cffc40 ((gc_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6475 stack backtrace: CPU: 1 UID: 0 PID: 5762 Comm: kworker/1:6 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_power_efficient wg_ratelimiter_gc_entries Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_usage_bug+0x28c/0x2e0 kernel/locking/lockdep.c:4086 valid_state+0xbe/0xf0 kernel/locking/lockdep.c:4100 mark_lock_irq+0x36/0x380 kernel/locking/lockdep.c:4311 mark_lock+0x117/0x190 kernel/locking/lockdep.c:4797 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0x71e/0x2de0 kernel/locking/lockdep.c:5242 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942 lock_sock_nested+0x41/0x100 net/core/sock.c:3909 lock_sock include/net/sock.h:1717 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6451 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6476 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:8001 napi_poll net/core/dev.c:8064 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8221 handle_softirqs+0x265/0x8d0 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_is_held_type+0x106/0x150 kernel/locking/lockdep.c:6021 Code: 1c 00 00 b8 ff ff ff ff 65 0f c1 05 4c 1e da 08 83 f8 01 75 25 9c 58 a9 00 02 00 00 75 39 41 f7 c4 00 02 00 00 74 01 fb 89 d8 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 0b 14 03 00 cc 90 0f 0b 90 48 c7 RSP: 0018:ffffc90004cff9f8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000046 RDX: 0000000000000000 RSI: ffffffff8e936150 RDI: ffffffff8c8e9880 RBP: 00000000ffffffff R08: ffffffff90db5be3 R09: 1ffffffff21b6b7c R10: dffffc0000000000 R11: fffffbfff21b6b7d R12: 0000000000000246 R13: ffff88801fbe8000 R14: ffffffff9015a3a0 R15: 0000000000000002 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0x86/0x4c0 kernel/sched/core.c:9161 wg_ratelimiter_gc_entries+0x3a4/0x450 drivers/net/wireguard/ratelimiter.c:78 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 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:3911 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5762, name: kworker/1:6 preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] irq_enter_rcu+0x1d/0x1a0 kernel/softirq.c:711 CPU: 1 UID: 0 PID: 5762 Comm: kworker/1:6 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: events_power_efficient wg_ratelimiter_gc_entries Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 __might_resched+0x36a/0x4c0 kernel/sched/core.c:9199 lock_sock_nested+0x56/0x100 net/core/sock.c:3911 lock_sock include/net/sock.h:1717 [inline] x25_kill_by_neigh+0x10d/0x250 net/x25/af_x25.c:1775 x25_lapb_receive_frame+0x1b0/0xfb0 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:6451 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6476 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:8001 napi_poll net/core/dev.c:8064 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8221 handle_softirqs+0x265/0x8d0 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:lock_is_held_type+0x106/0x150 kernel/locking/lockdep.c:6021 Code: 1c 00 00 b8 ff ff ff ff 65 0f c1 05 4c 1e da 08 83 f8 01 75 25 9c 58 a9 00 02 00 00 75 39 41 f7 c4 00 02 00 00 74 01 fb 89 d8 <5b> 41 5c 41 5d 41 5e 41 5f 5d e9 0b 14 03 00 cc 90 0f 0b 90 48 c7 RSP: 0018:ffffc90004cff9f8 EFLAGS: 00000206 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000046 RDX: 0000000000000000 RSI: ffffffff8e936150 RDI: ffffffff8c8e9880 RBP: 00000000ffffffff R08: ffffffff90db5be3 R09: 1ffffffff21b6b7c R10: dffffc0000000000 R11: fffffbfff21b6b7d R12: 0000000000000246 R13: ffff88801fbe8000 R14: ffffffff9015a3a0 R15: 0000000000000002 lock_is_held include/linux/lockdep.h:249 [inline] __might_resched+0x86/0x4c0 kernel/sched/core.c:9161 wg_ratelimiter_gc_entries+0x3a4/0x450 drivers/net/wireguard/ratelimiter.c:78 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 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: 1c 00 sbb $0x0,%al 2: 00 b8 ff ff ff ff add %bh,-0x1(%rax) 8: 65 0f c1 05 4c 1e da xadd %eax,%gs:0x8da1e4c(%rip) # 0x8da1e5c f: 08 10: 83 f8 01 cmp $0x1,%eax 13: 75 25 jne 0x3a 15: 9c pushf 16: 58 pop %rax 17: a9 00 02 00 00 test $0x200,%eax 1c: 75 39 jne 0x57 1e: 41 f7 c4 00 02 00 00 test $0x200,%r12d 25: 74 01 je 0x28 27: fb sti 28: 89 d8 mov %ebx,%eax * 2a: 5b pop %rbx <-- trapping instruction 2b: 41 5c pop %r12 2d: 41 5d pop %r13 2f: 41 5e pop %r14 31: 41 5f pop %r15 33: 5d pop %rbp 34: e9 0b 14 03 00 jmp 0x31444 39: cc int3 3a: 90 nop 3b: 0f 0b ud2 3d: 90 nop 3e: 48 rex.W 3f: c7 .byte 0xc7