slab kmalloc-2k start ffff88803615a000 pointer offset 960 size 2048
list_del corruption. prev->next should be ffff888051e586a8, but was ffff888051df5ba8. (prev=ffff88803615a3c0)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:62!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 6014 Comm: kworker/0:4 Not tainted 6.16.0-rc3-syzkaller-00233-g35e261cd95dd #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: events bpf_prog_free_deferred
RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62
Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 40 83 15 8c e8 07 e9 b8 fc 90 <0f> 0b 4c 89 e7 e8 5c 9f 1d fd 48 89 ea 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc9000311fb38 EFLAGS: 00010286
RAX: 000000000000006d RBX: ffff888051e586a8 RCX: ffffffff819b00b9
RDX: 0000000000000000 RSI: ffffffff819b7f46 RDI: 0000000000000005
RBP: ffff88803615a3c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffff88803615a3c0
R13: ffff888051e586b0 R14: ffffc9000d895038 R15: ffff8880329c3ea8
FS: 0000000000000000(0000) GS:ffff8880d6752000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555e87a808 CR3: 000000004f210000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000004144
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__list_del_entry_valid include/linux/list.h:124 [inline]
__list_del_entry include/linux/list.h:215 [inline]
list_del include/linux/list.h:229 [inline]
nsim_bpf_destroy_prog+0xf9/0x290 drivers/net/netdevsim/bpf.c:281
__bpf_prog_offload_destroy+0x10d/0x320 kernel/bpf/offload.c:114
bpf_prog_dev_bound_destroy+0x1e9/0x330 kernel/bpf/offload.c:393
bpf_prog_free_deferred+0x583/0x6f0 kernel/bpf/core.c:2872
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3321 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3402
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x5d4/0x6f0 arch/x86/kernel/process.c:148
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid_or_report+0x17a/0x200 lib/list_debug.c:62
Code: 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8d 00 00 00 48 8b 55 00 48 89 e9 48 89 de 48 c7 c7 40 83 15 8c e8 07 e9 b8 fc 90 <0f> 0b 4c 89 e7 e8 5c 9f 1d fd 48 89 ea 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc9000311fb38 EFLAGS: 00010286
RAX: 000000000000006d RBX: ffff888051e586a8 RCX: ffffffff819b00b9
RDX: 0000000000000000 RSI: ffffffff819b7f46 RDI: 0000000000000005
RBP: ffff88803615a3c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000001 R12: ffff88803615a3c0
R13: ffff888051e586b0 R14: ffffc9000d895038 R15: ffff8880329c3ea8
FS: 0000000000000000(0000) GS:ffff8880d6752000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555e87a808 CR3: 000000000e382000 CR4: 0000000000352ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000004144
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400