non-slab/vmalloc memory list_del corruption. prev->next should be ffff88805f7a0f00, but was ffffffff8fb66fc0. (prev=ffffffff8fb66fc0) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 2 UID: 0 PID: 10184 Comm: syz.3.722 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:__list_del_entry_valid_or_report+0x14a/0x1d0 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 c0 fa 1a 8c e8 27 b1 26 fc 90 <0f> 0b 4c 89 e7 e8 4c ea 52 fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90007536f08 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff88805f7a0f00 RCX: 0000000000000000 RDX: 000000000000006d RSI: ffffffff81e71769 RDI: fffff52000ea6dd2 RBP: ffffffff8fb66fc0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8fb66fc0 R13: 0000000000000001 R14: ffffc90007536fe0 R15: ffffc90007536fe0 FS: 0000000000000000(0000) GS:ffff88809734e000(0063) knlGS:00000000f544cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000080f65018 CR3: 00000000534ee000 CR4: 0000000000352ef0 Call Trace: __list_del_entry_valid include/linux/list.h:132 [inline] __list_del_entry include/linux/list.h:223 [inline] list_del include/linux/list.h:237 [inline] flow_block_cb_setup_simple+0x36e/0xa20 net/core/flow_offload.c:367 nsim_setup_tc+0x115/0x150 drivers/net/netdevsim/netdev.c:374 nft_block_offload_cmd+0x144/0x2f0 net/netfilter/nf_tables_offload.c:397 nft_chain_offload_cmd net/netfilter/nf_tables_offload.c:451 [inline] nft_flow_block_chain+0x175/0x4b0 net/netfilter/nf_tables_offload.c:471 nft_flow_offload_chain net/netfilter/nf_tables_offload.c:513 [inline] nft_flow_rule_offload_commit+0x181/0x6a0 net/netfilter/nf_tables_offload.c:592 nf_tables_commit+0x5f0/0x8ae0 net/netfilter/nf_tables_api.c:10841 nfnetlink_rcv_batch+0x1a57/0x2880 net/netfilter/nfnetlink.c:576 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:649 [inline] nfnetlink_rcv+0x3bd/0x440 net/netfilter/nfnetlink.c:667 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa54/0xc30 net/socket.c:2592 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2646 __sys_sendmsg+0x170/0x220 net/socket.c:2678 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xe3/0x8c0 arch/x86/entry/syscall_32.c:307 do_fast_syscall_32+0x32/0x70 arch/x86/entry/syscall_32.c:332 entry_SYSENTER_compat_after_hwframe+0x84/0x8e RIP: 0023:0xf707ef6c Code: d2 74 05 c1 e8 0c 89 02 8b 5d fc 31 c0 c9 c3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 58 b8 77 00 00 00 cd 80 0f 0b 8d b6 00 00 00 00 b8 ad RSP: 002b:00000000f544c50c EFLAGS: 00000292 ORIG_RAX: 0000000000000172 RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 0000000080000cc0 RDX: 000000000000c050 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000292 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_del_entry_valid_or_report+0x14a/0x1d0 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 c0 fa 1a 8c e8 27 b1 26 fc 90 <0f> 0b 4c 89 e7 e8 4c ea 52 fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90007536f08 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff88805f7a0f00 RCX: 0000000000000000 RDX: 000000000000006d RSI: ffffffff81e71769 RDI: fffff52000ea6dd2 RBP: ffffffff8fb66fc0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: ffffffff8fb66fc0 R13: 0000000000000001 R14: ffffc90007536fe0 R15: ffffc90007536fe0 FS: 0000000000000000(0000) GS:ffff88809734e000(0063) knlGS:00000000f544cb40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000080f65018 CR3: 00000000534ee000 CR4: 0000000000352ef0 ---------------- Code disassembly (best guess): 0: d2 74 05 c1 shlb %cl,-0x3f(%rbp,%rax,1) 4: e8 0c 89 02 8b call 0x8b028915 9: 5d pop %rbp a: fc cld b: 31 c0 xor %eax,%eax d: c9 leave e: c3 ret f: 90 nop 10: 90 nop 11: 90 nop 12: 90 nop 13: 90 nop 14: 90 nop 15: 90 nop 16: 90 nop 17: 90 nop 18: 90 nop 19: 90 nop 1a: 90 nop 1b: 90 nop 1c: 90 nop 1d: 90 nop 1e: 0f 1f 00 nopl (%rax) 21: 51 push %rcx 22: 52 push %rdx 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 ret 2e: 58 pop %rax 2f: b8 77 00 00 00 mov $0x77,%eax 34: cd 80 int $0x80 36: 0f 0b ud2 38: 8d b6 00 00 00 00 lea 0x0(%rsi),%esi 3e: b8 .byte 0xb8 3f: ad lods %ds:(%rsi),%eax