================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor/30425 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88803508a260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1717 [inline] ffff88803508a260 (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_release+0xa0/0x3d0 net/x25/af_x25.c:629 __sock_release+0xa0/0x1f0 net/socket.c:735 sock_close+0x1c/0x30 net/socket.c:1529 __fput+0x408/0xa40 fs/file_table.c:512 fput_close_sync+0x11f/0x240 fs/file_table.c:618 filp_close_sync+0x6e/0xa0 fs/open.c:1574 __range_close fs/file.c:919 [inline] __do_sys_close_range fs/file.c:1003 [inline] __se_sys_close_range+0xa77/0xef0 fs/file.c:954 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: 38274 hardirqs last enabled at (38274): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (38273): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (38210): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last enabled at (38210): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last enabled at (38210): [] __irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786 softirqs last disabled at (38231): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last disabled at (38231): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last disabled at (38231): [] __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 syz-executor/30425: 3, on CPU#0: #0: ffffffff90de8828 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffffffff90de8828 (&ops->srcu#2){.+.+}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffffffff90de8828 (&ops->srcu#2){.+.+}-{0:0}, at: rtnl_link_ops_get+0x23/0x250 net/core/rtnetlink.c:598 #1: ffffffff916951e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_lock net/core/rtnetlink.c:80 [inline] #1: ffffffff916951e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_nets_lock net/core/rtnetlink.c:366 [inline] #1: ffffffff916951e0 (rtnl_mutex){+.+.}-{4:4}, at: rtnl_newlink+0xc1d/0x1c30 net/core/rtnetlink.c:4251 #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:6477 stack backtrace: CPU: 0 UID: 0 PID: 30425 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/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: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:6453 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6478 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:8003 napi_poll net/core/dev.c:8066 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8223 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_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5968 Code: 26 3e 13 00 00 00 00 eb b5 e8 bb 04 64 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 83 de 3d 13 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 18 f8 1c RSP: 0018:ffffc90005f16588 EFLAGS: 00000286 RAX: 72a2e0de83f8ea00 RBX: 0000000000000206 RCX: 0000000000000046 RDX: ffffc90005f16601 RSI: ffffffff8e9361f1 RDI: ffffffff8c8e9880 RBP: ffff88807d38ab40 R08: ffffc90005f17ea0 R09: 0000000000000000 R10: ffffc90005f166b8 R11: fffff52000be2cd9 R12: 0000000000000002 R13: 0000000000000002 R14: ffffffff9015a2e0 R15: ffff88807d389f40 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0x1baa/0x2550 arch/x86/kernel/unwind_orc.c:709 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3f/0x90 mm/kasan/common.c:79 poison_kmalloc_redzone mm/kasan/common.c:412 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:429 kasan_kmalloc include/linux/kasan.h:267 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_noprof+0x366/0x710 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] kobject_get_path+0xc5/0x2f0 lib/kobject.c:161 kobject_uevent_env+0x29e/0x9e0 lib/kobject_uevent.c:548 rx_queue_add_kobject net/core/net-sysfs.c:1294 [inline] net_rx_queue_update_kobjects+0x404/0x780 net/core/net-sysfs.c:1336 register_queue_kobjects net/core/net-sysfs.c:2134 [inline] netdev_register_kobject+0x23e/0x350 net/core/net-sysfs.c:2385 register_netdevice+0x17be/0x2280 net/core/dev.c:11746 vxcan_newlink+0x486/0x720 drivers/net/can/vxcan.c:266 rtnl_newlink_create+0x305/0x7b0 net/core/rtnetlink.c:4006 __rtnl_newlink net/core/rtnetlink.c:4135 [inline] rtnl_newlink+0x167a/0x1c30 net/core/rtnetlink.c:4252 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7169 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2585 netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline] netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1362 netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2283 __do_sys_sendto net/socket.c:2290 [inline] __se_sys_sendto net/socket.c:2286 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2286 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 RIP: 0033:0x7f950556a24e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffe2d468608 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000055557c8a2500 RCX: 00007f950556a24e RDX: 000000000000004c RSI: 00007f9506364670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe2d468684 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f9506364670 R15: 0000000000000000 BUG: sleeping function called from invalid context at net/core/sock.c:3911 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 30425, name: syz-executor preempt_count: 100, expected: 0 RCU nest depth: 2, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] irq_enter_rcu+0x1d/0x1a0 kernel/softirq.c:711 CPU: 0 UID: 0 PID: 30425 Comm: syz-executor Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 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:6453 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6478 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:8003 napi_poll net/core/dev.c:8066 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8223 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_release+0x2e1/0x3c0 kernel/locking/lockdep.c:5968 Code: 26 3e 13 00 00 00 00 eb b5 e8 bb 04 64 0a f7 c3 00 02 00 00 74 b9 65 48 8b 05 83 de 3d 13 48 3b 44 24 28 75 48 fb 48 83 c4 30 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc 48 8d 3d 18 f8 1c RSP: 0018:ffffc90005f16588 EFLAGS: 00000286 RAX: 72a2e0de83f8ea00 RBX: 0000000000000206 RCX: 0000000000000046 RDX: ffffc90005f16601 RSI: ffffffff8e9361f1 RDI: ffffffff8c8e9880 RBP: ffff88807d38ab40 R08: ffffc90005f17ea0 R09: 0000000000000000 R10: ffffc90005f166b8 R11: fffff52000be2cd9 R12: 0000000000000002 R13: 0000000000000002 R14: ffffffff9015a2e0 R15: ffff88807d389f40 rcu_lock_release include/linux/rcupdate.h:319 [inline] rcu_read_unlock include/linux/rcupdate.h:880 [inline] class_rcu_destructor include/linux/rcupdate.h:1216 [inline] unwind_next_frame+0x1baa/0x2550 arch/x86/kernel/unwind_orc.c:709 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3f/0x90 mm/kasan/common.c:79 poison_kmalloc_redzone mm/kasan/common.c:412 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:429 kasan_kmalloc include/linux/kasan.h:267 [inline] __do_kmalloc_node mm/slub.c:5531 [inline] __kmalloc_noprof+0x366/0x710 mm/slub.c:5556 _kmalloc_noprof include/linux/slab.h:995 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] kobject_get_path+0xc5/0x2f0 lib/kobject.c:161 kobject_uevent_env+0x29e/0x9e0 lib/kobject_uevent.c:548 rx_queue_add_kobject net/core/net-sysfs.c:1294 [inline] net_rx_queue_update_kobjects+0x404/0x780 net/core/net-sysfs.c:1336 register_queue_kobjects net/core/net-sysfs.c:2134 [inline] netdev_register_kobject+0x23e/0x350 net/core/net-sysfs.c:2385 register_netdevice+0x17be/0x2280 net/core/dev.c:11746 vxcan_newlink+0x486/0x720 drivers/net/can/vxcan.c:266 rtnl_newlink_create+0x305/0x7b0 net/core/rtnetlink.c:4006 __rtnl_newlink net/core/rtnetlink.c:4135 [inline] rtnl_newlink+0x167a/0x1c30 net/core/rtnetlink.c:4252 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7169 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2585 netlink_unicast_kernel net/netlink/af_netlink.c:1336 [inline] netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1362 netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1921 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] __sys_sendto+0x408/0x5a0 net/socket.c:2283 __do_sys_sendto net/socket.c:2290 [inline] __se_sys_sendto net/socket.c:2286 [inline] __x64_sys_sendto+0xde/0x100 net/socket.c:2286 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 RIP: 0033:0x7f950556a24e Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08 RSP: 002b:00007ffe2d468608 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 000055557c8a2500 RCX: 00007f950556a24e RDX: 000000000000004c RSI: 00007f9506364670 RDI: 0000000000000003 RBP: 0000000000000001 R08: 00007ffe2d468684 R09: 000000000000000c R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 0000000000000000 R14: 00007f9506364670 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 26 3e 13 00 es ds adc (%rax),%eax 4: 00 00 add %al,(%rax) 6: 00 eb add %ch,%bl 8: b5 e8 mov $0xe8,%ch a: bb 04 64 0a f7 mov $0xf70a6404,%ebx f: c3 ret 10: 00 02 add %al,(%rdx) 12: 00 00 add %al,(%rax) 14: 74 b9 je 0xffffffcf 16: 65 48 8b 05 83 de 3d mov %gs:0x133dde83(%rip),%rax # 0x133ddea1 1d: 13 1e: 48 3b 44 24 28 cmp 0x28(%rsp),%rax 23: 75 48 jne 0x6d 25: fb sti 26: 48 83 c4 30 add $0x30,%rsp * 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: c3 ret 35: cc int3 36: cc int3 37: cc int3 38: cc int3 39: cc int3 3a: 48 rex.W 3b: 8d .byte 0x8d 3c: 3d .byte 0x3d 3d: 18 f8 sbb %bh,%al 3f: 1c .byte 0x1c