================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz-executor/5198 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807e2ac120 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1744 [inline] ffff88807e2ac120 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1777 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 lock_sock_nested+0x44/0x100 net/core/sock.c:3259 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: 950 hardirqs last enabled at (950): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:406 hardirqs last disabled at (949): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:383 softirqs last enabled at (0): [] copy_process+0x13d4/0x3ec0 kernel/fork.c:2236 softirqs last disabled at (821): [] __do_softirq kernel/softirq.c:610 [inline] softirqs last disabled at (821): [] invoke_softirq kernel/softirq.c:450 [inline] softirqs last disabled at (821): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 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 syz-executor/5198: #0: ffffffff8c31ef60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:313 stack backtrace: CPU: 1 PID: 5198 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3932 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4135 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4591 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xc63/0x7b50 kernel/locking/lockdep.c:4966 lock_acquire+0x19e/0x400 kernel/locking/lockdep.c:5623 lock_sock_nested+0x44/0x100 net/core/sock.c:3259 lock_sock include/net/sock.h:1744 [inline] x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1777 x25_lapb_receive_frame+0x19d/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5551 [inline] netif_receive_skb_core+0x149/0x210 net/core/dev.c:5576 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x430 net/core/dev.c:7101 napi_poll net/core/dev.c:7168 [inline] net_rx_action+0x522/0xa80 net/core/dev.c:7258 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:-1 [inline] RIP: 0010:rcu_is_watching+0x18/0xa0 kernel/rcu/tree.c:1123 Code: 5b 08 41 f7 c7 00 02 00 00 75 bd eb bc e8 40 74 5b 08 41 57 41 56 53 65 ff 05 7c cf 9d 7e e8 3f 84 5b 08 89 c3 83 f8 08 73 5c <49> bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 20 d8 e3 8b 4c 89 f0 48 RSP: 0018:ffffc90002dcf300 EFLAGS: 00000297 RAX: 0000000000000001 RBX: 0000000000000001 RCX: f24eab2752d96500 RDX: 0000000000000000 RSI: ffffffff8a7a41e0 RDI: ffffffff8a7a41a0 RBP: ffffc90002dcf440 R08: ffffffff8d8b0def R09: 1ffffffff1b161bd R10: dffffc0000000000 R11: fffffbfff1b161be R12: ffffffff8c31ef60 R13: 1ffff920005b9e70 R14: 0000000000000001 R15: dffffc0000000000 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xc8/0x400 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:740 [inline] is_bpf_text_address+0x1d/0x270 kernel/bpf/core.c:725 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x9a/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x92/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 kmem_cache_zalloc include/linux/slab.h:728 [inline] lsm_file_alloc security/security.c:575 [inline] security_file_alloc+0x30/0x110 security/security.c:1531 __alloc_file+0xc2/0x240 fs/file_table.c:137 alloc_empty_file+0x90/0x180 fs/file_table.c:181 path_openat+0x11c/0x2fb0 fs/namei.c:3736 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 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 RIP: 0033:0x7fd05137790e 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:00007fffc92ddbc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055558fd40500 RCX: 00007fd05137790e RDX: 0000000000080001 RSI: 00007fd05144efb9 RDI: ffffffffffffff9c RBP: 00007fd05144efb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007fffc92ddca0 R14: 00000000000244bc R15: 00007fffc92de210 BUG: sleeping function called from invalid context at net/core/sock.c:3261 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5198, name: syz-executor INFO: lockdep is turned off. Preemption disabled at: [] is_module_text_address+0x17/0x140 kernel/module.c:4779 CPU: 1 PID: 5198 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/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:3261 lock_sock include/net/sock.h:1744 [inline] x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1777 x25_lapb_receive_frame+0x19d/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5551 [inline] netif_receive_skb_core+0x149/0x210 net/core/dev.c:5576 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x430 net/core/dev.c:7101 napi_poll net/core/dev.c:7168 [inline] net_rx_action+0x522/0xa80 net/core/dev.c:7258 handle_softirqs+0x336/0x830 kernel/softirq.c:576 __do_softirq kernel/softirq.c:610 [inline] invoke_softirq kernel/softirq.c:450 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:659 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676 RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:-1 [inline] RIP: 0010:rcu_is_watching+0x18/0xa0 kernel/rcu/tree.c:1123 Code: 5b 08 41 f7 c7 00 02 00 00 75 bd eb bc e8 40 74 5b 08 41 57 41 56 53 65 ff 05 7c cf 9d 7e e8 3f 84 5b 08 89 c3 83 f8 08 73 5c <49> bf 00 00 00 00 00 fc ff df 4c 8d 34 dd 20 d8 e3 8b 4c 89 f0 48 RSP: 0018:ffffc90002dcf300 EFLAGS: 00000297 RAX: 0000000000000001 RBX: 0000000000000001 RCX: f24eab2752d96500 RDX: 0000000000000000 RSI: ffffffff8a7a41e0 RDI: ffffffff8a7a41a0 RBP: ffffc90002dcf440 R08: ffffffff8d8b0def R09: 1ffffffff1b161bd R10: dffffc0000000000 R11: fffffbfff1b161be R12: ffffffff8c31ef60 R13: 1ffff920005b9e70 R14: 0000000000000001 R15: dffffc0000000000 trace_lock_acquire include/trace/events/lock.h:13 [inline] lock_acquire+0xc8/0x400 kernel/locking/lockdep.c:5594 rcu_lock_acquire+0x2a/0x30 include/linux/rcupdate.h:313 rcu_read_lock include/linux/rcupdate.h:740 [inline] is_bpf_text_address+0x1d/0x270 kernel/bpf/core.c:725 kernel_text_address kernel/extable.c:151 [inline] __kernel_text_address+0x9a/0x100 kernel/extable.c:105 unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323 arch_stack_walk+0xf2/0x140 arch/x86/kernel/stacktrace.c:26 stack_trace_save+0xa6/0xf0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x92/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x15d/0x280 mm/slub.c:3238 kmem_cache_zalloc include/linux/slab.h:728 [inline] lsm_file_alloc security/security.c:575 [inline] security_file_alloc+0x30/0x110 security/security.c:1531 __alloc_file+0xc2/0x240 fs/file_table.c:137 alloc_empty_file+0x90/0x180 fs/file_table.c:181 path_openat+0x11c/0x2fb0 fs/namei.c:3736 do_filp_open+0x1df/0x400 fs/namei.c:3777 do_sys_openat2+0x14b/0x500 fs/open.c:1255 do_sys_open fs/open.c:1271 [inline] __do_sys_openat fs/open.c:1287 [inline] __se_sys_openat fs/open.c:1282 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1282 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 RIP: 0033:0x7fd05137790e 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:00007fffc92ddbc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 000055558fd40500 RCX: 00007fd05137790e RDX: 0000000000080001 RSI: 00007fd05144efb9 RDI: ffffffffffffff9c RBP: 00007fd05144efb9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007fffc92ddca0 R14: 00000000000244bc R15: 00007fffc92de210 ---------------- Code disassembly (best guess): 0: 5b pop %rbx 1: 08 41 f7 or %al,-0x9(%rcx) 4: c7 00 02 00 00 75 movl $0x75000002,(%rax) a: bd eb bc e8 40 mov $0x40e8bceb,%ebp f: 74 5b je 0x6c 11: 08 41 57 or %al,0x57(%rcx) 14: 41 56 push %r14 16: 53 push %rbx 17: 65 ff 05 7c cf 9d 7e incl %gs:0x7e9dcf7c(%rip) # 0x7e9dcf9a 1e: e8 3f 84 5b 08 call 0x85b8462 23: 89 c3 mov %eax,%ebx 25: 83 f8 08 cmp $0x8,%eax 28: 73 5c jae 0x86 * 2a: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 <-- trapping instruction 31: fc ff df 34: 4c 8d 34 dd 20 d8 e3 lea -0x741c27e0(,%rbx,8),%r14 3b: 8b 3c: 4c 89 f0 mov %r14,%rax 3f: 48 rex.W