list_del corruption, ffff888025788890->next is NULL
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:53!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6711 Comm: syz.0.180 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026
RIP: 0010:__list_del_entry_valid_or_report+0xdf/0x190 lib/list_debug.c:52
Code: 49 39 1f 0f 85 9e 00 00 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f e9 52 5c f8 06 cc 48 c7 c7 a0 e8 27 8c 48 89 de e8 12 51 6e fc 90 <0f> 0b 48 c7 c7 00 e9 27 8c 48 89 de e8 00 51 6e fc 90 0f 0b 4c 89
RSP: 0018:ffffc90000a08d58 EFLAGS: 00010046
RAX: 0000000000000033 RBX: ffff888025788890 RCX: 79efb15c2487ed00
RDX: 0000000000000100 RSI: 0000000080000102 RDI: 0000000000000000
RBP: 0000000000000203 R08: ffffc90000a08ae7 R09: 1ffff9200014115c
R10: dffffc0000000000 R11: fffff5200014115d R12: 1ffff11004af1112
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fd9234cf6c0(0000) GS:ffff888125557000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e55b0fd58 CR3: 0000000078828000 CR4: 00000000003526f0
Call Trace:
__list_del_entry_valid include/linux/list.h:132 [inline]
__list_del_entry include/linux/list.h:223 [inline]
list_del_init include/linux/list.h:295 [inline]
dst_destroy+0x202/0x5a0 net/core/dst.c:163
rcu_do_batch kernel/rcu/tree.c:2617 [inline]
rcu_core+0x7cd/0x1070 kernel/rcu/tree.c:2869
handle_softirqs+0x22a/0x870 kernel/softirq.c:626
__do_softirq kernel/softirq.c:660 [inline]
invoke_softirq kernel/softirq.c:496 [inline]
__irq_exit_rcu+0x5f/0x150 kernel/softirq.c:727
irq_exit_rcu+0x9/0x30 kernel/softirq.c:743
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1056 [inline]
sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1056
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697
RIP: 0010:finish_task_switch+0x245/0x920 kernel/sched/core.c:5152
Code: 00 00 48 85 db 0f 85 e8 01 00 00 e9 56 05 00 00 4c 8b 75 d0 49 83 c4 48 4c 89 e7 e8 95 8b 1c 0a e8 40 9a 38 00 fb 4c 8b 65 c0 <49> 8d bc 24 70 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc900053cf1f8 EFLAGS: 00000206
RAX: 000000000000c8d7 RBX: 0000000000000000 RCX: 0000000080000001
RDX: 0000000000000000 RSI: ffffffff8defcb55 RDI: ffffffff8c27e560
RBP: ffffc900053cf250 R08: ffffffff9011e8b7 R09: 1ffffffff2023d16
R10: dffffc0000000000 R11: fffffbfff2023d17 R12: ffff88807caf3d00
R13: dffffc0000000000 R14: ffff8880779fbd00 R15: ffff8880b873b898
context_switch kernel/sched/core.c:5298 [inline]
__schedule+0x15e5/0x52d0 kernel/sched/core.c:6908
__schedule_loop kernel/sched/core.c:6990 [inline]
schedule+0x164/0x360 kernel/sched/core.c:7005
schedule_timeout+0xc3/0x2c0 kernel/time/sleep_timeout.c:75
unix_wait_for_peer+0x1f5/0x2f0 net/unix/af_unix.c:1618
unix_dgram_sendmsg+0xb92/0x18e0 net/unix/af_unix.c:2245
sock_sendmsg_nosec+0x18f/0x1d0 net/socket.c:802
__sock_sendmsg net/socket.c:817 [inline]
____sys_sendmsg+0x589/0x8c0 net/socket.c:2675
___sys_sendmsg+0x2a5/0x360 net/socket.c:2729
__sys_sendmmsg+0x27c/0x4e0 net/socket.c:2818
__do_sys_sendmmsg net/socket.c:2845 [inline]
__se_sys_sendmmsg net/socket.c:2842 [inline]
__x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2842
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0x14d/0xf80 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd92259c799
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:00007fd9234cf028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007fd922815fa0 RCX: 00007fd92259c799
RDX: 0000000000000651 RSI: 0000200000000000 RDI: 0000000000000007
RBP: 00007fd922632bd9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fd922816038 R14: 00007fd922815fa0 R15: 00007ffdf6aad538
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0xdf/0x190 lib/list_debug.c:52
Code: 49 39 1f 0f 85 9e 00 00 00 b0 01 5b 41 5c 41 5d 41 5e 41 5f e9 52 5c f8 06 cc 48 c7 c7 a0 e8 27 8c 48 89 de e8 12 51 6e fc 90 <0f> 0b 48 c7 c7 00 e9 27 8c 48 89 de e8 00 51 6e fc 90 0f 0b 4c 89
RSP: 0018:ffffc90000a08d58 EFLAGS: 00010046
RAX: 0000000000000033 RBX: ffff888025788890 RCX: 79efb15c2487ed00
RDX: 0000000000000100 RSI: 0000000080000102 RDI: 0000000000000000
RBP: 0000000000000203 R08: ffffc90000a08ae7 R09: 1ffff9200014115c
R10: dffffc0000000000 R11: fffff5200014115d R12: 1ffff11004af1112
R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fd9234cf6c0(0000) GS:ffff888125557000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7e55b0fd58 CR3: 0000000078828000 CR4: 00000000003526f0
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 48 85 db test %rbx,%rbx
5: 0f 85 e8 01 00 00 jne 0x1f3
b: e9 56 05 00 00 jmp 0x566
10: 4c 8b 75 d0 mov -0x30(%rbp),%r14
14: 49 83 c4 48 add $0x48,%r12
18: 4c 89 e7 mov %r12,%rdi
1b: e8 95 8b 1c 0a call 0xa1c8bb5
20: e8 40 9a 38 00 call 0x389a65
25: fb sti
26: 4c 8b 65 c0 mov -0x40(%rbp),%r12
* 2a: 49 8d bc 24 70 16 00 lea 0x1670(%r12),%rdi <-- trapping instruction
31: 00
32: 48 89 f8 mov %rdi,%rax
35: 48 c1 e8 03 shr $0x3,%rax
39: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
3e: 84 c0 test %al,%al