list_del corruption. prev->next should be ffff888027b71a00, but was ffff8880304ba900. (prev=ffffffff91464340) ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:62! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 0 UID: 0 PID: 6817 Comm: syz.0.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 20 15 83 8c e8 47 cb e0 fb 90 <0f> 0b 4c 89 e7 e8 9c fe 1f fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90003946e48 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888027b71a00 RCX: 0000000000000000 RDX: 000000000000006d RSI: ffffffff81ebe399 RDI: fffff52000728dba RBP: ffffffff91464340 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff91464340 R13: 0000000000000001 R14: ffffc90003946f20 R15: ffffc90003946f20 FS: 0000555571e24500(0000) GS:ffff8880d449c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000000c0 CR3: 0000000052e9a000 CR4: 0000000000352ef0 Call Trace: __list_del_entry_valid include/linux/list.h:140 [inline] __list_del_entry include/linux/list.h:261 [inline] list_del include/linux/list.h:275 [inline] flow_block_cb_setup_simple+0x36e/0xa20 net/core/flow_offload.c:367 nsim_setup_tc+0x1af/0x200 drivers/net/netdevsim/tc.c:88 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_abort+0x4c7/0x670 net/netfilter/nf_tables_offload.c:532 nft_flow_rule_offload_commit+0x5ac/0x6a0 net/netfilter/nf_tables_offload.c:620 nf_tables_commit+0xd7b/0x9300 net/netfilter/nf_tables_api.c:11040 nfnetlink_rcv_batch+0x1a4d/0x2880 net/netfilter/nfnetlink.c:574 nfnetlink_rcv_skb_batch net/netfilter/nfnetlink.c:647 [inline] nfnetlink_rcv+0x3bd/0x440 net/netfilter/nfnetlink.c:665 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x668/0x950 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x9ac/0x10c0 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec net/socket.c:800 [inline] __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0xa99/0xc30 net/socket.c:2715 ___sys_sendmsg+0x190/0x1e0 net/socket.c:2769 __sys_sendmsg+0x160/0x210 net/socket.c:2801 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7faf4779f559 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:00007fffb21fded8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007faf47a25fa0 RCX: 00007faf4779f559 RDX: 0000000000000000 RSI: 00002000000000c0 RDI: 0000000000000003 RBP: 00007faf47836b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007faf47a25fac R14: 00007faf47a25fa0 R15: 00007faf47a25fa0 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 20 15 83 8c e8 47 cb e0 fb 90 <0f> 0b 4c 89 e7 e8 9c fe 1f fd 48 89 ea 48 b8 00 00 00 00 00 fc ff RSP: 0018:ffffc90003946e48 EFLAGS: 00010282 RAX: 000000000000006d RBX: ffff888027b71a00 RCX: 0000000000000000 RDX: 000000000000006d RSI: ffffffff81ebe399 RDI: fffff52000728dba RBP: ffffffff91464340 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff91464340 R13: 0000000000000001 R14: ffffc90003946f20 R15: ffffc90003946f20 FS: 0000555571e24500(0000) GS:ffff8880d449c000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000321748ef4000 CR3: 0000000052e9a000 CR4: 0000000000352ef0