Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5026 Discussions

i40e kernel 6.5.0 : UBSAN: array-index-out-of-bounds

Martin_I_
Beginner
262 Views

Hi.

I am running kernel 

 6.5.0-44-generic #44 SMP PREEMPT_DYNAMIC Wed Jun 12 08:44:09 2024 x86_64 x86_64 x86_64 GNU/Linux

 

With Ethernet controller:

19:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
19:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
19:00.2 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
19:00.3 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)

 

Driver used:

i40e-2.24.6

 

Following Kernel error is seen in dmesg.

The interface seems working despite the error. 

What the error means, and is there a way to solve it ?

 

 

[24232.595336] ================================================================================
[24232.595340] UBSAN: array-index-out-of-bounds in /var/lib/dkms/i40e/2.24.6/build/i40e_main.c:204:17
[24232.595346] index 0 is out of range for type 'u16 [*]'
[24232.595350] CPU: 1 PID: 1201347 Comm: kworker/1:3 Tainted: G OE 6.5.0-44-generic #44
[24232.595356] Hardware name: Advantech FWA-3050/NAMB-3050, BIOS 3050V102 06/19/2019
[24232.595360] Workqueue: events work_for_cpu_fn
[24232.595371] Call Trace:
[24232.595375] <TASK>
[24232.595382] dump_stack_lvl+0x48/0x70
[24232.595396] dump_stack+0x10/0x20
[24232.595402] __ubsan_handle_out_of_bounds+0xc6/0x110
[24232.595412] i40e_get_lump+0x83/0x240 [i40e]
[24232.595498] i40e_init_interrupt_scheme+0x77/0x660 [i40e]
[24232.595571] i40e_probe+0xe16/0x2220 [i40e]
[24232.595675] local_pci_probe+0x44/0xb0
[24232.595683] work_for_cpu_fn+0x17/0x30
[24232.595690] process_one_work+0x220/0x440
[24232.595698] worker_thread+0x1df/0x3f0
[24232.595704] ? _raw_spin_lock_irqsave+0xe/0x20
[24232.595714] ? __pfx_worker_thread+0x10/0x10
[24232.595720] kthread+0xef/0x120
[24232.595726] ? __pfx_kthread+0x10/0x10
[24232.595732] ret_from_fork+0x44/0x70
[24232.595739] ? __pfx_kthread+0x10/0x10
[24232.595744] ret_from_fork_asm+0x1b/0x30
[24232.595752] </TASK>
[24232.595760] ================================================================================

0 Kudos
3 Replies
Fikri_Intel
Employee
226 Views

Hi Martin_I_,


Thank you for reaching Intel Community.


Please share the PBA of the adapter. You may refer to the link below on where to find the PBA number. Providing photos of the adapter focusing on the markings (white sticker) found on the physical card will be highly appreciated for us to double-check it.


The PBA consists 6-3 digit number located at the last part of the serial number. This would help us identify if you are using an Original Equipment Manufacturer (OEM) or retail version of an Intel Ethernet Adapter.


Identify Your Intel® Network Adapter Model Using PBA Number

https://www.intel.com/content/www/us/en/support/articles/000007022/network-and-i-o/ethernet-products.html



Regards,

Fikri O.


0 Kudos
Fikri_Intel
Employee
186 Views

Hi Martin_I_,,


Good day.


Just wanted to follow up with you. kindly let us know if you need any furhter information?



Regards

Fikri O.


0 Kudos
Fikri_Intel
Employee
151 Views

Hi Martin_I_,,


Hope you are doing well.


Since we have not seen an update, we will be closing this forum case from our end.

If you need any additional information, please submit a new question as this thread will no longer be monitored.



Regards,

Fikri O.


0 Kudos
Reply