Oops: general protection fault, probably for non-canonical address 0xdffffc00152c5587: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: probably user-memory-access in range [0x00000000a962ac38-0x00000000a962ac3f]
CPU: 1 PID: 5623 Comm: syz.2.120 Not tainted 6.10.0-syzkaller-10486-g8e5c0abfa02d #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:__cpu_map_flush+0x48/0x110 kernel/bpf/cpumap.c:766
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 d1 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 26 49 8d 6c 24 c0 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 a1 00 00 00 49 8b 04 24 4d 39 e6 48 8d 58 c0 74
RSP: 0018:ffffc900008b0c88 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffffc9000338fa18 RCX: ffffffff88d51049
RDX: 00000000152c5587 RSI: ffffffff81b02704 RDI: ffffc9000338fa58
RBP: 00000000a962abfd R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8b2f31e0 R12: 00000000a962ac3d
R13: ffff888022dd8fb0 R14: ffffc9000338fa58 R15: ffffc900008b0dd8
FS: 00007f7de8cd26c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f036b4bcfa8 CR3: 000000002eb96000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
xdp_do_check_flushed+0x308/0x4e0 net/core/filter.c:4304
__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
common_interrupt+0xb0/0xd0 arch/x86/kernel/irq.c:278
asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693
RIP: 0010:rol32 include/linux/bitops.h:122 [inline]
RIP: 0010:jhash2 include/linux/jhash.h:129 [inline]
RIP: 0010:hash_stack lib/stackdepot.c:514 [inline]
RIP: 0010:stack_depot_save_flags+0x96/0x8f0 lib/stackdepot.c:614
Code: f4 03 7a f8 89 c6 41 29 c1 c1 c6 04 41 01 d9 01 f8 44 31 ce 8d 1c 06 29 f7 41 89 f9 89 f7 c1 c7 06 44 31 cf 89 fe 29 f8 01 df c6 08 31 f0 29 c3 89 de 89 c3 01 f8 c1 c3 10 31 f3 89 de 29 df
RSP: 0018:ffffc9000338fab0 EFLAGS: 00000203
RAX: 00000000a962ac3d RBX: 000000004723a158 RCX: 0000000000000004
RDX: ffffc9000338fb40 RSI: 00000000e9daa084 RDI: 0000000030fe41dc
RBP: 0000000000000001 R08: 0000000000000007 R09: 00000000104f8568
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000cc0
R13: ffffc9000338fb10 R14: 0000000000000008 R15: 0000000000000008
kasan_save_stack+0x42/0x60 mm/kasan/common.c:48
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:370 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:387
kmalloc_noprof include/linux/slab.h:681 [inline]
bpf_prog_store_orig_filter+0x7b/0x1d0 net/core/filter.c:1147
bpf_prog_create_from_user+0x1c3/0x2d0 net/core/filter.c:1438
seccomp_prepare_filter kernel/seccomp.c:693 [inline]
seccomp_prepare_user_filter kernel/seccomp.c:730 [inline]
seccomp_set_mode_filter kernel/seccomp.c:1953 [inline]
do_seccomp+0x7b6/0x2660 kernel/seccomp.c:2073
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7de7f75b59
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7de8cd2048 EFLAGS: 00000246 ORIG_RAX: 000000000000013d
RAX: ffffffffffffffda RBX: 00007f7de8105f60 RCX: 00007f7de7f75b59
RDX: 00000000200000c0 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 00007f7de7fe4e5d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f7de8105f60 R15: 00007fff5bf0a2b8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__cpu_map_flush+0x48/0x110 kernel/bpf/cpumap.c:766
Code: fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 d1 00 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 26 49 8d 6c 24 c0 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 a1 00 00 00 49 8b 04 24 4d 39 e6 48 8d 58 c0 74
RSP: 0018:ffffc900008b0c88 EFLAGS: 00010207
RAX: dffffc0000000000 RBX: ffffc9000338fa18 RCX: ffffffff88d51049
RDX: 00000000152c5587 RSI: ffffffff81b02704 RDI: ffffc9000338fa58
RBP: 00000000a962abfd R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffffff8b2f31e0 R12: 00000000a962ac3d
R13: ffff888022dd8fb0 R14: ffffc9000338fa58 R15: ffffc900008b0dd8
FS: 00007f7de8cd26c0(0000) GS:ffff88806b100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f036b4bcfa8 CR3: 000000002eb96000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 bytes skipped:
0: 48 c1 ea 03 shr $0x3,%rdx
4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
8: 0f 85 d1 00 00 00 jne 0xdf
e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
15: fc ff df
18: 4d 8b 26 mov (%r14),%r12
1b: 49 8d 6c 24 c0 lea -0x40(%r12),%rbp
20: 4c 89 e2 mov %r12,%rdx
23: 48 c1 ea 03 shr $0x3,%rdx
* 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2b: 0f 85 a1 00 00 00 jne 0xd2
31: 49 8b 04 24 mov (%r12),%rax
35: 4d 39 e6 cmp %r12,%r14
38: 48 8d 58 c0 lea -0x40(%rax),%rbx
3c: 74 .byte 0x74