[Bug 2065946] Re: UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-ZV1Qen/linux-hwe-6.5-6.5.0

Luiz Carlos da Silveira Júnior 2065946 at bugs.launchpad.net
Fri May 17 20:49:43 UTC 2024


** Description changed:

- This error occurred on my PC when booting Ubuntu from 22.04 in any
+ This error occurred on my PC when booting Ubuntu from 22.04/24.04 in any
  flavor, in Zorin and also with Pop!_OS 22.04.
  
  Looks like a new kernel issue. It seems to me that it has to do with
  Kernel 6.5, 6.8 +.
  
  Should I be worried about this?
  
  The problem does not occur in Fedora 39 or Debian 12.
  
  ```
  May 17 00:10:28 ubuntu kernel: [drm] radeon: 1024M of VRAM memory ready
  May 17 00:10:28 ubuntu kernel: [drm] radeon: 2048M of GTT memory ready.
  May 17 00:10:28 ubuntu kernel: [drm] Loading verde Microcode
  May 17 00:10:28 ubuntu kernel: [drm] Internal thermal controller without fan control
  May 17 00:10:28 ubuntu kernel: ================================================================================
  May 17 00:10:28 ubuntu kernel: UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-ZV1Qen/linux-hwe-6.5-6.5.0/drivers/gpu/drm/radeon/radeon_atombios.c:2717:34
  May 17 00:10:28 ubuntu kernel: index 48 is out of range for type 'UCHAR [1]'
  May 17 00:10:28 ubuntu kernel: CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 6.5.0-18-generic #18~22.04.1-Ubuntu
  May 17 00:10:28 ubuntu kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./760GM-HD, BIOS P1.00 06/11/2019
  May 17 00:10:28 ubuntu kernel: Workqueue: events work_for_cpu_fn
  May 17 00:10:28 ubuntu kernel: Call Trace:
  May 17 00:10:28 ubuntu kernel:  <TASK>
  May 17 00:10:28 ubuntu kernel:  dump_stack_lvl+0x48/0x70
  May 17 00:10:28 ubuntu kernel:  dump_stack+0x10/0x20
  May 17 00:10:28 ubuntu kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
  May 17 00:10:28 ubuntu kernel:  radeon_atombios_parse_power_table_6+0x39c/0x3d0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_atombios_get_power_modes+0x1e9/0x210 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_pm_init+0xdf/0x120 [radeon]
  May 17 00:10:28 ubuntu kernel:  si_init+0x26b/0x620 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_device_init+0x57e/0xaf0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_driver_load_kms+0xcc/0x300 [
  ```
  
  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19 [origin: unknown]
  ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8
  Uname: Linux 6.5.0-18-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CasperVersion: 1.470.2
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Fri May 17 00:13:10 2024
  LiveMediaBuild: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
  PackageArchitecture: all
  ProcEnviron:
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  XDG_RUNTIME_DIR=<set>
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  XDG_RUNTIME_DIR=<set>
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2065946

Title:
  UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-ZV1Qen/linux-
  hwe-6.5-6.5.0

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  This error occurred on my PC when booting Ubuntu from 22.04/24.04 in
  any flavor, in Zorin and also with Pop!_OS 22.04.

  Looks like a new kernel issue. It seems to me that it has to do with
  Kernel 6.5, 6.8 +.

  Should I be worried about this?

  The problem does not occur in Fedora 39 or Debian 12.

  ```
  May 17 00:10:28 ubuntu kernel: [drm] radeon: 1024M of VRAM memory ready
  May 17 00:10:28 ubuntu kernel: [drm] radeon: 2048M of GTT memory ready.
  May 17 00:10:28 ubuntu kernel: [drm] Loading verde Microcode
  May 17 00:10:28 ubuntu kernel: [drm] Internal thermal controller without fan control
  May 17 00:10:28 ubuntu kernel: ================================================================================
  May 17 00:10:28 ubuntu kernel: UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-ZV1Qen/linux-hwe-6.5-6.5.0/drivers/gpu/drm/radeon/radeon_atombios.c:2717:34
  May 17 00:10:28 ubuntu kernel: index 48 is out of range for type 'UCHAR [1]'
  May 17 00:10:28 ubuntu kernel: CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 6.5.0-18-generic #18~22.04.1-Ubuntu
  May 17 00:10:28 ubuntu kernel: Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./760GM-HD, BIOS P1.00 06/11/2019
  May 17 00:10:28 ubuntu kernel: Workqueue: events work_for_cpu_fn
  May 17 00:10:28 ubuntu kernel: Call Trace:
  May 17 00:10:28 ubuntu kernel:  <TASK>
  May 17 00:10:28 ubuntu kernel:  dump_stack_lvl+0x48/0x70
  May 17 00:10:28 ubuntu kernel:  dump_stack+0x10/0x20
  May 17 00:10:28 ubuntu kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
  May 17 00:10:28 ubuntu kernel:  radeon_atombios_parse_power_table_6+0x39c/0x3d0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_atombios_get_power_modes+0x1e9/0x210 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_pm_init_dpm+0x8e/0x2f0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_pm_init+0xdf/0x120 [radeon]
  May 17 00:10:28 ubuntu kernel:  si_init+0x26b/0x620 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_device_init+0x57e/0xaf0 [radeon]
  May 17 00:10:28 ubuntu kernel:  radeon_driver_load_kms+0xcc/0x300 [
  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19 [origin: unknown]
  ProcVersionSignature: Ubuntu 6.5.0-18.18~22.04.1-generic 6.5.8
  Uname: Linux 6.5.0-18-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CasperVersion: 1.470.2
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Fri May 17 00:13:10 2024
  LiveMediaBuild: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  Symptom: dist-upgrade
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2065946/+subscriptions




More information about the foundations-bugs mailing list