It's a harmless warning due to some new pedantic compiler flags being
used.

** Tags added: kernel-flexible-array

** Changed in: linux (Ubuntu)
       Status: New => Confirmed

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Summary changed:

- UBSAN: array-index-out-of-bounds linux-6.5.0
+ UBSAN: array-index-out-of-bounds in 
/build/linux-UiLXaH/linux-6.5.0/drivers/net/wireless/ath/ath5k/base.c:1741:20

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

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-
  UiLXaH/linux-6.5.0/drivers/net/wireless/ath/ath5k/base.c:1741:20

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  [ 2472.106405] 
================================================================================
  [ 2472.106416] UBSAN: array-index-out-of-bounds in 
/build/linux-UiLXaH/linux-6.5.0/drivers/net/wireless/ath/ath5k/base.c:1741:20   
                                                                                
   
  [ 2472.106423] index 4 is out of range for type 'ieee80211_tx_rate [4]'
  [ 2472.106428] CPU: 3 PID: 0 Comm: swapper/3 Tainted: P           OE      
6.5.0-10-generic #10-Ubuntu
  [ 2472.106433] Hardware name:  /D975XBX2, BIOS 
BX97520J.86A.2674.2007.0315.1546 03/15/2007
  [ 2472.106436] Call Trace:
  [ 2472.106440]  <IRQ>
  [ 2472.106445]  dump_stack_lvl+0x48/0x70
  [ 2472.106458]  dump_stack+0x10/0x20
  [ 2472.106464]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [ 2472.106472]  ath5k_tx_frame_completed.isra.0+0x28f/0x2e0 [ath5k]
  [ 2472.106498]  ath5k_tx_processq+0xb2/0x1f0 [ath5k]
  [ 2472.106528]  ath5k_tasklet_tx+0x80/0xe0 [ath5k]
  [ 2472.106544]  tasklet_action_common.isra.0+0xda/0x1e0
  [ 2472.106548]  tasklet_action+0x22/0x30
  [ 2472.106550]  __do_softirq+0xd9/0x346
  [ 2472.106555]  __irq_exit_rcu+0x75/0xa0
  [ 2472.106560]  irq_exit_rcu+0xe/0x20
  [ 2472.106564]  common_interrupt+0xa4/0xb0
  [ 2472.106568]  </IRQ>
  [ 2472.106570]  <TASK>
  [ 2472.106571]  asm_common_interrupt+0x27/0x40
  [ 2472.106576] RIP: 0010:pv_native_safe_halt+0xb/0x10
  [ 2472.106581] Code: 0b 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 90 90 90 90 
90 90 90 90 90 90 90 90 90 90 90 90 eb 07 0f 00 2d 89 cf 2c 00 fb f4 <c3> cc cc 
cc cc 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 55
  [ 2472.106584] RSP: 0018:ffffb9b1800c7db0 EFLAGS: 00000246
  [ 2472.106588] RAX: 0000000000004000 RBX: ffff901040cd7864 RCX: 
0000000000000000
  [ 2472.106590] RDX: 0000000000000001 RSI: ffff901040cd7800 RDI: 
0000000000000001
  [ 2472.106592] RBP: ffffb9b1800c7db8 R08: 0000000000000000 R09: 
0000000000000000
  [ 2472.106594] R10: 0000000000000000 R11: 0000000000000000 R12: 
ffff901040cd7864
  [ 2472.106596] R13: 0000000000000003 R14: ffffffff83ae5bc0 R15: 
ffff901157d80000
  [ 2472.106599]  ? acpi_safe_halt+0x19/0x60
  [ 2472.106604]  acpi_idle_do_entry+0x40/0x80
  [ 2472.106608]  acpi_idle_enter+0xb6/0x180
  [ 2472.106612]  cpuidle_enter_state+0x91/0x730
  [ 2472.106616]  ? finish_task_switch.isra.0+0x89/0x2b0
  [ 2472.106622]  cpuidle_enter+0x2e/0x50
  [ 2472.106626]  call_cpuidle+0x23/0x60
  [ 2472.106630]  cpuidle_idle_call+0x11d/0x190
  [ 2472.106634]  do_idle+0x82/0xf0
  [ 2472.106636]  cpu_startup_entry+0x1d/0x20
  [ 2472.106639]  start_secondary+0x129/0x160
  [ 2472.106644]  secondary_startup_64_no_verify+0x17e/0x18b
  [ 2472.106650]  </TASK>
  [ 2472.106651] 
================================================================================

  ProblemType: Bug
  DistroRelease: Ubuntu 23.10
  Package: linux-image-6.5.0-10-generic 6.5.0-10.10
  ProcVersionSignature: Ubuntu 6.5.0-10.10-generic 6.5.3
  Uname: Linux 6.5.0-10-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.27.0-0ubuntu5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  js1        1228 F.... wireplumber
   /dev/snd/controlC1:  js1        1228 F.... wireplumber
   /dev/snd/seq:        js1        1226 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: LXQt
  Date: Fri Nov 10 08:49:35 2023
  InstallationDate: Installed on 2018-12-10 (1796 days ago)
  InstallationMedia: Lubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.2)
  ProcFB: 0 VESA VGA
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.5.0-10-generic 
root=UUID=591ea17a-5ac6-4e8b-adb3-75a3dab238d5 ro irqpoll 
cryptdevice=UUID=6416a2a8-8a76-44df-8d5f-9c465982298a:luks-6416a2a8-8a76-44df-8d5f-9c465982298a
 root=/dev/mapper/luks-6416a2a8-8a76-44df-8d5f-9c465982298a 
resume=/dev/mapper/luks-6416a2a8-8a76-44df-8d5f-9c465982298a ipv6.disable=1
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.5.0-10-generic N/A
   linux-backports-modules-6.5.0-10-generic  N/A
   linux-firmware                            20230919.git3672ccab-0ubuntu2.1
  RfKill:
   0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/15/2007
  dmi.bios.release: 0.0
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BX97520J.86A.2674.2007.0315.1546
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: D975XBX2
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAD53350-507
  dmi.chassis.type: 2
  dmi.ec.firmware.release: 0.0
  dmi.modalias: 
dmi:bvnIntelCorp.:bvrBX97520J.86A.2674.2007.0315.1546:bd03/15/2007:br0.0:efr0.0:svn:pn:pvr:rvnIntelCorporation:rnD975XBX2:rvrAAD53350-507:cvn:ct2:cvr:sku:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2043205/+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

Reply via email to