================================ WARNING: inconsistent lock state syzkaller #0 Tainted: G L -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. sed/7434 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff888072f1e260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1717 [inline] ffff888072f1e260 (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:3906 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+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f irq event stamp: 5490 hardirqs last enabled at (5490): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (5489): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (4994): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last enabled at (4994): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last enabled at (4994): [] __irq_exit_rcu+0xc6/0x220 kernel/softirq.c:786 softirqs last disabled at (5331): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last disabled at (5331): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last disabled at (5331): [] __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 sed/7434: 3, on CPU#0: #0: ffff888035740f80 (&mm->mmap_lock){++++}-{4:4}, at: mmap_write_lock include/linux/mmap_lock.h:548 [inline] #0: ffff888035740f80 (&mm->mmap_lock){++++}-{4:4}, at: exit_mmap+0x2d5/0xa40 mm/mmap.c:1323 #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: class_rcu_constructor include/linux/rcupdate.h:1216 [inline] #1: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: unwind_next_frame+0x8f/0x2550 arch/x86/kernel/unwind_orc.c:495 #2: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #2: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #2: ffffffff9015a260 (rcu_read_lock){....}-{1:3}, at: netif_receive_skb_core+0x33/0x2b0 net/core/dev.c:6459 stack backtrace: CPU: 0 UID: 0 PID: 7434 Comm: sed Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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:3906 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:6435 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6460 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7985 napi_poll net/core/dev.c:8048 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8205 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:orc_find arch/x86/kernel/unwind_orc.c:231 [inline] RIP: 0010:unwind_next_frame+0x24b/0x2550 arch/x86/kernel/unwind_orc.c:510 Code: 66 1d 00 00 45 8b 04 24 41 ff c0 4a 8d 04 6d 00 00 00 00 4c 01 e8 48 8d 34 45 60 f0 4d 92 4b 8d 04 40 48 8d 04 45 60 f0 4d 92 <48> 3d ea 2b 09 93 0f 97 c0 48 81 fe ea 2b 09 93 0f 83 0e 04 00 00 RSP: 0018:ffffc9000254f200 EFLAGS: 00000206 RAX: ffffffff9257935c RBX: dffffc0000000000 RCX: 8000000000000000 RDX: 00000000000b09cd RSI: ffffffff92579356 RDI: ffffffff8c8e9b20 RBP: ffffffff8186d257 R08: 0000000000019b2a R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff81b3b350 R12: ffffffff930b4738 R13: 0000000000019b29 R14: ffffc9000254f2a8 R15: 00000000000086d2 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 save_stack+0x122/0x230 mm/page_owner.c:183 __reset_page_owner+0x73/0x2a0 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1402 [inline] free_unref_folios+0xdcc/0x15d0 mm/page_alloc.c:3018 folios_put_refs+0x9e9/0xb30 mm/folio.c:1039 free_pages_and_swap_cache+0x2ba/0x490 mm/swap_state.c:654 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0x6d3/0xa30 mm/mmu_gather.c:404 tlb_finish_mmu+0xf4/0x220 mm/mmu_gather.c:529 exit_mmap+0x4b2/0xa40 mm/mmap.c:1328 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x18e/0x240 kernel/exit.c:586 do_exit+0x6a8/0x2360 kernel/exit.c:967 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 __do_sys_exit_group kernel/exit.c:1134 [inline] __se_sys_exit_group kernel/exit.c:1132 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1132 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f33f785e6c5 Code: Unable to access opcode bytes at 0x7f33f785e69b. RSP: 002b:00007ffc596ec958 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f33f795ffe8 RCX: 00007f33f785e6c5 RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f33f795e680 R15: 00007f33f7960000 BUG: sleeping function called from invalid context at net/core/sock.c:3908 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 7434, name: sed 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: 7434 Comm: sed Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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:9202 lock_sock_nested+0x56/0x100 net/core/sock.c:3908 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:6435 [inline] netif_receive_skb_core+0x2a6/0x2b0 net/core/dev.c:6460 lapbeth_napi_poll+0x42/0x90 drivers/net/wan/lapbether.c:100 __napi_poll+0xaa/0x330 net/core/dev.c:7985 napi_poll net/core/dev.c:8048 [inline] net_rx_action+0x61d/0xf50 net/core/dev.c:8205 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:orc_find arch/x86/kernel/unwind_orc.c:231 [inline] RIP: 0010:unwind_next_frame+0x24b/0x2550 arch/x86/kernel/unwind_orc.c:510 Code: 66 1d 00 00 45 8b 04 24 41 ff c0 4a 8d 04 6d 00 00 00 00 4c 01 e8 48 8d 34 45 60 f0 4d 92 4b 8d 04 40 48 8d 04 45 60 f0 4d 92 <48> 3d ea 2b 09 93 0f 97 c0 48 81 fe ea 2b 09 93 0f 83 0e 04 00 00 RSP: 0018:ffffc9000254f200 EFLAGS: 00000206 RAX: ffffffff9257935c RBX: dffffc0000000000 RCX: 8000000000000000 RDX: 00000000000b09cd RSI: ffffffff92579356 RDI: ffffffff8c8e9b20 RBP: ffffffff8186d257 R08: 0000000000019b2a R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff81b3b350 R12: ffffffff930b4738 R13: 0000000000019b29 R14: ffffc9000254f2a8 R15: 00000000000086d2 arch_stack_walk+0x11b/0x150 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0xa9/0x100 kernel/stacktrace.c:122 save_stack+0x122/0x230 mm/page_owner.c:183 __reset_page_owner+0x73/0x2a0 mm/page_owner.c:338 reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1402 [inline] free_unref_folios+0xdcc/0x15d0 mm/page_alloc.c:3018 folios_put_refs+0x9e9/0xb30 mm/folio.c:1039 free_pages_and_swap_cache+0x2ba/0x490 mm/swap_state.c:654 __tlb_batch_free_encoded_pages mm/mmu_gather.c:138 [inline] tlb_batch_pages_flush mm/mmu_gather.c:151 [inline] tlb_flush_mmu_free mm/mmu_gather.c:397 [inline] tlb_flush_mmu+0x6d3/0xa30 mm/mmu_gather.c:404 tlb_finish_mmu+0xf4/0x220 mm/mmu_gather.c:529 exit_mmap+0x4b2/0xa40 mm/mmap.c:1328 __mmput+0x118/0x420 kernel/fork.c:1192 exit_mm+0x18e/0x240 kernel/exit.c:586 do_exit+0x6a8/0x2360 kernel/exit.c:967 do_group_exit+0x22d/0x2f0 kernel/exit.c:1123 __do_sys_exit_group kernel/exit.c:1134 [inline] __se_sys_exit_group kernel/exit.c:1132 [inline] __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1132 x64_sys_call+0x18c6/0x18d0 arch/x86/include/generated/asm/syscalls_64.h:232 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x16a/0x530 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f33f785e6c5 Code: Unable to access opcode bytes at 0x7f33f785e69b. RSP: 002b:00007ffc596ec958 EFLAGS: 00000206 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007f33f795ffe8 RCX: 00007f33f785e6c5 RDX: 00000000000000e7 RSI: ffffffffffffff88 RDI: 0000000000000000 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f33f795e680 R15: 00007f33f7960000 ---------------- Code disassembly (best guess): 0: 66 1d 00 00 sbb $0x0,%ax 4: 45 8b 04 24 mov (%r12),%r8d 8: 41 ff c0 inc %r8d b: 4a 8d 04 6d 00 00 00 lea 0x0(,%r13,2),%rax 12: 00 13: 4c 01 e8 add %r13,%rax 16: 48 8d 34 45 60 f0 4d lea -0x6db20fa0(,%rax,2),%rsi 1d: 92 1e: 4b 8d 04 40 lea (%r8,%r8,2),%rax 22: 48 8d 04 45 60 f0 4d lea -0x6db20fa0(,%rax,2),%rax 29: 92 * 2a: 48 3d ea 2b 09 93 cmp $0xffffffff93092bea,%rax <-- trapping instruction 30: 0f 97 c0 seta %al 33: 48 81 fe ea 2b 09 93 cmp $0xffffffff93092bea,%rsi 3a: 0f 83 0e 04 00 00 jae 0x44e