list_add double add: new=ffff88804595e160, prev=ffff88804f1b2050, next=ffff88804595e160. ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:29! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 12683 Comm: syz-executor.3 Not tainted 5.15.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 Code: 74 c9 d8 fa 4c 89 e1 48 c7 c7 c0 6e e4 89 e8 aa 7f f1 ff 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 00 70 e4 89 e8 93 7f f1 ff <0f> 0b 48 89 f1 48 c7 c7 80 6f e4 89 4c 89 e6 e8 7f 7f f1 ff 0f 0b RSP: 0018:ffffc90002c4f8c8 EFLAGS: 00010282 RAX: 0000000000000058 RBX: 0000000000000040 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815ef908 RDI: fffff52000589f0b RBP: ffff88804595e160 R08: 0000000000000058 R09: 0000000000000000 R10: ffffffff815e96ee R11: 0000000000000000 R12: ffff88804595e160 R13: ffff88804595e000 R14: ffff88804595e160 R15: ffff88804595e160 FS: 00007f9dd00a1700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13607cf718 CR3: 0000000023a66000 CR4: 00000000003506e0 DR0: 0000000020000480 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: __list_add_rcu include/linux/rculist.h:79 [inline] list_add_rcu include/linux/rculist.h:106 [inline] netif_napi_add+0x3fd/0x9c0 net/core/dev.c:6913 veth_enable_xdp_range+0x1b1/0x300 drivers/net/veth.c:1009 veth_enable_xdp+0x2a5/0x620 drivers/net/veth.c:1063 veth_xdp_set drivers/net/veth.c:1483 [inline] veth_xdp+0x4d4/0x780 drivers/net/veth.c:1523 dev_xdp_install+0xd5/0x270 net/core/dev.c:9384 dev_xdp_attach+0x83d/0x1010 net/core/dev.c:9532 dev_xdp_attach_link net/core/dev.c:9551 [inline] bpf_xdp_link_attach+0x262/0x410 net/core/dev.c:9714 link_create kernel/bpf/syscall.c:4289 [inline] __sys_bpf+0x5640/0x5f00 kernel/bpf/syscall.c:4688 __do_sys_bpf kernel/bpf/syscall.c:4722 [inline] __se_sys_bpf kernel/bpf/syscall.c:4720 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:4720 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9dd2b4cae9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9dd00a1188 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f9dd2c60020 RCX: 00007f9dd2b4cae9 RDX: 0000000000000040 RSI: 0000000020000240 RDI: 000000000000001c RBP: 00007f9dd2ba6f6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe4ffa99df R14: 00007f9dd00a1300 R15: 0000000000022000 Modules linked in: ---[ end trace e63ec615145a2036 ]--- RIP: 0010:__list_add_valid.cold+0x26/0x3c lib/list_debug.c:29 Code: 74 c9 d8 fa 4c 89 e1 48 c7 c7 c0 6e e4 89 e8 aa 7f f1 ff 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 00 70 e4 89 e8 93 7f f1 ff <0f> 0b 48 89 f1 48 c7 c7 80 6f e4 89 4c 89 e6 e8 7f 7f f1 ff 0f 0b RSP: 0018:ffffc90002c4f8c8 EFLAGS: 00010282 RAX: 0000000000000058 RBX: 0000000000000040 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff815ef908 RDI: fffff52000589f0b RBP: ffff88804595e160 R08: 0000000000000058 R09: 0000000000000000 R10: ffffffff815e96ee R11: 0000000000000000 R12: ffff88804595e160 R13: ffff88804595e000 R14: ffff88804595e160 R15: ffff88804595e160 FS: 00007f9dd00a1700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f13607cf718 CR3: 0000000023a66000 CR4: 00000000003506e0 DR0: 0000000020000480 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600