================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. ksoftirqd/0/15 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff8880223ca260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1713 [inline] ffff8880223ca260 (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:3837 lock_sock include/net/sock.h:1713 [inline] x25_bind+0x209/0x450 net/x25/af_x25.c:691 __sys_bind_socket net/socket.c:1944 [inline] __sys_bind+0x2e3/0x410 net/socket.c:1975 __do_sys_bind net/socket.c:1980 [inline] __se_sys_bind net/socket.c:1978 [inline] __x64_sys_bind+0x7a/0x90 net/socket.c:1978 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: 747616 hardirqs last enabled at (747616): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (747615): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (747444): [] run_ksoftirqd+0x36/0x60 kernel/softirq.c:1099 softirqs last disabled at (747449): [] __do_softirq kernel/softirq.c:679 [inline] softirqs last disabled at (747449): [] invoke_softirq kernel/softirq.c:519 [inline] softirqs last disabled at (747449): [] __irq_exit_rcu+0xcb/0x220 kernel/softirq.c:758 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 ksoftirqd/0/15: 1, on CPU#0: #0: ffffffff8ed5c920 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff8ed5c920 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff8ed5c920 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6289 stack backtrace: CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 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:3837 lock_sock include/net/sock.h:1713 [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:6265 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6290 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7798 napi_poll net/core/dev.c:7861 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8018 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:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_call_function_single arch/x86/kernel/smp.c:267 [inline] sysvec_call_function_single+0xa3/0xc0 arch/x86/kernel/smp.c:267 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:ksoftirqd_should_run+0x0/0x30 kernel/softirq.c:1087 Code: 93 03 43 80 3c 2c 00 0f 85 d8 fb ff ff e9 db fb ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 c7 c7 60 42 0b 8c e8 50 15 5e 0a 65 66 8b 05 24 82 RSP: 0018:ffffc90000147d80 EFLAGS: 00000246 RAX: ffff88801b682240 RBX: 1ffff11003c546fd RCX: 0000000000000005 RDX: ffffffff81935d96 RSI: ffffffff8ec07300 RDI: 0000000000000000 RBP: ffffffff81935afe R08: ffff88801e2a1f40 R09: 0000000000000002 R10: 0000000000000002 R11: ffffffff81891e00 R12: ffff88801e2a1f58 R13: ffff88801e2a37e8 R14: dffffc0000000000 R15: ffffffff8ebf1498 smpboot_thread_fn+0x4a9/0xa70 kernel/smpboot.c:154 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 ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] smpboot_thread_fn+0x4e/0xa70 kernel/smpboot.c:-1 WARNING: kernel/sched/core.c:9191 at __might_sleep+0x92/0xf0 kernel/sched/core.c:9187, CPU#0: ksoftirqd/0/15 Modules linked in: CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xac/0xf0 kernel/sched/core.c:9187 Code: 00 00 48 89 3c 24 41 89 f5 4c 8d 35 ee d6 e6 0e 43 80 3c 3c 00 74 08 48 89 df e8 3f 4f a1 00 48 8b 0b 4c 89 f7 89 ee 48 89 ca <67> 48 0f b9 3a 44 89 ee 48 8b 3c 24 eb b5 44 89 f1 80 e1 07 80 c1 RSP: 0018:ffffc90000007b50 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88801e2a37e8 RCX: ffffffff81935afe RDX: ffffffff81935afe RSI: 0000000000000001 RDI: ffffffff907d6800 RBP: 0000000000000001 R08: 0000000000000100 R09: 1ffff92000000ee4 R10: dffffc0000000000 R11: fffff52000000ee5 R12: 1ffff11003c546fd R13: 0000000000000eff R14: ffffffff907d6800 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff888124cc6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000140 CR3: 0000000034cfc000 CR4: 00000000003526f0 Call Trace: lock_sock_nested+0x56/0x100 net/core/sock.c:3839 lock_sock include/net/sock.h:1713 [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:6265 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6290 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7798 napi_poll net/core/dev.c:7861 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8018 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:758 irq_exit_rcu+0x9/0x30 kernel/softirq.c:775 instr_sysvec_call_function_single arch/x86/kernel/smp.c:267 [inline] sysvec_call_function_single+0xa3/0xc0 arch/x86/kernel/smp.c:267 asm_sysvec_call_function_single+0x1a/0x20 arch/x86/include/asm/idtentry.h:681 RIP: 0010:ksoftirqd_should_run+0x0/0x30 kernel/softirq.c:1087 Code: 93 03 43 80 3c 2c 00 0f 85 d8 fb ff ff e9 db fb ff ff 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 c7 c7 60 42 0b 8c e8 50 15 5e 0a 65 66 8b 05 24 82 RSP: 0018:ffffc90000147d80 EFLAGS: 00000246 RAX: ffff88801b682240 RBX: 1ffff11003c546fd RCX: 0000000000000005 RDX: ffffffff81935d96 RSI: ffffffff8ec07300 RDI: 0000000000000000 RBP: ffffffff81935afe R08: ffff88801e2a1f40 R09: 0000000000000002 R10: 0000000000000002 R11: ffffffff81891e00 R12: ffff88801e2a1f58 R13: ffff88801e2a37e8 R14: dffffc0000000000 R15: ffffffff8ebf1498 smpboot_thread_fn+0x4a9/0xa70 kernel/smpboot.c:154 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), 2 bytes skipped: 0: 43 80 3c 2c 00 cmpb $0x0,(%r12,%r13,1) 5: 0f 85 d8 fb ff ff jne 0xfffffbe3 b: e9 db fb ff ff jmp 0xfffffbeb 10: 0f 1f 84 00 00 00 00 nopl 0x0(%rax,%rax,1) 17: 00 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 90 nop 1f: 90 nop 20: 90 nop 21: 90 nop 22: 90 nop 23: 90 nop 24: 90 nop 25: 90 nop 26: 90 nop 27: 90 nop * 28: f3 0f 1e fa endbr64 <-- trapping instruction 2c: 48 c7 c7 60 42 0b 8c mov $0xffffffff8c0b4260,%rdi 33: e8 50 15 5e 0a call 0xa5e1588 38: 65 gs 39: 66 data16 3a: 8b .byte 0x8b 3b: 05 .byte 0x5 3c: 24 82 and $0x82,%al