================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. syz.7.1024/9362 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88807a75e130 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1805 [inline] ffff88807a75e130 (sk_lock-AF_X25){+.?.}-{0:0}, at: x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1781 {SOFTIRQ-ON-W} state was registered at: lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5676 lock_sock_nested+0x44/0x100 net/core/sock.c:3505 lock_sock include/net/sock.h:1805 [inline] x25_release+0x9c/0x380 net/x25/af_x25.c:636 __sock_release net/socket.c:654 [inline] sock_close+0xbf/0x210 net/socket.c:1400 __fput+0x20a/0x8b0 fs/file_table.c:320 task_work_run+0x1d0/0x260 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 irq event stamp: 302670 hardirqs last enabled at (302670): [] __local_bh_enable_ip+0x136/0x1c0 kernel/softirq.c:426 hardirqs last disabled at (302669): [] __local_bh_enable_ip+0xd7/0x1c0 kernel/softirq.c:403 softirqs last enabled at (302424): [] __do_softirq kernel/softirq.c:630 [inline] softirqs last enabled at (302424): [] invoke_softirq kernel/softirq.c:470 [inline] softirqs last enabled at (302424): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 softirqs last disabled at (302531): [] __do_softirq kernel/softirq.c:630 [inline] softirqs last disabled at (302531): [] invoke_softirq kernel/softirq.c:470 [inline] softirqs last disabled at (302531): [] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock(sk_lock-AF_X25); lock(sk_lock-AF_X25); *** DEADLOCK *** 2 locks held by syz.7.1024/9362: #0: ffffffff8d1cb3c0 (fill_pool_map-wait-type-override){+.+.}-{2:2}, at: debug_objects_fill_pool+0x87/0x780 lib/debugobjects.c:653 #1: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #1: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:791 [inline] #1: ffffffff8cb2db60 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb_core+0x30/0x230 net/core/dev.c:5643 stack backtrace: CPU: 0 PID: 9362 Comm: syz.7.1024 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 valid_state+0x13b/0x1d0 kernel/locking/lockdep.c:3974 mark_lock_irq+0xa9/0x900 kernel/locking/lockdep.c:4177 mark_lock+0x208/0x320 kernel/locking/lockdep.c:4633 mark_usage kernel/locking/lockdep.c:-1 [inline] __lock_acquire+0xce0/0x7c40 kernel/locking/lockdep.c:5017 lock_acquire+0x1bb/0x4a0 kernel/locking/lockdep.c:5676 lock_sock_nested+0x44/0x100 net/core/sock.c:3505 lock_sock include/net/sock.h:1805 [inline] x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1781 x25_lapb_receive_frame+0x1a3/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5619 [inline] netif_receive_skb_core+0x166/0x230 net/core/dev.c:5644 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x460 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x622/0xbc0 net/core/dev.c:6809 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:lock_acquire+0x225/0x4a0 kernel/locking/lockdep.c:5680 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc90003337560 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ee333510a9b57000 RDX: 0000000000000000 RSI: ffffffff8a8c2920 RDI: ffffffff8adf5de0 RBP: ffffc90003337668 R08: dffffc0000000000 R09: 1ffffffff2162048 R10: dffffc0000000000 R11: fffffbfff2162049 R12: 0000000000000000 R13: 1ffff92000666eb8 R14: 0000000000000246 R15: dffffc0000000000 debug_objects_fill_pool+0xa7/0x780 lib/debugobjects.c:653 debug_object_assert_init+0x62/0x300 lib/debugobjects.c:940 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __mod_timer+0x55/0xd20 kernel/time/timer.c:1020 schedule_timeout+0x17f/0x2d0 kernel/time/timer.c:2167 snd_rawmidi_write+0x3b6/0xb90 sound/core/rawmidi.c:1605 do_loop_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x4a4/0xb10 fs/read_write.c:863 vfs_writev fs/read_write.c:934 [inline] do_writev+0x27b/0x480 fs/read_write.c:977 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7328f9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7329d85028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f7329225fa0 RCX: 00007f7328f9e0d9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000006 RBP: 00007f7329035024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7329226038 R14: 00007f7329225fa0 R15: 00007ffe65cbbf68 ------------[ cut here ]------------ do not call blocking ops when !TASK_RUNNING; state=1 set at [] snd_rawmidi_write+0x36a/0xb90 sound/core/rawmidi.c:1603 WARNING: CPU: 0 PID: 9362 at kernel/sched/core.c:9897 __might_sleep+0xa2/0xd0 kernel/sched/core.c:-1 Modules linked in: CPU: 0 PID: 9362 Comm: syz.7.1024 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:__might_sleep+0xa2/0xd0 kernel/sched/core.c:9893 Code: 5d e9 52 00 00 00 c6 05 87 40 b2 0c 01 48 89 fb 48 c7 c7 a0 ab 8b 8a 41 89 f6 89 ee 48 89 ca e8 b4 59 f3 ff 48 89 df 44 89 f6 <0f> 0b eb c9 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 77 ff ff ff 49 RSP: 0018:ffffc90000007af0 EFLAGS: 00010246 RAX: ee333510a9b57000 RBX: ffffffff8b89a578 RCX: ffff88802dcb1e00 RDX: 0000000000000100 RSI: 0000000000000db3 RDI: ffffffff8b89a578 RBP: 0000000000000001 R08: ffffc90000007767 R09: 1ffff92000000eec R10: dffffc0000000000 R11: fffff52000000eed R12: dffffc0000000000 R13: ffff88801cf70358 R14: 0000000000000db3 R15: dffffc0000000000 FS: 00007f7329d856c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 000000002e6f6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_sock_nested+0x59/0x100 net/core/sock.c:3507 lock_sock include/net/sock.h:1805 [inline] x25_kill_by_neigh+0x83/0x120 net/x25/af_x25.c:1781 x25_lapb_receive_frame+0x1a3/0xf20 net/x25/x25_dev.c:138 __netif_receive_skb_one_core net/core/dev.c:5619 [inline] netif_receive_skb_core+0x166/0x230 net/core/dev.c:5644 lapbeth_napi_poll+0x3e/0x80 drivers/net/wan/lapbether.c:99 __napi_poll+0xbb/0x460 net/core/dev.c:6628 napi_poll net/core/dev.c:6695 [inline] net_rx_action+0x622/0xbc0 net/core/dev.c:6809 handle_softirqs+0x291/0x910 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 RIP: 0010:lock_acquire+0x225/0x4a0 kernel/locking/lockdep.c:5680 Code: f7 84 24 80 00 00 00 00 02 00 00 43 c6 44 3d 04 f8 0f 85 f0 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 43 c7 44 3d 08 00 00 00 00 65 48 8b 04 RSP: 0018:ffffc90003337560 EFLAGS: 00000206 RAX: 0000000000000001 RBX: 0000000000000001 RCX: ee333510a9b57000 RDX: 0000000000000000 RSI: ffffffff8a8c2920 RDI: ffffffff8adf5de0 RBP: ffffc90003337668 R08: dffffc0000000000 R09: 1ffffffff2162048 R10: dffffc0000000000 R11: fffffbfff2162049 R12: 0000000000000000 R13: 1ffff92000666eb8 R14: 0000000000000246 R15: dffffc0000000000 debug_objects_fill_pool+0xa7/0x780 lib/debugobjects.c:653 debug_object_assert_init+0x62/0x300 lib/debugobjects.c:940 debug_timer_assert_init kernel/time/timer.c:792 [inline] debug_assert_init kernel/time/timer.c:837 [inline] __mod_timer+0x55/0xd20 kernel/time/timer.c:1020 schedule_timeout+0x17f/0x2d0 kernel/time/timer.c:2167 snd_rawmidi_write+0x3b6/0xb90 sound/core/rawmidi.c:1605 do_loop_readv_writev fs/read_write.c:-1 [inline] do_iter_write+0x4a4/0xb10 fs/read_write.c:863 vfs_writev fs/read_write.c:934 [inline] do_writev+0x27b/0x480 fs/read_write.c:977 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f7328f9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7329d85028 EFLAGS: 00000246 ORIG_RAX: 0000000000000014 RAX: ffffffffffffffda RBX: 00007f7329225fa0 RCX: 00007f7328f9e0d9 RDX: 0000000000000002 RSI: 0000200000000840 RDI: 0000000000000006 RBP: 00007f7329035024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f7329226038 R14: 00007f7329225fa0 R15: 00007ffe65cbbf68 ---------------- Code disassembly (best guess): 0: f7 84 24 80 00 00 00 testl $0x200,0x80(%rsp) 7: 00 02 00 00 b: 43 c6 44 3d 04 f8 movb $0xf8,0x4(%r13,%r15,1) 11: 0f 85 f0 00 00 00 jne 0x107 17: 41 f7 c6 00 02 00 00 test $0x200,%r14d 1e: 74 01 je 0x21 20: fb sti 21: 48 c7 44 24 60 0e 36 movq $0x45e0360e,0x60(%rsp) 28: e0 45 * 2a: 4b c7 44 3d 00 00 00 movq $0x0,0x0(%r13,%r15,1) <-- trapping instruction 31: 00 00 33: 43 c7 44 3d 08 00 00 movl $0x0,0x8(%r13,%r15,1) 3a: 00 00 3c: 65 gs 3d: 48 rex.W 3e: 8b .byte 0x8b 3f: 04 .byte 0x4