------------[ cut here ]------------
UBSAN: array-index-out-of-bounds in ./kernel/bpf/devmap.c:385:33
index 16 is out of range for type 'xdp_frame *[16]'
CPU: 1 UID: 0 PID: 13624 Comm: syz.1.2247 Not tainted 6.11.0-rc1-syzkaller-00063-g21b136cc63d2 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:93 [inline]
dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:119
ubsan_epilogue lib/ubsan.c:231 [inline]
__ubsan_handle_out_of_bounds+0x110/0x150 lib/ubsan.c:429
bq_xmit_all+0xbec/0xdd0 kernel/bpf/devmap.c:385
__dev_flush+0x85/0x1e0 kernel/bpf/devmap.c:425
xdp_do_check_flushed+0x40a/0x4e0 net/core/filter.c:4307
__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:finish_task_switch.isra.0+0x220/0xcc0 kernel/sched/core.c:5062
Code: a9 0a 00 00 44 8b 0d 07 d6 b7 0e 45 85 c9 0f 85 c0 01 00 00 48 89 df e8 ae f8 ff ff e8 19 ba 36 00 fb 65 48 8b 1d 30 cf a8 7e <48> 8d bb f8 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1
RSP: 0018:ffffc90003347718 EFLAGS: 00000206
RAX: 0000000000012259 RBX: ffff8880272fa440 RCX: 1ffffffff2024d91
RDX: 0000000000000000 RSI: ffffffff8b4cc580 RDI: ffffffff8bb08480
RBP: ffffc90003347760 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff9012b0df R11: 0000000000000000 R12: ffff88806b13fb58
R13: ffff88803afba440 R14: 0000000000000000 R15: ffff88806b03edc0
context_switch kernel/sched/core.c:5191 [inline]
__schedule+0xe3f/0x5490 kernel/sched/core.c:6529
__schedule_loop kernel/sched/core.c:6606 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6621
schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2557
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116
rdmsr_safe_on_cpu+0x1de/0x210 arch/x86/lib/msr-smp.c:181
msr_read+0x1a4/0x250 arch/x86/kernel/msr.c:66
vfs_read+0x1d4/0xbd0 fs/read_write.c:474
ksys_read+0x12f/0x260 fs/read_write.c:619
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:0x7f01f69773b9
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:00007f01f77f9048 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 00007f01f6b05f80 RCX: 00007f01f69773b9
RDX: 0000000000018fd8 RSI: 0000000020032680 RDI: 0000000000000007
RBP: 00007f01f69e48e6 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f01f6b05f80 R15: 00007ffd940c9528
hpet: Lost 11 RTC interrupts
---[ end trace ]---
----------------
Code disassembly (best guess):
0: a9 0a 00 00 44 test $0x4400000a,%eax
5: 8b 0d 07 d6 b7 0e mov 0xeb7d607(%rip),%ecx # 0xeb7d612
b: 45 85 c9 test %r9d,%r9d
e: 0f 85 c0 01 00 00 jne 0x1d4
14: 48 89 df mov %rbx,%rdi
17: e8 ae f8 ff ff call 0xfffff8ca
1c: e8 19 ba 36 00 call 0x36ba3a
21: fb sti
22: 65 48 8b 1d 30 cf a8 mov %gs:0x7ea8cf30(%rip),%rbx # 0x7ea8cf5a
29: 7e
* 2a: 48 8d bb f8 15 00 00 lea 0x15f8(%rbx),%rdi <-- trapping instruction
31: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
38: fc ff df
3b: 48 89 fa mov %rdi,%rdx
3e: 48 rex.W
3f: c1 .byte 0xc1