Bug 218133

Summary: kernel panic when opening spotify/firefox 6.5.0.10.12 ubuntu 23.10 vega 64
Product: Drivers Reporter: Michael Pollind (mpollind)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED ANSWERED    
Severity: normal CC: alexdeucher
Priority: P3    
Hardware: AMD   
OS: Linux   
Kernel Version: 6.5.0-10-generic Ubuntu Subsystem:
Regression: No Bisected commit-id:

Description Michael Pollind 2023-11-11 04:54:57 UTC
this problem does not happen when I downgrade my kernel to 6.3.7.


Linux version 6.5.0-10-generic (buildd@lcy02-amd64-118) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #10-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 13 13:49:38 UTC 2023

-----

Nov 10 20:31:06 michaelpollind kernel: UBSAN: array-index-out-of-bounds in /build/linux-UiLXaH/linux-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c:361:55
Nov 10 20:31:06 michaelpollind kernel: index 2 is out of range for type 'ATOM_Vega10_MM_Dependency_Record [1]'
Nov 10 20:31:06 michaelpollind kernel: CPU: 10 PID: 343 Comm: (udev-worker) Not tainted 6.5.0-10-generic #10-Ubuntu
Nov 10 20:31:06 michaelpollind kernel: Hardware name: Gigabyte Technology Co., Ltd. X670E AORUS MASTER/X670E AORUS MASTER, BIOS F13d 09/14/2023
Nov 10 20:31:06 michaelpollind kernel: Call Trace:
Nov 10 20:31:06 michaelpollind kernel:  <TASK>
Nov 10 20:31:06 michaelpollind kernel:  dump_stack_lvl+0x48/0x70
Nov 10 20:31:06 michaelpollind kernel:  dump_stack+0x10/0x20
Nov 10 20:31:06 michaelpollind kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
Nov 10 20:31:06 michaelpollind kernel:  init_powerplay_extended_tables+0x6e7/0xab0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  vega10_pp_tables_initialize+0x156/0x4e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  hwmgr_hw_init+0x78/0x1e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  pp_hw_init+0x16/0x50 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_ip_init+0x48b/0x900 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_init+0x975/0x1160 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_pci_probe+0x175/0x490 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  local_pci_probe+0x44/0xb0
Nov 10 20:31:06 michaelpollind kernel:  pci_call_probe+0x55/0x190
Nov 10 20:31:06 michaelpollind kernel:  pci_device_probe+0x84/0x120
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  really_probe+0x1c4/0x410
Nov 10 20:31:06 michaelpollind kernel:  __driver_probe_device+0x8c/0x180
Nov 10 20:31:06 michaelpollind kernel:  driver_probe_device+0x24/0xd0
Nov 10 20:31:06 michaelpollind kernel:  __driver_attach+0x10b/0x210
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx___driver_attach+0x10/0x10
Nov 10 20:31:06 michaelpollind kernel:  bus_for_each_dev+0x8a/0xf0
Nov 10 20:31:06 michaelpollind kernel:  driver_attach+0x1e/0x30
Nov 10 20:31:06 michaelpollind kernel:  bus_add_driver+0x127/0x240
Nov 10 20:31:06 michaelpollind kernel:  driver_register+0x5e/0x130
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  __pci_register_driver+0x62/0x70
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_init+0x69/0xff0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  do_one_initcall+0x5b/0x340
Nov 10 20:31:06 michaelpollind kernel:  do_init_module+0x91/0x290
Nov 10 20:31:06 michaelpollind kernel:  load_module+0xba1/0xcf0
Nov 10 20:31:06 michaelpollind kernel:  ? vfree+0xff/0x2d0
Nov 10 20:31:06 michaelpollind kernel:  init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  ? init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  idempotent_init_module+0x11c/0x2b0
Nov 10 20:31:06 michaelpollind kernel:  __x64_sys_finit_module+0x64/0xd0
Nov 10 20:31:06 michaelpollind kernel:  do_syscall_64+0x59/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? exit_to_user_mode_prepare+0x9b/0xb0
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? syscall_exit_to_user_mode+0x37/0x60
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
Nov 10 20:31:06 michaelpollind kernel: RIP: 0033:0x7f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 6b 81 0d 00 f7 d8 64 89 01 48
Nov 10 20:31:06 michaelpollind kernel: RSP: 002b:00007ffc6df452d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Nov 10 20:31:06 michaelpollind kernel: RAX: ffffffffffffffda RBX: 0000555928ce21e0 RCX: 00007f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: RDX: 0000000000000004 RSI: 00007f0dac90444a RDI: 0000000000000017
Nov 10 20:31:06 michaelpollind kernel: RBP: 00007f0dac90444a R08: 0000000000000040 R09: fffffffffffffde0
Nov 10 20:31:06 michaelpollind kernel: R10: fffffffffffffe18 R11: 0000000000000246 R12: 0000000000020000
Nov 10 20:31:06 michaelpollind kernel: R13: 0000555928cccca0 R14: 0000000000000000 R15: 0000555928cce110
Nov 10 20:31:06 michaelpollind kernel:  </TASK>
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: UBSAN: array-index-out-of-bounds in /build/linux-UiLXaH/linux-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c:585:27
Nov 10 20:31:06 michaelpollind kernel: index 1 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
Nov 10 20:31:06 michaelpollind kernel: CPU: 10 PID: 343 Comm: (udev-worker) Not tainted 6.5.0-10-generic #10-Ubuntu
Nov 10 20:31:06 michaelpollind kernel: Hardware name: Gigabyte Technology Co., Ltd. X670E AORUS MASTER/X670E AORUS MASTER, BIOS F13d 09/14/2023
Nov 10 20:31:06 michaelpollind kernel: Call Trace:
Nov 10 20:31:06 michaelpollind kernel:  <TASK>
Nov 10 20:31:06 michaelpollind kernel:  dump_stack_lvl+0x48/0x70
Nov 10 20:31:06 michaelpollind kernel:  dump_stack+0x10/0x20
Nov 10 20:31:06 michaelpollind kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
Nov 10 20:31:06 michaelpollind kernel:  init_powerplay_extended_tables+0x886/0xab0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  vega10_pp_tables_initialize+0x156/0x4e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  hwmgr_hw_init+0x78/0x1e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  pp_hw_init+0x16/0x50 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_ip_init+0x48b/0x900 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_init+0x975/0x1160 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_pci_probe+0x175/0x490 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  local_pci_probe+0x44/0xb0
Nov 10 20:31:06 michaelpollind kernel:  pci_call_probe+0x55/0x190
Nov 10 20:31:06 michaelpollind kernel:  pci_device_probe+0x84/0x120
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  really_probe+0x1c4/0x410
Nov 10 20:31:06 michaelpollind kernel:  __driver_probe_device+0x8c/0x180
Nov 10 20:31:06 michaelpollind kernel:  driver_probe_device+0x24/0xd0
Nov 10 20:31:06 michaelpollind kernel:  __driver_attach+0x10b/0x210
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx___driver_attach+0x10/0x10
Nov 10 20:31:06 michaelpollind kernel:  bus_for_each_dev+0x8a/0xf0
Nov 10 20:31:06 michaelpollind kernel:  driver_attach+0x1e/0x30
Nov 10 20:31:06 michaelpollind kernel:  bus_add_driver+0x127/0x240
Nov 10 20:31:06 michaelpollind kernel:  driver_register+0x5e/0x130
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  __pci_register_driver+0x62/0x70
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_init+0x69/0xff0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  do_one_initcall+0x5b/0x340
Nov 10 20:31:06 michaelpollind kernel:  do_init_module+0x91/0x290
Nov 10 20:31:06 michaelpollind kernel:  load_module+0xba1/0xcf0
Nov 10 20:31:06 michaelpollind kernel:  ? vfree+0xff/0x2d0
Nov 10 20:31:06 michaelpollind kernel:  init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  ? init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  idempotent_init_module+0x11c/0x2b0
Nov 10 20:31:06 michaelpollind kernel:  __x64_sys_finit_module+0x64/0xd0
Nov 10 20:31:06 michaelpollind kernel:  do_syscall_64+0x59/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? exit_to_user_mode_prepare+0x9b/0xb0
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? syscall_exit_to_user_mode+0x37/0x60
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
Nov 10 20:31:06 michaelpollind kernel: RIP: 0033:0x7f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 6b 81 0d 00 f7 d8 64 89 01 48
Nov 10 20:31:06 michaelpollind kernel: RSP: 002b:00007ffc6df452d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Nov 10 20:31:06 michaelpollind kernel: RAX: ffffffffffffffda RBX: 0000555928ce21e0 RCX: 00007f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: RDX: 0000000000000004 RSI: 00007f0dac90444a RDI: 0000000000000017
Nov 10 20:31:06 michaelpollind kernel: RBP: 00007f0dac90444a R08: 0000000000000040 R09: fffffffffffffde0
Nov 10 20:31:06 michaelpollind kernel: R10: fffffffffffffe18 R11: 0000000000000246 R12: 0000000000020000
Nov 10 20:31:06 michaelpollind kernel: R13: 0000555928cccca0 R14: 0000000000000000 R15: 0000555928cce110
Nov 10 20:31:06 michaelpollind kernel:  </TASK>
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: UBSAN: array-index-out-of-bounds in /build/linux-UiLXaH/linux-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c:587:5
Nov 10 20:31:06 michaelpollind kernel: index 1 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
Nov 10 20:31:06 michaelpollind kernel: CPU: 10 PID: 343 Comm: (udev-worker) Not tainted 6.5.0-10-generic #10-Ubuntu
Nov 10 20:31:06 michaelpollind kernel: Hardware name: Gigabyte Technology Co., Ltd. X670E AORUS MASTER/X670E AORUS MASTER, BIOS F13d 09/14/2023
Nov 10 20:31:06 michaelpollind kernel: Call Trace:
Nov 10 20:31:06 michaelpollind kernel:  <TASK>
Nov 10 20:31:06 michaelpollind kernel:  dump_stack_lvl+0x48/0x70
Nov 10 20:31:06 michaelpollind kernel:  dump_stack+0x10/0x20
Nov 10 20:31:06 michaelpollind kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
Nov 10 20:31:06 michaelpollind kernel:  init_powerplay_extended_tables+0x8e9/0xab0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  vega10_pp_tables_initialize+0x156/0x4e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  hwmgr_hw_init+0x78/0x1e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  pp_hw_init+0x16/0x50 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_ip_init+0x48b/0x900 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_init+0x975/0x1160 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_pci_probe+0x175/0x490 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  local_pci_probe+0x44/0xb0
Nov 10 20:31:06 michaelpollind kernel:  pci_call_probe+0x55/0x190
Nov 10 20:31:06 michaelpollind kernel:  pci_device_probe+0x84/0x120
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  really_probe+0x1c4/0x410
Nov 10 20:31:06 michaelpollind kernel:  __driver_probe_device+0x8c/0x180
Nov 10 20:31:06 michaelpollind kernel:  driver_probe_device+0x24/0xd0
Nov 10 20:31:06 michaelpollind kernel:  __driver_attach+0x10b/0x210
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx___driver_attach+0x10/0x10
Nov 10 20:31:06 michaelpollind kernel:  bus_for_each_dev+0x8a/0xf0
Nov 10 20:31:06 michaelpollind kernel:  driver_attach+0x1e/0x30
Nov 10 20:31:06 michaelpollind kernel:  bus_add_driver+0x127/0x240
Nov 10 20:31:06 michaelpollind kernel:  driver_register+0x5e/0x130
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx_amdgpu_init+0x10/0x10 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  __pci_register_driver+0x62/0x70
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_init+0x69/0xff0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  do_one_initcall+0x5b/0x340
Nov 10 20:31:06 michaelpollind kernel:  do_init_module+0x91/0x290
Nov 10 20:31:06 michaelpollind kernel:  load_module+0xba1/0xcf0
Nov 10 20:31:06 michaelpollind kernel:  ? vfree+0xff/0x2d0
Nov 10 20:31:06 michaelpollind kernel:  init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  ? init_module_from_file+0x96/0x100
Nov 10 20:31:06 michaelpollind kernel:  idempotent_init_module+0x11c/0x2b0
Nov 10 20:31:06 michaelpollind kernel:  __x64_sys_finit_module+0x64/0xd0
Nov 10 20:31:06 michaelpollind kernel:  do_syscall_64+0x59/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? exit_to_user_mode_prepare+0x9b/0xb0
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? syscall_exit_to_user_mode+0x37/0x60
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  ? do_syscall_64+0x68/0x90
Nov 10 20:31:06 michaelpollind kernel:  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
Nov 10 20:31:06 michaelpollind kernel: RIP: 0033:0x7f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 6b 81 0d 00 f7 d8 64 89 01 48
Nov 10 20:31:06 michaelpollind kernel: RSP: 002b:00007ffc6df452d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
Nov 10 20:31:06 michaelpollind kernel: RAX: ffffffffffffffda RBX: 0000555928ce21e0 RCX: 00007f0dac788c7d
Nov 10 20:31:06 michaelpollind kernel: RDX: 0000000000000004 RSI: 00007f0dac90444a RDI: 0000000000000017
Nov 10 20:31:06 michaelpollind kernel: RBP: 00007f0dac90444a R08: 0000000000000040 R09: fffffffffffffde0
Nov 10 20:31:06 michaelpollind kernel: R10: fffffffffffffe18 R11: 0000000000000246 R12: 0000000000020000
Nov 10 20:31:06 michaelpollind kernel: R13: 0000555928cccca0 R14: 0000000000000000 R15: 0000555928cce110
Nov 10 20:31:06 michaelpollind kernel:  </TASK>
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: UBSAN: array-index-out-of-bounds in /build/linux-UiLXaH/linux-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c:714:27
Nov 10 20:31:06 michaelpollind kernel: index 1 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
Nov 10 20:31:06 michaelpollind kernel: CPU: 10 PID: 343 Comm: (udev-worker) Not tainted 6.5.0-10-generic #10-Ubuntu
Nov 10 20:31:06 michaelpollind kernel: Hardware name: Gigabyte Technology Co., Ltd. X670E AORUS MASTER/X670E AORUS MASTER, BIOS F13d 09/14/2023
Nov 10 20:31:06 michaelpollind kernel: Call Trace:
Nov 10 20:31:06 michaelpollind kernel:  <TASK>
Nov 10 20:31:06 michaelpollind kernel:  dump_stack_lvl+0x48/0x70
Nov 10 20:31:06 michaelpollind kernel:  dump_stack+0x10/0x20
Nov 10 20:31:06 michaelpollind kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
Nov 10 20:31:06 michaelpollind kernel:  get_pix_clk_voltage_dependency_table.isra.0+0xf9/0x130 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  init_powerplay_extended_tables+0x42f/0xab0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  vega10_pp_tables_initialize+0x156/0x4e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  hwmgr_hw_init+0x78/0x1e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  pp_hw_init+0x16/0x50 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_ip_init+0x48b/0x900 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_init+0x975/0x1160 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_pci_probe+0x175/0x490 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  local_pci_probe+0x44/0xb0
Nov 10 20:31:06 michaelpollind kernel:  pci_call_probe+0x55/0x190
Nov 10 20:31:06 michaelpollind kernel:  pci_device_probe+0x84/0x120
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  really_probe+0x1c4/0x410
Nov 10 20:31:06 michaelpollind kernel:  __driver_probe_device+0x8c/0x180
Nov 10 20:31:06 michaelpollind kernel:  driver_probe_device+0x24/0xd0
Nov 10 20:31:06 michaelpollind kernel:  __driver_attach+0x10b/0x210
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx___driver_attach+0x10/0x10
Nov 10 20:31:06 michaelpollind kernel:  bus_for_each_dev+0x8a/0xf0
lines 1606-1634
Nov 10 20:31:06 michaelpollind kernel: ================================================================================
Nov 10 20:31:06 michaelpollind kernel: UBSAN: array-index-out-of-bounds in /build/linux-UiLXaH/linux-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/vega10_processpptables.c:714:27
Nov 10 20:31:06 michaelpollind kernel: index 1 is out of range for type 'ATOM_Vega10_CLK_Dependency_Record [1]'
Nov 10 20:31:06 michaelpollind kernel: CPU: 10 PID: 343 Comm: (udev-worker) Not tainted 6.5.0-10-generic #10-Ubuntu
Nov 10 20:31:06 michaelpollind kernel: Hardware name: Gigabyte Technology Co., Ltd. X670E AORUS MASTER/X670E AORUS MASTER, BIOS F13d 09/14/2023
Nov 10 20:31:06 michaelpollind kernel: Call Trace:
Nov 10 20:31:06 michaelpollind kernel:  <TASK>
Nov 10 20:31:06 michaelpollind kernel:  dump_stack_lvl+0x48/0x70
Nov 10 20:31:06 michaelpollind kernel:  dump_stack+0x10/0x20
Nov 10 20:31:06 michaelpollind kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
Nov 10 20:31:06 michaelpollind kernel:  get_pix_clk_voltage_dependency_table.isra.0+0xf9/0x130 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  init_powerplay_extended_tables+0x42f/0xab0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  vega10_pp_tables_initialize+0x156/0x4e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  hwmgr_hw_init+0x78/0x1e0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  pp_hw_init+0x16/0x50 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_ip_init+0x48b/0x900 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_device_init+0x975/0x1160 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  amdgpu_pci_probe+0x175/0x490 [amdgpu]
Nov 10 20:31:06 michaelpollind kernel:  local_pci_probe+0x44/0xb0
Nov 10 20:31:06 michaelpollind kernel:  pci_call_probe+0x55/0x190
Nov 10 20:31:06 michaelpollind kernel:  pci_device_probe+0x84/0x120
Nov 10 20:31:06 michaelpollind kernel:  ? srso_alias_return_thunk+0x5/0x7f
Nov 10 20:31:06 michaelpollind kernel:  really_probe+0x1c4/0x410
Nov 10 20:31:06 michaelpollind kernel:  __driver_probe_device+0x8c/0x180
Nov 10 20:31:06 michaelpollind kernel:  driver_probe_device+0x24/0xd0
Nov 10 20:31:06 michaelpollind kernel:  __driver_attach+0x10b/0x210
Nov 10 20:31:06 michaelpollind kernel:  ? __pfx___driver_attach+0x10/0x10
Nov 10 20:31:06 michaelpollind kernel:  bus_for_each_dev+0x8a/0xf0
Nov 10 20:31:06 michaelpollind kernel:  driver_attach+0x1e/0x30
Nov 10 20:31:06 michaelpollind kernel:  bus_add_driver+0x127/0x240
Comment 1 Artem S. Tashkinov 2023-11-11 08:16:49 UTC
Please report on https://bugs.launchpad.net/ubuntu
Comment 2 Artem S. Tashkinov 2023-11-11 08:17:56 UTC
If you can reproduce the issue in vanilla 6.5.11 or 6.6.1 then report to https://gitlab.freedesktop.org/drm/amd/-/issues
Comment 3 Alex Deucher 2023-11-12 18:05:17 UTC
The warnings are harmless (they are just variable sized arrays) and have already been adjusted in 6.7.