Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 UID: 0 PID: 28822 Comm: syz.2.8061 Not tainted 6.11.0-rc1-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:bq_flush_to_queue+0x4a/0x530 kernel/bpf/cpumap.c:675
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 dc 04 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 75 50 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e d6 03 00 00 41 8b 06 89 44 24
RSP: 0018:ffffc900008b0c10 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 00007fba33577259 RCX: ffffffff88f948f9
RDX: 0000000000000000 RSI: ffffffff81b022b6 RDI: ffffc90003e17638
RBP: ffffc90003e175e8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffc90003e175e8 R14: 0000000000000000 R15: ffffc900008b0dd8
FS: 0000000000000000(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d114ff8 CR3: 000000000db7c000 CR4: 0000000000350ef0
Call Trace:
__cpu_map_flush+0x7b/0x110 kernel/bpf/cpumap.c:767
xdp_do_check_flushed+0x308/0x4e0 net/core/filter.c:4311
__napi_poll.constprop.0+0xd1/0x550 net/core/dev.c:6774
napi_poll net/core/dev.c:6840 [inline]
net_rx_action+0xa92/0x1010 net/core/dev.c:6962
handle_softirqs+0x216/0x8f0 kernel/softirq.c:554
__do_softirq kernel/softirq.c:588 [inline]
invoke_softirq kernel/softirq.c:428 [inline]
__irq_exit_rcu kernel/softirq.c:637 [inline]
irq_exit_rcu+0xbb/0x120 kernel/softirq.c:649
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x95/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:__sanitizer_cov_trace_switch+0x12/0x90 kernel/kcov.c:321
Code: 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 41 56 41 55 41 54 49 89 fc 55 48 89 f5 53 <48> 8b 46 08 48 83 f8 20 74 6b 77 48 48 83 f8 08 74 5b 48 83 f8 10
RSP: 0018:ffffc90003e17530 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90003e175e0 RCX: 1ffff920007c2ec3
RDX: 0000000000000006 RSI: ffffffff8b49d5e0 RDI: 0000000000000000
RBP: ffffffff8b49d5e0 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffffc90003e17f58 R14: 0000000000000000 R15: ffffc90003e17616
unwind_next_frame+0x1027/0x23a0 arch/x86/kernel/unwind_orc.c:641
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:579
poison_slab_object+0xf7/0x160 mm/kasan/common.c:240
__kasan_slab_free+0x32/0x50 mm/kasan/common.c:256
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2252 [inline]
slab_free mm/slub.c:4473 [inline]
kmem_cache_free+0x12f/0x3a0 mm/slub.c:4548
remove_vma+0x12b/0x180 mm/mmap.c:187
exit_mmap+0x4d4/0xb20 mm/mmap.c:3436
__mmput+0x12a/0x480 kernel/fork.c:1345
mmput+0x62/0x70 kernel/fork.c:1367
exit_mm kernel/exit.c:571 [inline]
do_exit+0x9bf/0x2bb0 kernel/exit.c:869
do_group_exit+0xd3/0x2a0 kernel/exit.c:1031
get_signal+0x25fd/0x2770 kernel/signal.c:2917
arch_do_signal_or_restart+0x90/0x7e0 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+0x150/0x2a0 kernel/entry/common.c:218
do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fba33577299
Code: Unable to access opcode bytes at 0x7fba3357726f.
RSP: 002b:00007fba342a30f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00007fba33705f88 RCX: 00007fba33577299
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fba33705f88
RBP: 00007fba33705f80 R08: 00007fba342a36c0 R09: 00007fba342a36c0
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fba33705f8c
R13: 000000000000000b R14: 00007ffd8762a660 R15: 00007ffd8762a748
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:bq_flush_to_queue+0x4a/0x530 kernel/bpf/cpumap.c:675
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 dc 04 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 75 50 4c 89 f2 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e d6 03 00 00 41 8b 06 89 44 24
RSP: 0018:ffffc900008b0c10 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 00007fba33577259 RCX: ffffffff88f948f9
RDX: 0000000000000000 RSI: ffffffff81b022b6 RDI: ffffc90003e17638
RBP: ffffc90003e175e8 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: dffffc0000000000
R13: ffffc90003e175e8 R14: 0000000000000000 R15: ffffc900008b0dd8
FS: 0000000000000000(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d114ff8 CR3: 000000000db7c000 CR4: 0000000000350ef0
----------------
Code disassembly (best guess), 3 bytes skipped:
0: df 48 89 fisttps -0x77(%rax)
3: fa cli
4: 48 c1 ea 03 shr $0x3,%rdx
8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
c: 0f 85 dc 04 00 00 jne 0x4ee
12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
19: fc ff df
1c: 4d 8b 75 50 mov 0x50(%r13),%r14
20: 4c 89 f2 mov %r14,%rdx
23: 48 c1 ea 03 shr $0x3,%rdx
* 27: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2b: 84 c0 test %al,%al
2d: 74 08 je 0x37
2f: 3c 03 cmp $0x3,%al
31: 0f 8e d6 03 00 00 jle 0x40d
37: 41 8b 06 mov (%r14),%eax
3a: 89 .byte 0x89
3b: 44 rex.R
3c: 24 .byte 0x24