Oops: general protection fault, probably for non-canonical address 0xe3fffa2200839395: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: maybe wild-memory-access in range [0x1ffff110041c9ca8-0x1ffff110041c9caf] CPU: 1 UID: 0 PID: 6291 Comm: syz.1.318 Not tainted 6.10.0-next-20240719-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:__xsk_map_flush+0x56/0x2b0 Code: 80 3c 28 00 74 08 48 89 df e8 d6 38 81 f6 4c 8b 3b 49 39 df 0f 84 43 02 00 00 48 89 1c 24 4c 89 f8 48 c1 e8 03 48 89 44 24 08 <42> 80 3c 28 00 74 08 4c 89 ff e8 ab 38 81 f6 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000a18ae8 EFLAGS: 00010206 RAX: 03fffe2200839395 RBX: ffffc900034e71c0 RCX: ffff888020e4da00 RDX: 0000000080000101 RSI: 0000000000000010 RDI: ffffc900034e71c0 RBP: dffffc0000000000 R08: ffffffff896d655a R09: 1ffffffff1f5fb95 R10: dffffc0000000000 R11: fffffbfff1f5fb96 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 1ffff110041c9caa FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f543d7f9f98 CR3: 00000000200b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: xdp_do_check_flushed+0x18e/0x240 net/core/filter.c:4308 __napi_poll+0xe4/0x490 net/core/dev.c:6774 napi_poll net/core/dev.c:6840 [inline] net_rx_action+0x89b/0x1240 net/core/dev.c:6962 handle_softirqs+0x2c4/0x970 kernel/softirq.c:554 __do_softirq kernel/softirq.c:588 [inline] invoke_softirq kernel/softirq.c:428 [inline] __irq_exit_rcu+0xf4/0x1c0 kernel/softirq.c:637 irq_exit_rcu+0x9/0x30 kernel/softirq.c:649 common_interrupt+0xaa/0xd0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 RIP: 0010:on_stack arch/x86/include/asm/stacktrace.h:56 [inline] RIP: 0010:unwind_next_frame+0x1dc9/0x2a00 arch/x86/kernel/unwind_orc.c:665 Code: 8d 7d 08 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 7b 21 ba 00 4c 8b 75 08 48 8d 5d 10 48 89 d8 48 c1 e8 03 42 80 3c 28 00 <74> 08 48 89 df e8 5d 21 ba 00 4d 39 e6 77 77 48 8b 1b 4c 39 e3 76 RSP: 0018:ffffc900034e7548 EFLAGS: 00000246 RAX: 1ffff9200069cec6 RBX: ffffc900034e7630 RCX: ffff888020e4da00 RDX: ffff888020e4da00 RSI: 0000000000000001 RDI: ffffc900034e7628 RBP: ffffc900034e7620 R08: ffffffff814124cb R09: ffffffff814120bf R10: 0000000000000003 R11: ffff888020e4da00 R12: ffffc900034e7c80 R13: dffffc0000000000 R14: ffffc900034e0000 R15: 1ffff9200069cec4 arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 save_stack+0xfb/0x1f0 mm/page_owner.c:156 __reset_page_owner+0x76/0x430 mm/page_owner.c:297 reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1093 [inline] free_unref_page+0xd22/0xea0 mm/page_alloc.c:2643 __folio_put+0x2c8/0x440 mm/swap.c:128 folio_put include/linux/mm.h:1486 [inline] put_page include/linux/mm.h:1558 [inline] do_exit+0x1cec/0x27f0 kernel/exit.c:921 do_group_exit+0x207/0x2c0 kernel/exit.c:1031 get_signal+0x16a1/0x1740 kernel/signal.c:2917 arch_do_signal_or_restart+0x96/0x830 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fece5d75f19 Code: Unable to access opcode bytes at 0x7fece5d75eef. RSP: 002b:00007fece6c140f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fece5f05f68 RCX: 00007fece5d75f19 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fece5f05f68 RBP: 00007fece5f05f60 R08: 00007fece6c146c0 R09: 00007fece6c146c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fece5f05f6c R13: 000000000000000b R14: 00007ffe55168280 R15: 00007ffe55168368 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__xsk_map_flush+0x56/0x2b0 Code: 80 3c 28 00 74 08 48 89 df e8 d6 38 81 f6 4c 8b 3b 49 39 df 0f 84 43 02 00 00 48 89 1c 24 4c 89 f8 48 c1 e8 03 48 89 44 24 08 <42> 80 3c 28 00 74 08 4c 89 ff e8 ab 38 81 f6 49 8b 07 48 89 44 24 RSP: 0018:ffffc90000a18ae8 EFLAGS: 00010206 RAX: 03fffe2200839395 RBX: ffffc900034e71c0 RCX: ffff888020e4da00 RDX: 0000000080000101 RSI: 0000000000000010 RDI: ffffc900034e71c0 RBP: dffffc0000000000 R08: ffffffff896d655a R09: 1ffffffff1f5fb95 R10: dffffc0000000000 R11: fffffbfff1f5fb96 R12: 0000000000000000 R13: dffffc0000000000 R14: 0000000000000010 R15: 1ffff110041c9caa FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f543d7f9f98 CR3: 00000000200b6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) 4: 74 08 je 0xe 6: 48 89 df mov %rbx,%rdi 9: e8 d6 38 81 f6 call 0xf68138e4 e: 4c 8b 3b mov (%rbx),%r15 11: 49 39 df cmp %rbx,%r15 14: 0f 84 43 02 00 00 je 0x25d 1a: 48 89 1c 24 mov %rbx,(%rsp) 1e: 4c 89 f8 mov %r15,%rax 21: 48 c1 e8 03 shr $0x3,%rax 25: 48 89 44 24 08 mov %rax,0x8(%rsp) * 2a: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 ff mov %r15,%rdi 34: e8 ab 38 81 f6 call 0xf68138e4 39: 49 8b 07 mov (%r15),%rax 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 44 rex.R 3f: 24 .byte 0x24