[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-10-25 Thread ltkarrde
Appears to be fixed in 5.15.0-53-lowlatency; no longer appearing in my
error logs.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-17-generic N/A
   linux-backports-modules-5.15.0-17-generic  N/A
   linux-firmware 1.204
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/11/2019
  dmi.bios.release: 5.14
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: F5
  dmi.board.asset.tag: Default string
  dmi.board.name: X399 AORUS XTREME-CF
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.asset.tag: Default string
  dmi.chassis.type: 3
  dmi.chassis.vendor: Default string
  dmi.chassis.version: Default string
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrF5:bd12/11/2019:br5.14:svnGigabyteTechnologyCo.,Ltd.:pnX399AORUSXTREME:pvrDefaultstring:rvnGigabyteTechnologyCo.,Ltd.:rnX399AORUSXTREME-CF:rvrx.x:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
  dmi.product.family: Default string
  dmi.product.name: X399 AORUS XTREME
  dmi.product.sku: Default string
  dmi.product.version: Default string
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1958770/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-10-19 Thread ltkarrde
Still present in 5.15.0-52-lowlatency

10/19/22 7:59 AMkernel  

10/19/22 7:59 AMkernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-rWNFY0/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
10/19/22 7:59 AMkernel  index 8 is out of range for type 'aq_vec_s *[8]'
10/19/22 7:59 AMkernel  CPU: 7 PID: 2084 Comm: daemon-init Not tainted 
5.15.0-52-lowlatency #58-Ubuntu
10/19/22 7:59 AMkernel  Hardware name: To Be Filled By O.E.M. X570 
Creator/X570 Creator, BIOS P3.72 05/17/2022
10/19/22 7:59 AMkernel  Call Trace:
10/19/22 7:59 AMkernel   
10/19/22 7:59 AMkernel   show_stack+0x52/0x5c
10/19/22 7:59 AMkernel   dump_stack_lvl+0x4a/0x63
10/19/22 7:59 AMkernel   dump_stack+0x10/0x16
10/19/22 7:59 AMkernel   ubsan_epilogue+0x9/0x49
10/19/22 7:59 AMkernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
10/19/22 7:59 AMkernel   ? dev_fetch_sw_netstats+0x48/0x90
10/19/22 7:59 AMkernel   ? aq_vec_stop+0x72/0x80 [atlantic]
10/19/22 7:59 AMkernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
10/19/22 7:59 AMkernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
10/19/22 7:59 AMkernel   __netdev_update_features+0x184/0x820
10/19/22 7:59 AMkernel   dev_disable_lro+0x34/0x150
10/19/22 7:59 AMkernel   devinet_sysctl_forward+0x1fb/0x230
10/19/22 7:59 AMkernel   proc_sys_call_handler+0x161/0x2d0
10/19/22 7:59 AMkernel   proc_sys_write+0x13/0x20
10/19/22 7:59 AMkernel   new_sync_write+0x114/0x1a0
10/19/22 7:59 AMkernel   ? icl_set_topdown_event_period+0x70/0xe0
10/19/22 7:59 AMkernel   vfs_write+0x1fb/0x290
10/19/22 7:59 AMkernel   ksys_write+0x67/0xf0
10/19/22 7:59 AMkernel   __x64_sys_write+0x19/0x20
10/19/22 7:59 AMkernel   do_syscall_64+0x5c/0xc0
10/19/22 7:59 AMkernel   ? syscall_exit_to_user_mode+0x27/0x50
10/19/22 7:59 AMkernel   ? do_syscall_64+0x69/0xc0
10/19/22 7:59 AMkernel   ? irqentry_exit_to_user_mode+0x9/0x20
10/19/22 7:59 AMkernel   ? irqentry_exit+0x3b/0x50
10/19/22 7:59 AMkernel   ? exc_page_fault+0x89/0x190
10/19/22 7:59 AMkernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
10/19/22 7:59 AMkernel  RIP: 0033:0x7f61c36a1a6f
10/19/22 7:59 AMkernel  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
10/19/22 7:59 AMkernel  RSP: 002b:7f61837fd810 EFLAGS: 0293 
ORIG_RAX: 0001
10/19/22 7:59 AMkernel  RAX: ffda RBX: 0002 
RCX: 7f61c36a1a6f
10/19/22 7:59 AMkernel  RDX: 0002 RSI: 7f61c40265e5 
RDI: 0013
10/19/22 7:59 AMkernel  RBP: 7f61c40265e5 R08:  
R09: 0001
10/19/22 7:59 AMkernel  R10:  R11: 0293 
R12: 0013
10/19/22 7:59 AMkernel  R13: 0013 R14:  
R15: 7f6178031e10
10/19/22 7:59 AMkernel   
10/19/22 7:59 AMkernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-09-23 Thread ltkarrde
Present in 5.15.0-50-lowlatency . Continues the trend where tainted in
the Generic version of the kernel, but not the lowlatency version.

9/22/22 1:41 PM kernel  

9/22/22 1:41 PM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-jwscnu/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
9/22/22 1:41 PM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
9/22/22 1:41 PM kernel  CPU: 22 PID: 2103 Comm: daemon-init Not tainted 
5.15.0-50-lowlatency #56-Ubuntu
9/22/22 1:41 PM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
9/22/22 1:41 PM kernel  Call Trace:
9/22/22 1:41 PM kernel   
9/22/22 1:41 PM kernel   show_stack+0x52/0x5c
9/22/22 1:41 PM kernel   dump_stack_lvl+0x4a/0x63
9/22/22 1:41 PM kernel   dump_stack+0x10/0x16
9/22/22 1:41 PM kernel   ubsan_epilogue+0x9/0x49
9/22/22 1:41 PM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
9/22/22 1:41 PM kernel   ? dev_fetch_sw_netstats+0x48/0x90
9/22/22 1:41 PM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
9/22/22 1:41 PM kernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
9/22/22 1:41 PM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
9/22/22 1:41 PM kernel   __netdev_update_features+0x184/0x820
9/22/22 1:41 PM kernel   dev_disable_lro+0x34/0x150
9/22/22 1:41 PM kernel   devinet_sysctl_forward+0x1fb/0x230
9/22/22 1:41 PM kernel   proc_sys_call_handler+0x161/0x2d0
9/22/22 1:41 PM kernel   proc_sys_write+0x13/0x20
9/22/22 1:41 PM kernel   new_sync_write+0x114/0x1a0
9/22/22 1:41 PM kernel   vfs_write+0x1fb/0x290
9/22/22 1:41 PM kernel   ksys_write+0x67/0xf0
9/22/22 1:41 PM kernel   __x64_sys_write+0x19/0x20
9/22/22 1:41 PM kernel   do_syscall_64+0x5c/0xc0
9/22/22 1:41 PM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
9/22/22 1:41 PM kernel  RIP: 0033:0x7f492a2f6a6f
9/22/22 1:41 PM 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
9/22/22 1:41 PM kernel  RSP: 002b:7f48fe7fb810 EFLAGS: 0293 ORIG_RAX: 
0001
9/22/22 1:41 PM kernel  RAX: ffda RBX: 0002 RCX: 
7f492a2f6a6f
9/22/22 1:41 PM kernel  RDX: 0002 RSI: 7f492ac7e5e5 RDI: 
0013
9/22/22 1:41 PM kernel  RBP: 7f492ac7e5e5 R08:  R09: 
0001
9/22/22 1:41 PM kernel  R10:  R11: 0293 R12: 
0013
9/22/22 1:41 PM kernel  R13: 0013 R14:  R15: 
7f48dc030970
9/22/22 1:41 PM kernel   
9/22/22 1:41 PM kernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-17-generic N/A
   linux-backports-modules-5.15.0-17-generic  N/A
   linux-firmware 1.204
  SourcePackage: 

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-09-22 Thread ltkarrde
Still present in 5.15.0-50-generic

9/21/22 7:54 AM kernel  

9/21/22 7:54 AM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lU2d47/linux-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
9/21/22 7:54 AM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
9/21/22 7:54 AM kernel  CPU: 4 PID: 1930 Comm: daemon-init Tainted: G   
O  5.15.0-50-generic #56-Ubuntu
9/21/22 7:54 AM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
9/21/22 7:54 AM kernel  Call Trace:
9/21/22 7:54 AM kernel   
9/21/22 7:54 AM kernel   show_stack+0x52/0x5c
9/21/22 7:54 AM kernel   dump_stack_lvl+0x4a/0x63
9/21/22 7:54 AM kernel   dump_stack+0x10/0x16
9/21/22 7:54 AM kernel   ubsan_epilogue+0x9/0x49
9/21/22 7:54 AM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
9/21/22 7:54 AM kernel   ? dev_get_port_parent_id+0x18/0x160
9/21/22 7:54 AM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
9/21/22 7:54 AM kernel   aq_nic_stop+0x10a/0x110 [atlantic]
9/21/22 7:54 AM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
9/21/22 7:54 AM kernel   __netdev_update_features+0x184/0x820
9/21/22 7:54 AM kernel   dev_disable_lro+0x34/0x150
9/21/22 7:54 AM kernel   devinet_sysctl_forward+0x1fb/0x230
9/21/22 7:54 AM kernel   proc_sys_call_handler+0x16a/0x2f0
9/21/22 7:54 AM kernel   proc_sys_write+0x13/0x20
9/21/22 7:54 AM kernel   new_sync_write+0x114/0x1a0
9/21/22 7:54 AM kernel   vfs_write+0x1d5/0x270
9/21/22 7:54 AM kernel   ksys_write+0x67/0xf0
9/21/22 7:54 AM kernel   __x64_sys_write+0x19/0x20
9/21/22 7:54 AM kernel   do_syscall_64+0x5c/0xc0
9/21/22 7:54 AM kernel   ? exit_to_user_mode_prepare+0x37/0xb0
9/21/22 7:54 AM kernel   ? syscall_exit_to_user_mode+0x27/0x50
9/21/22 7:54 AM kernel   ? do_syscall_64+0x69/0xc0
9/21/22 7:54 AM kernel   ? exit_to_user_mode_loop+0x10d/0x160
9/21/22 7:54 AM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
9/21/22 7:54 AM kernel  RIP: 0033:0x7fed8a694a6f
9/21/22 7:54 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
9/21/22 7:54 AM kernel  RSP: 002b:7fed4e7fb810 EFLAGS: 0293 ORIG_RAX: 
0001
9/21/22 7:54 AM kernel  RAX: ffda RBX: 0002 RCX: 
7fed8a694a6f
9/21/22 7:54 AM kernel  RDX: 0002 RSI: 7fed8b01c5e5 RDI: 
0013
9/21/22 7:54 AM kernel  RBP: 7fed8b01c5e5 R08:  R09: 
0001
9/21/22 7:54 AM kernel  R10:  R11: 0293 R12: 
0013
9/21/22 7:54 AM kernel  R13: 0013 R14:  R15: 
7fed38024ab0
9/21/22 7:54 AM kernel   
9/21/22 7:54 AM kernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-17-gen

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-09-01 Thread ltkarrde
Still present in 5.15.0-48-lowlatency as well. Interestingly, the logs
say the kernel is tainted in generic, but not in lowlatency, despite no
other configuration changes when this is handled.

9/1/22 8:01 AM  kernel  

9/1/22 8:01 AM  kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-FlX6Pk/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
9/1/22 8:01 AM  kernel  index 8 is out of range for type 'aq_vec_s *[8]'
9/1/22 8:01 AM  kernel  CPU: 0 PID: 2103 Comm: daemon-init Not tainted 
5.15.0-48-lowlatency #54-Ubuntu
9/1/22 8:01 AM  kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
9/1/22 8:01 AM  kernel  Call Trace:
9/1/22 8:01 AM  kernel   
9/1/22 8:01 AM  kernel   show_stack+0x52/0x5c
9/1/22 8:01 AM  kernel   dump_stack_lvl+0x4a/0x63
9/1/22 8:01 AM  kernel   dump_stack+0x10/0x16
9/1/22 8:01 AM  kernel   ubsan_epilogue+0x9/0x49
9/1/22 8:01 AM  kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
9/1/22 8:01 AM  kernel   ? call_netdevice_notifiers+0x38/0x50
9/1/22 8:01 AM  kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
9/1/22 8:01 AM  kernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
9/1/22 8:01 AM  kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
9/1/22 8:01 AM  kernel   __netdev_update_features+0x184/0x820
9/1/22 8:01 AM  kernel   dev_disable_lro+0x34/0x150
9/1/22 8:01 AM  kernel   devinet_sysctl_forward+0x1fb/0x230
9/1/22 8:01 AM  kernel   proc_sys_call_handler+0x161/0x2d0
9/1/22 8:01 AM  kernel   proc_sys_write+0x13/0x20
9/1/22 8:01 AM  kernel   new_sync_write+0x117/0x1b0
9/1/22 8:01 AM  kernel   ? io_req_prep_async+0x2a0/0x2a0
9/1/22 8:01 AM  kernel   vfs_write+0x1fb/0x290
9/1/22 8:01 AM  kernel   ksys_write+0x67/0xf0
9/1/22 8:01 AM  kernel   __x64_sys_write+0x19/0x20
9/1/22 8:01 AM  kernel   do_syscall_64+0x5c/0xc0
9/1/22 8:01 AM  kernel   ? do_syscall_64+0x69/0xc0
9/1/22 8:01 AM  kernel   ? syscall_exit_to_user_mode+0x27/0x50
9/1/22 8:01 AM  kernel   ? irqentry_exit+0x3b/0x50
9/1/22 8:01 AM  kernel   ? exc_page_fault+0x89/0x190
9/1/22 8:01 AM  kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
9/1/22 8:01 AM  kernel  RIP: 0033:0x7f79df4f1a6f
9/1/22 8:01 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
9/1/22 8:01 AM  kernel  RSP: 002b:7f799f7fd810 EFLAGS: 0293 ORIG_RAX: 
0001
9/1/22 8:01 AM  kernel  RAX: ffda RBX: 0002 RCX: 
7f79df4f1a6f
9/1/22 8:01 AM  kernel  RDX: 0002 RSI: 7f79dfe7a5e5 RDI: 
0013
9/1/22 8:01 AM  kernel  RBP: 7f79dfe7a5e5 R08:  R09: 
0001
9/1/22 8:01 AM  kernel  R10:  R11: 0293 R12: 
0013
9/1/22 8:01 AM  kernel  R13: 0013 R14:  R15: 
7f7994024a70
9/1/22 8:01 AM  kernel   
9/1/22 8:01 AM  kernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-08-31 Thread ltkarrde
Still present in 5.15.0-48-generic

8/31/22 8:01 AM kernel  

8/31/22 8:01 AM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-kQ6jNR/linux-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
8/31/22 8:01 AM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
8/31/22 8:01 AM kernel  CPU: 22 PID: 1987 Comm: daemon-init Tainted: G  
 O  5.15.0-48-generic #54-Ubuntu
8/31/22 8:01 AM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
8/31/22 8:01 AM kernel  Call Trace:
8/31/22 8:01 AM kernel   
8/31/22 8:01 AM kernel   show_stack+0x52/0x5c
8/31/22 8:01 AM kernel   dump_stack_lvl+0x4a/0x63
8/31/22 8:01 AM kernel   dump_stack+0x10/0x16
8/31/22 8:01 AM kernel   ubsan_epilogue+0x9/0x49
8/31/22 8:01 AM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
8/31/22 8:01 AM kernel   ? netdev_has_any_upper_dev+0x48/0x70
8/31/22 8:01 AM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
8/31/22 8:01 AM kernel   aq_nic_stop+0x10a/0x110 [atlantic]
8/31/22 8:01 AM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
8/31/22 8:01 AM kernel   __netdev_update_features+0x184/0x820
8/31/22 8:01 AM kernel   dev_disable_lro+0x34/0x150
8/31/22 8:01 AM kernel   devinet_sysctl_forward+0x1fb/0x230
8/31/22 8:01 AM kernel   proc_sys_call_handler+0x16a/0x2f0
8/31/22 8:01 AM kernel   proc_sys_write+0x13/0x20
8/31/22 8:01 AM kernel   new_sync_write+0x117/0x1b0
8/31/22 8:01 AM kernel   vfs_write+0x1d5/0x270
8/31/22 8:01 AM kernel   ksys_write+0x67/0xf0
8/31/22 8:01 AM kernel   __x64_sys_write+0x19/0x20
8/31/22 8:01 AM kernel   do_syscall_64+0x5c/0xc0
8/31/22 8:01 AM kernel   ? exit_to_user_mode_prepare+0x37/0xb0
8/31/22 8:01 AM kernel   ? syscall_exit_to_user_mode+0x27/0x50
8/31/22 8:01 AM kernel   ? do_syscall_64+0x69/0xc0
8/31/22 8:01 AM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
8/31/22 8:01 AM kernel  RIP: 0033:0x7fdfff746a6f
8/31/22 8:01 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
8/31/22 8:01 AM kernel  RSP: 002b:7fdfc37fd810 EFLAGS: 0293 ORIG_RAX: 
0001
8/31/22 8:01 AM kernel  RAX: ffda RBX: 0002 RCX: 
7fdfff746a6f
8/31/22 8:01 AM kernel  RDX: 0002 RSI: 7fecf5e5 RDI: 
0013
8/31/22 8:01 AM kernel  RBP: 7fecf5e5 R08:  R09: 
0001
8/31/22 8:01 AM kernel  R10:  R11: 0293 R12: 
0013
8/31/22 8:01 AM kernel  R13: 0013 R14:  R15: 
7fdfb4024b50
8/31/22 8:01 AM kernel   

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-17-generic N/A
   linux-backports-modules-5.15.0-17-generic  N/A
   linux-firmware 1.204
  SourcePackage: linux
  UpgradeStatus: No upgrade log 

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-08-20 Thread ltkarrde
Still present in 5.15.0-47.53-lowlatency

8/20/22 7:42 AM kernel  

8/20/22 7:42 AM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-uED6sK/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
8/20/22 7:42 AM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
8/20/22 7:42 AM kernel  CPU: 12 PID: 2174 Comm: daemon-init Not tainted 
5.15.0-47-lowlatency #53-Ubuntu
8/20/22 7:42 AM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
8/20/22 7:42 AM kernel  Call Trace:
8/20/22 7:42 AM kernel   
8/20/22 7:42 AM kernel   show_stack+0x52/0x5c
8/20/22 7:42 AM kernel   dump_stack_lvl+0x4a/0x63
8/20/22 7:42 AM kernel   dump_stack+0x10/0x16
8/20/22 7:42 AM kernel   ubsan_epilogue+0x9/0x49
8/20/22 7:42 AM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
8/20/22 7:42 AM kernel   ? is_skb_forwardable+0x48/0x50
8/20/22 7:42 AM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
8/20/22 7:42 AM kernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
8/20/22 7:42 AM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
8/20/22 7:42 AM kernel   __netdev_update_features+0x184/0x820
8/20/22 7:42 AM kernel   dev_disable_lro+0x34/0x150
8/20/22 7:42 AM kernel   devinet_sysctl_forward+0x1fb/0x230
8/20/22 7:42 AM kernel   proc_sys_call_handler+0x161/0x2d0
8/20/22 7:42 AM kernel   proc_sys_write+0x13/0x20
8/20/22 7:42 AM kernel   new_sync_write+0x117/0x1b0
8/20/22 7:42 AM kernel   ? intel_pmu_cpu_starting+0x240/0x3c0
8/20/22 7:42 AM kernel   vfs_write+0x1fb/0x290
8/20/22 7:42 AM kernel   ksys_write+0x67/0xf0
8/20/22 7:42 AM kernel   __x64_sys_write+0x19/0x20
8/20/22 7:42 AM kernel   do_syscall_64+0x5c/0xc0
8/20/22 7:42 AM kernel   ? syscall_exit_to_user_mode+0x27/0x50
8/20/22 7:42 AM kernel   ? do_syscall_64+0x69/0xc0
8/20/22 7:42 AM kernel   ? exit_to_user_mode_prepare+0x37/0xb0
8/20/22 7:42 AM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
8/20/22 7:42 AM kernel  RIP: 0033:0x7f8073495a6f
8/20/22 7:42 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
8/20/22 7:42 AM kernel  RSP: 002b:7f803b7fd810 EFLAGS: 0293 ORIG_RAX: 
0001
8/20/22 7:42 AM kernel  RAX: ffda RBX: 0002 RCX: 
7f8073495a6f
8/20/22 7:42 AM kernel  RDX: 0002 RSI: 7f8073e1e5e5 RDI: 
0013
8/20/22 7:42 AM kernel  RBP: 7f8073e1e5e5 R08:  R09: 
0001
8/20/22 7:42 AM kernel  R10:  R11: 0293 R12: 
0013
8/20/22 7:42 AM kernel  R13: 0013 R14:  R15: 
7f8028024ab0
8/20/22 7:42 AM kernel   
8/20/22 7:42 AM kernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-08-10 Thread ltkarrde
Still present in 5.15.0-46.49-lowlatency

8/10/22 7:56 AM kernel  

8/10/22 7:56 AM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-Q9YOeF/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
8/10/22 7:56 AM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
8/10/22 7:56 AM kernel  CPU: 12 PID: 2172 Comm: daemon-init Not tainted 
5.15.0-46-lowlatency #49-Ubuntu
8/10/22 7:56 AM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
8/10/22 7:56 AM kernel  Call Trace:
8/10/22 7:56 AM kernel   
8/10/22 7:56 AM kernel   show_stack+0x52/0x5c
8/10/22 7:56 AM kernel   dump_stack_lvl+0x4a/0x63
8/10/22 7:56 AM kernel   dump_stack+0x10/0x16
8/10/22 7:56 AM kernel   ubsan_epilogue+0x9/0x49
8/10/22 7:56 AM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
8/10/22 7:56 AM kernel   ? qdisc_pkt_len_init+0x108/0x180
8/10/22 7:56 AM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
8/10/22 7:56 AM kernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
8/10/22 7:56 AM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
8/10/22 7:56 AM kernel   __netdev_update_features+0x184/0x820
8/10/22 7:56 AM kernel   dev_disable_lro+0x34/0x150
8/10/22 7:56 AM kernel   devinet_sysctl_forward+0x1fb/0x230
8/10/22 7:56 AM kernel   proc_sys_call_handler+0x161/0x2d0
8/10/22 7:56 AM kernel   proc_sys_write+0x13/0x20
8/10/22 7:56 AM kernel   new_sync_write+0x117/0x1b0
8/10/22 7:56 AM kernel   ? intel_pmu_cpu_starting+0x280/0x3c0
8/10/22 7:56 AM kernel   vfs_write+0x1fb/0x290
8/10/22 7:56 AM kernel   ksys_write+0x67/0xf0
8/10/22 7:56 AM kernel   __x64_sys_write+0x19/0x20
8/10/22 7:56 AM kernel   do_syscall_64+0x5c/0xc0
8/10/22 7:56 AM kernel   ? exit_to_user_mode_prepare+0x37/0xb0
8/10/22 7:56 AM kernel   ? syscall_exit_to_user_mode+0x27/0x50
8/10/22 7:56 AM kernel   ? do_syscall_64+0x69/0xc0
8/10/22 7:56 AM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
8/10/22 7:56 AM kernel  RIP: 0033:0x7f0adb562a6f
8/10/22 7:56 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
8/10/22 7:56 AM kernel  RSP: 002b:7f0a9b7fd810 EFLAGS: 0293 ORIG_RAX: 
0001
8/10/22 7:56 AM kernel  RAX: ffda RBX: 0002 RCX: 
7f0adb562a6f
8/10/22 7:56 AM kernel  RDX: 0002 RSI: 7f0adbeeb5e5 RDI: 
0013
8/10/22 7:56 AM kernel  RBP: 7f0adbeeb5e5 R08:  R09: 
0001
8/10/22 7:56 AM kernel  R10:  R11: 0293 R12: 
0013
8/10/22 7:56 AM kernel  R13: 0013 R14:  R15: 
7f0a90024b10
8/10/22 7:56 AM kernel   
8/10/22 7:56 AM kernel  


-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-

[Kernel-packages] [Bug 1958770] Re: Aquantia GbE LAN driver causes UBSAN error during kernel boot

2022-08-06 Thread ltkarrde
Still present on 5.15.0-45-lowlatency after update to it.

8/6/22 10:11 AM kernel  

8/6/22 10:11 AM kernel  UBSAN: array-index-out-of-bounds in 
/build/linux-lowlatency-gNNzPd/linux-lowlatency-5.15.0/drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1262:48
8/6/22 10:11 AM kernel  index 8 is out of range for type 'aq_vec_s *[8]'
8/6/22 10:11 AM kernel  CPU: 2 PID: 2097 Comm: daemon-init Not tainted 
5.15.0-45-lowlatency #48-Ubuntu
8/6/22 10:11 AM kernel  Hardware name: To Be Filled By O.E.M. X570 Creator/X570 
Creator, BIOS P3.72 05/17/2022
8/6/22 10:11 AM kernel  Call Trace:
8/6/22 10:11 AM kernel   
8/6/22 10:11 AM kernel   show_stack+0x52/0x5c
8/6/22 10:11 AM kernel   dump_stack_lvl+0x4a/0x63
8/6/22 10:11 AM kernel   dump_stack+0x10/0x16
8/6/22 10:11 AM kernel   ubsan_epilogue+0x9/0x49
8/6/22 10:11 AM kernel   __ubsan_handle_out_of_bounds.cold+0x44/0x49
8/6/22 10:11 AM kernel   ? qdisc_pkt_len_init+0x128/0x180
8/6/22 10:11 AM kernel   ? aq_vec_stop+0x72/0x80 [atlantic]
8/6/22 10:11 AM kernel   aq_nic_stop+0x1b6/0x1c0 [atlantic]
8/6/22 10:11 AM kernel   aq_ndev_set_features+0x143/0x1a0 [atlantic]
8/6/22 10:11 AM kernel   __netdev_update_features+0x184/0x820
8/6/22 10:11 AM kernel   dev_disable_lro+0x34/0x150
8/6/22 10:11 AM kernel   devinet_sysctl_forward+0x1fb/0x230
8/6/22 10:11 AM kernel   proc_sys_call_handler+0x161/0x2d0
8/6/22 10:11 AM kernel   proc_sys_write+0x13/0x20
8/6/22 10:11 AM kernel   new_sync_write+0x117/0x1b0
8/6/22 10:11 AM kernel   ? blk_tracer_print_header+0x10/0x30
8/6/22 10:11 AM kernel   vfs_write+0x1fb/0x290
8/6/22 10:11 AM kernel   ksys_write+0x67/0xf0
8/6/22 10:11 AM kernel   __x64_sys_write+0x19/0x20
8/6/22 10:11 AM kernel   do_syscall_64+0x5c/0xc0
8/6/22 10:11 AM kernel   ? exit_to_user_mode_prepare+0x37/0xb0
8/6/22 10:11 AM kernel   ? syscall_exit_to_user_mode+0x27/0x50
8/6/22 10:11 AM kernel   ? do_syscall_64+0x69/0xc0
8/6/22 10:11 AM kernel   entry_SYSCALL_64_after_hwframe+0x61/0xcb
8/6/22 10:11 AM kernel  RIP: 0033:0x7ff6d640da6f
8/6/22 10:11 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
8/6/22 10:11 AM kernel  RSP: 002b:7ff6a27fb810 EFLAGS: 0293 ORIG_RAX: 
0001
8/6/22 10:11 AM kernel  RAX: ffda RBX: 0002 RCX: 
7ff6d640da6f
8/6/22 10:11 AM kernel  RDX: 0002 RSI: 7ff6d6d965e5 RDI: 
0013
8/6/22 10:11 AM kernel  RBP: 7ff6d6d965e5 R08:  R09: 
0001
8/6/22 10:11 AM kernel  R10:  R11: 0293 R12: 
0013
8/6/22 10:11 AM kernel  R13: 0013 R14:  R15: 
7ff684024b10
8/6/22 10:11 AM kernel   

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1958770

Title:
  Aquantia GbE LAN driver causes UBSAN error during kernel boot

Status in linux package in Ubuntu:
  Confirmed
Status in linux-oem-5.14 package in Ubuntu:
  Invalid
Status in linux-oem-5.17 package in Ubuntu:
  Invalid
Status in linux source package in Focal:
  Invalid
Status in linux-oem-5.14 source package in Focal:
  Fix Released
Status in linux-oem-5.17 source package in Focal:
  Invalid
Status in linux source package in Jammy:
  Fix Released
Status in linux-oem-5.14 source package in Jammy:
  Invalid
Status in linux-oem-5.17 source package in Jammy:
  Fix Released

Bug description:
  The undefined behaviour sanitiser picks up an array-index-out-of-
  bounds in the aquantia atlantic driver. The NIC is (I think) built
  into my gigabyte motherboard
  (https://www.gigabyte.com/uk/Motherboard/X399-AORUS-XTREME-
  rev-10/sp#sp). This wasn't an issue before I upgrading from 20.04 to
  22.04 (or at least dmesg didn't previously complain).

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: linux-image-5.15.0-17-generic 5.15.0-17.17
  ProcVersionSignature: Ubuntu 5.15.0-17.17-generic 5.15.12
  Uname: Linux 5.15.0-17-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu75
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 23 13:02:10 2022
  InstallationDate: Installed on 2019-08-07 (899 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 
(20190210)
  MachineType: Gigabyte Technology Co., Ltd. X399 AORUS XTREME
  ProcFB: 0 EFI VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-17-generic 
root=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 ro quiet splash 
resume=UUID=08f6326a-30f9-4f23-bab7-72a48afad354 resume_offset=34816 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-5.15.0-17-generic N/A
   linux-backports-modules-5.15.0-17-generic  N/A
   linux-firmware