Aquantia GbE LAN Driver Index Out Of Bounds During Kernel Boot

Bug #1982878 reported by ltkarrde
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Consistent array-index-out-of-bounds in the aquantia atlantic driver on x570 ASRock Creator
https://www.asrock.com/mb/AMD/X570%20Creator/index.asp

Doesn't actually seem to be impacting ability to utilize LAN much, if at all.

Operating System: Kubuntu 22.04
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-43-lowlatency (64-bit)
Graphics Platform: X11
Processors: 32 × AMD Ryzen 9 3950X 16-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 5700 XT

Output of cat /proc/version_signature :
Ubuntu 5.15.0-43.46-lowlatency 5.15.39

Kernel parameters and image line:

BOOT_IMAGE=/boot/vmlinuz-5.15.0-43-lowlatency root=UUID=70b308c1-46f6-4565-b28c-cf81163fe918 ro splash resume=UUID=382306cf-9584-4263-ad41-06ee99403a6a pci=routeirq,pcie_bus_perf,ioapicreroute,realloc,assign-busses,hpbussize=0x33,pcie_scan_all,big_root_window amd_pstate.shared_mem=1 add_efi_memmap enable_mtrr_cleanup acpi_backlight=native

From the journald error log:

7/26/22 7:33 AM kernel ================================================================================
7/26/22 7:33 AM kernel UBSAN: array-index-out-of-bounds in /build/linux-lowlatency-gn5Bpn/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
7/26/22 7:33 AM kernel index 8 is out of range for type 'aq_vec_s *[8]'
7/26/22 7:33 AM kernel CPU: 2 PID: 2109 Comm: daemon-init Not tainted 5.15.0-43-lowlatency #46-Ubuntu
7/26/22 7:33 AM kernel Hardware name: To Be Filled By O.E.M. X570 Creator/X570 Creator, BIOS P3.72 05/17/2022
7/26/22 7:33 AM kernel Call Trace:
7/26/22 7:33 AM kernel <TASK>
7/26/22 7:33 AM kernel show_stack+0x52/0x58
7/26/22 7:33 AM kernel dump_stack_lvl+0x4a/0x5f
7/26/22 7:33 AM kernel dump_stack+0x10/0x12
7/26/22 7:33 AM kernel ubsan_epilogue+0x9/0x45
7/26/22 7:33 AM kernel __ubsan_handle_out_of_bounds.cold+0x44/0x49
7/26/22 7:33 AM kernel ? netdev_set_tc_queue+0x78/0x90
7/26/22 7:33 AM kernel ? aq_vec_stop+0x72/0x80 [atlantic]
7/26/22 7:33 AM kernel aq_nic_stop+0x1b2/0x1c0 [atlantic]
7/26/22 7:33 AM kernel aq_ndev_set_features+0x13f/0x1a0 [atlantic]
7/26/22 7:33 AM kernel __netdev_update_features+0x184/0x810
7/26/22 7:33 AM kernel dev_disable_lro+0x34/0x150
7/26/22 7:33 AM kernel devinet_sysctl_forward+0x1f7/0x230
7/26/22 7:33 AM kernel proc_sys_call_handler+0x161/0x2d0
7/26/22 7:33 AM kernel proc_sys_write+0x13/0x20
7/26/22 7:33 AM kernel new_sync_write+0x117/0x1a0
7/26/22 7:33 AM kernel vfs_write+0x1f3/0x290
7/26/22 7:33 AM kernel ksys_write+0x67/0xe0
7/26/22 7:33 AM kernel __x64_sys_write+0x19/0x20
7/26/22 7:33 AM kernel do_syscall_64+0x5c/0xc0
7/26/22 7:33 AM kernel ? exit_to_user_mode_prepare+0x37/0xb0
7/26/22 7:33 AM kernel ? syscall_exit_to_user_mode+0x27/0x50
7/26/22 7:33 AM kernel ? do_syscall_64+0x69/0xc0
7/26/22 7:33 AM kernel ? exit_to_user_mode_prepare+0x37/0xb0
7/26/22 7:33 AM kernel ? syscall_exit_to_user_mode+0x27/0x50
7/26/22 7:33 AM kernel ? do_syscall_64+0x69/0xc0
7/26/22 7:33 AM kernel ? asm_exc_page_fault+0x8/0x30
7/26/22 7:33 AM kernel entry_SYSCALL_64_after_hwframe+0x44/0xae
7/26/22 7:33 AM kernel RIP: 0033:0x7f4be0057a6f
7/26/22 7:33 AM kernel Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 19 c0 f7 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 5c c0 f7 ff 48
7/26/22 7:33 AM kernel RSP: 002b:00007f4b9bffe810 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
7/26/22 7:33 AM kernel RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f4be0057a6f
7/26/22 7:33 AM kernel RDX: 0000000000000002 RSI: 00007f4be09dd5e5 RDI: 0000000000000013
7/26/22 7:33 AM kernel RBP: 00007f4be09dd5e5 R08: 0000000000000000 R09: 0000000000000001
7/26/22 7:33 AM kernel R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000013
7/26/22 7:33 AM kernel R13: 0000000000000013 R14: 0000000000000000 R15: 00007f4b90024b50
7/26/22 7:33 AM kernel </TASK>
7/26/22 7:33 AM kernel ================================================================================
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2020-11-21 (611 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: To Be Filled By O.E.M. X570 Creator
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-43-lowlatency root=UUID=70b308c1-46f6-4565-b28c-cf81163fe918 ro splash resume=UUID=382306cf-9584-4263-ad41-06ee99403a6a pci=routeirq,pcie_bus_perf,ioapicreroute,realloc,assign-busses,hpbussize=0x33,pcie_scan_all,big_root_window amd_pstate.shared_mem=1 add_efi_memmap enable_mtrr_cleanup acpi_backlight=native vt.handoff=7
ProcVersionSignature: Ubuntu 5.15.0-43.46-lowlatency 5.15.39
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-43-lowlatency N/A
 linux-backports-modules-5.15.0-43-lowlatency N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.4
Tags: jammy
Uname: Linux 5.15.0-43-lowlatency x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dip libvirt lpadmin lxd pkcs11 plugdev render sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 05/17/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.72
dmi.board.name: X570 Creator
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP3.72:bd05/17/2022:br5.17:svnToBeFilledByO.E.M.:pnX570Creator:pvrToBeFilledByO.E.M.:rvnASRock:rnX570Creator:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:skuToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: X570 Creator
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
ltkarrde (ltkarrde) wrote :
Revision history for this message
ltkarrde (ltkarrde) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1982878

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
ltkarrde (ltkarrde) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy
description: updated
Revision history for this message
ltkarrde (ltkarrde) wrote : AudioDevicesInUse.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : CRDA.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : CurrentDmesg.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : IwConfig.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : Lspci.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : Lspci-vt.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : Lsusb.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : Lsusb-t.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : Lsusb-v.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : ProcEnviron.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : ProcInterrupts.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : ProcModules.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : RfKill.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : UdevDb.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : WifiSyslog.txt

apport information

Revision history for this message
ltkarrde (ltkarrde) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.