------------[ 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 PID: 5216 Comm: syz-executor299 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
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:114
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+0x2f2/0x4e0 net/core/filter.c:4300
__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:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194
Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 96 2b 77 f6 48 89 df e8 ae a8 77 f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 05 1f 69 f6 65 8b 05 c6 df 12 75 85 c0 74 16 5b
RSP: 0018:ffffc900032bfca8 EFLAGS: 00000246
RAX: 0000000000000002 RBX: ffffffff94cfc9a8 RCX: 1ffffffff1fcc929
RDX: 0000000000000000 RSI: ffffffff8b2cb540 RDI: ffffffff8b908c80
RBP: 0000000000000282 R08: 0000000000000001 R09: 0000000000000001
R10: ffffffff8fe68d5f R11: 0000000000000000 R12: ffffffff94cfc9a0
R13: 0000000000000000 R14: 0000000000000000 R15: ffff88802c193820
__debug_check_no_obj_freed lib/debugobjects.c:999 [inline]
debug_check_no_obj_freed+0x328/0x600 lib/debugobjects.c:1020
slab_free_hook mm/slub.c:2202 [inline]
slab_free mm/slub.c:4464 [inline]
kmem_cache_free+0x26f/0x3a0 mm/slub.c:4539
security_file_free+0xae/0xe0 security/security.c:2772
file_free fs/file_table.c:65 [inline]
__fput+0x588/0xbb0 fs/file_table.c:435
__fput_sync+0x47/0x50 fs/file_table.c:507
__do_sys_close fs/open.c:1566 [inline]
__se_sys_close fs/open.c:1551 [inline]
__x64_sys_close+0x86/0x100 fs/open.c:1551
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:0x7feb27066020
Code: ff f7 d8 64 89 02 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 80 3d 81 e0 07 00 00 74 17 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c
RSP: 002b:00007fff0b883778 EFLAGS: 00000202 ORIG_RAX: 0000000000000003
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007feb27066020
RDX: 0000000000000e80 RSI: 0000000020000100 RDI: 0000000000000005
RBP: 00007fff0b8837c0 R08: 00007fff0b8837a0 R09: 00007fff0b8837a0
R10: 00007fff0b8837a0 R11: 0000000000000202 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
---[ end trace ]---
----------------
Code disassembly (best guess):
0: f5 cmc
1: 53 push %rbx
2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi
7: 48 89 fb mov %rdi,%rbx
a: 48 83 c7 18 add $0x18,%rdi
e: e8 96 2b 77 f6 call 0xf6772ba9
13: 48 89 df mov %rbx,%rdi
16: e8 ae a8 77 f6 call 0xf677a8c9
1b: f7 c5 00 02 00 00 test $0x200,%ebp
21: 75 23 jne 0x46
23: 9c pushf
24: 58 pop %rax
25: f6 c4 02 test $0x2,%ah
28: 75 37 jne 0x61
* 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction
2f: e8 05 1f 69 f6 call 0xf6691f39
34: 65 8b 05 c6 df 12 75 mov %gs:0x7512dfc6(%rip),%eax # 0x7512e001
3b: 85 c0 test %eax,%eax
3d: 74 16 je 0x55
3f: 5b pop %rbx