Illegal XDP return value 4294942013 on prog (id 1) dev N/A, expect packet loss! BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 11a3ef067 P4D 11a3ef067 PUD 11a3b3067 PMD 0 Oops: 0002 [#1] PREEMPT SMP CPU: 1 PID: 2793 Comm: syz-executor.0 Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__hlist_del include/linux/list.h:988 [inline] RIP: 0010:hlist_del include/linux/list.h:1002 [inline] RIP: 0010:page_pool_unlist+0x39/0x70 net/core/page_pool_user.c:56 Code: 11 83 e8 da da 2c 00 8b b3 f8 06 00 00 48 c7 c7 00 85 11 83 e8 68 5c 2b 00 48 8b 83 e8 06 00 00 48 8b 93 f0 06 00 00 48 85 c0 <48> 89 02 74 04 48 89 50 08 48 b8 00 01 00 00 00 00 ad de 48 c7 c7 RSP: 0018:ffffc90000fa3af8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811749c800 RCX: ffffc90000fa3a94 RDX: 0000000000000000 RSI: ffffffff82b20a59 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000080001 R09: ffff88810df5dbf8 R10: 0000000000080000 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90000fa3ca0 R15: ffff88811a364070 FS: 00007f755c98c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011a3e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __page_pool_destroy net/core/page_pool.c:846 [inline] page_pool_release+0x1e9/0x220 net/core/page_pool.c:886 page_pool_destroy+0xa3/0x190 net/core/page_pool.c:948 xdp_test_run_teardown net/bpf/test_run.c:216 [inline] bpf_test_run_xdp_live+0x7e9/0x8e0 net/bpf/test_run.c:388 bpf_prog_test_run_xdp+0x2d3/0x640 net/bpf/test_run.c:1254 bpf_prog_test_run kernel/bpf/syscall.c:4041 [inline] __sys_bpf+0xa3f/0x2640 kernel/bpf/syscall.c:5402 __do_sys_bpf kernel/bpf/syscall.c:5488 [inline] __se_sys_bpf kernel/bpf/syscall.c:5486 [inline] __x64_sys_bpf+0x19/0x20 kernel/bpf/syscall.c:5486 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f755ce09ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f755c98c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f755cf28f80 RCX: 00007f755ce09ae9 RDX: 0000000000000048 RSI: 0000000020000340 RDI: 000000000000000a RBP: 00007f755ce5547a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f755cf28f80 R15: 00007ffdd135ed28 Modules linked in: CR2: 0000000000000000 ---[ end trace 0000000000000000 ]--- RIP: 0010:__hlist_del include/linux/list.h:988 [inline] RIP: 0010:hlist_del include/linux/list.h:1002 [inline] RIP: 0010:page_pool_unlist+0x39/0x70 net/core/page_pool_user.c:56 Code: 11 83 e8 da da 2c 00 8b b3 f8 06 00 00 48 c7 c7 00 85 11 83 e8 68 5c 2b 00 48 8b 83 e8 06 00 00 48 8b 93 f0 06 00 00 48 85 c0 <48> 89 02 74 04 48 89 50 08 48 b8 00 01 00 00 00 00 ad de 48 c7 c7 RSP: 0018:ffffc90000fa3af8 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88811749c800 RCX: ffffc90000fa3a94 RDX: 0000000000000000 RSI: ffffffff82b20a59 RDI: 00000000ffffffff RBP: 0000000000000000 R08: 0000000000080001 R09: ffff88810df5dbf8 R10: 0000000000080000 R11: 0000000000000002 R12: 0000000000000000 R13: 0000000000000000 R14: ffffc90000fa3ca0 R15: ffff88811a364070 FS: 00007f755c98c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000011a3e3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 11 83 e8 da da 2c adc %eax,0x2cdadae8(%rbx) 6: 00 8b b3 f8 06 00 add %cl,0x6f8b3(%rbx) c: 00 48 c7 add %cl,-0x39(%rax) f: c7 00 85 11 83 e8 movl $0xe8831185,(%rax) 15: 68 5c 2b 00 48 push $0x48002b5c 1a: 8b 83 e8 06 00 00 mov 0x6e8(%rbx),%eax 20: 48 8b 93 f0 06 00 00 mov 0x6f0(%rbx),%rdx 27: 48 85 c0 test %rax,%rax * 2a: 48 89 02 mov %rax,(%rdx) <-- trapping instruction 2d: 74 04 je 0x33 2f: 48 89 50 08 mov %rdx,0x8(%rax) 33: 48 b8 00 01 00 00 00 movabs $0xdead000000000100,%rax 3a: 00 ad de 3d: 48 rex.W 3e: c7 .byte 0xc7 3f: c7 .byte 0xc7