================================ WARNING: inconsistent lock state syzkaller #0 Not tainted -------------------------------- inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. kworker/u8:0/13 [HC0[0]:SC1[1]:HE1:SE0] takes: ffff88802911c260 (sk_lock-AF_X25){+.?.}-{0:0}, at: lock_sock include/net/sock.h:1717 [inline] ffff88802911c260 (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: 677404 hardirqs last enabled at (677404): [] __local_bh_enable_ip+0xd6/0x140 kernel/softirq.c:478 hardirqs last disabled at (677403): [] __local_bh_enable_ip+0x72/0x140 kernel/softirq.c:455 softirqs last enabled at (677314): [] tcp_close+0x30/0x110 net/ipv4/tcp.c:3324 softirqs last disabled at (677363): [] __do_softirq kernel/softirq.c:703 [inline] softirqs last disabled at (677363): [] invoke_softirq kernel/softirq.c:542 [inline] softirqs last disabled at (677363): [] __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 kworker/u8:0/13: 4, on CPU#0: #0: ffff888021ee6948 ((wq_completion)writeback){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #0: ffff888021ee6948 ((wq_completion)writeback){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #0: ffff888021ee6948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #0: ffff888021ee6948 ((wq_completion)writeback){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #1: ffffc90000127c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #1: ffffc90000127c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #1: ffffc90000127c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3460 [inline] #1: ffffc90000127c40 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3578 #2: ffff88801dedc100 (&type->s_umount_key#43){.+.+}-{4:4}, at: super_trylock_shared+0x23/0xf0 fs/super.c:642 #3: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline] #3: ffffffff9015a2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline] #3: 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: 13 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: writeback wb_workfn (flush-8:0) 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:folio_create_buffers+0x1/0x170 fs/buffer.c:1693 Code: c7 c6 00 53 41 8c e8 1e 0c be fe 90 0f 0b e8 d6 10 5f ff 90 0f 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 <41> 57 41 56 41 54 53 89 d5 49 89 f6 48 89 fb 49 bc 00 00 00 00 00 RSP: 0018:ffffc90000127028 EFLAGS: 00000202 RAX: ffffffff826a0cc7 RBX: 0000000000100001 RCX: 0000000000000000 RDX: 0000000000000003 RSI: ffff888028579da8 RDI: ffffea000052f980 RBP: ffffc900001271a8 R08: ffffea000052f987 R09: 1ffffd40000a5f30 R10: dffffc0000000000 R11: fffff940000a5f31 R12: ffffc90000127140 R13: ffffea000052f980 R14: ffffea000052f980 R15: dffffc0000000000 __block_write_full_folio+0xd6/0xdb0 fs/buffer.c:1745 blkdev_writepages+0xef/0x1b0 block/fops.c:495 do_writepages+0x338/0x560 mm/page-writeback.c:2562 __writeback_single_inode+0x136/0x1220 fs/fs-writeback.c:1809 writeback_sb_inodes+0x9de/0x1af0 fs/fs-writeback.c:2120 __writeback_inodes_wb+0x114/0x250 fs/fs-writeback.c:2196 wb_writeback+0x42f/0xad0 fs/fs-writeback.c:2307 wb_check_old_data_flush fs/fs-writeback.c:2411 [inline] wb_do_writeback fs/fs-writeback.c:2490 [inline] wb_workfn+0xc92/0x10f0 fs/fs-writeback.c:2518 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 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 BUG: sleeping function called from invalid context at net/core/sock.c:3911 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 13, name: kworker/u8:0 preempt_count: 100, expected: 0 RCU nest depth: 1, expected: 0 INFO: lockdep is turned off. Preemption disabled at: [] irq_enter_rcu+0x1d/0x1a0 kernel/softirq.c:711 CPU: 0 UID: 0 PID: 13 Comm: kworker/u8:0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026 Workqueue: writeback wb_workfn (flush-8:0) 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:folio_create_buffers+0x1/0x170 fs/buffer.c:1693 Code: c7 c6 00 53 41 8c e8 1e 0c be fe 90 0f 0b e8 d6 10 5f ff 90 0f 0b 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55 <41> 57 41 56 41 54 53 89 d5 49 89 f6 48 89 fb 49 bc 00 00 00 00 00 RSP: 0018:ffffc90000127028 EFLAGS: 00000202 RAX: ffffffff826a0cc7 RBX: 0000000000100001 RCX: 0000000000000000 RDX: 0000000000000003 RSI: ffff888028579da8 RDI: ffffea000052f980 RBP: ffffc900001271a8 R08: ffffea000052f987 R09: 1ffffd40000a5f30 R10: dffffc0000000000 R11: fffff940000a5f31 R12: ffffc90000127140 R13: ffffea000052f980 R14: ffffea000052f980 R15: dffffc0000000000 __block_write_full_folio+0xd6/0xdb0 fs/buffer.c:1745 blkdev_writepages+0xef/0x1b0 block/fops.c:495 do_writepages+0x338/0x560 mm/page-writeback.c:2562 __writeback_single_inode+0x136/0x1220 fs/fs-writeback.c:1809 writeback_sb_inodes+0x9de/0x1af0 fs/fs-writeback.c:2120 __writeback_inodes_wb+0x114/0x250 fs/fs-writeback.c:2196 wb_writeback+0x42f/0xad0 fs/fs-writeback.c:2307 wb_check_old_data_flush fs/fs-writeback.c:2411 [inline] wb_do_writeback fs/fs-writeback.c:2490 [inline] wb_workfn+0xc92/0x10f0 fs/fs-writeback.c:2518 process_one_work kernel/workqueue.c:3495 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3578 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3659 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): 0: c7 c6 00 53 41 8c mov $0x8c415300,%esi 6: e8 1e 0c be fe call 0xfebe0c29 b: 90 nop c: 0f 0b ud2 e: e8 d6 10 5f ff call 0xff5f10e9 13: 90 nop 14: 0f 0b ud2 16: 0f 1f 00 nopl (%rax) 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: 90 nop 29: 55 push %rbp * 2a: 41 57 push %r15 <-- trapping instruction 2c: 41 56 push %r14 2e: 41 54 push %r12 30: 53 push %rbx 31: 89 d5 mov %edx,%ebp 33: 49 89 f6 mov %rsi,%r14 36: 48 89 fb mov %rdi,%rbx 39: 49 rex.WB 3a: bc 00 00 00 00 mov $0x0,%esp