Seeing this issue on a completely fresh install of Ubuntu 22.04.3. Occurs very shortly after opening either firefox (snap version) or VSCode. System is running a Vega 56 graphics card. Result of journalctl is attached. I experienced this error, crashing my entire system repeatedly over the course of an evening.
** Attachment added: "Complete output of journalctl" https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049971/+attachment/5741123/+files/journalctl.txt -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe-6.5 in Ubuntu. https://bugs.launchpad.net/bugs/2049971 Title: array-index-out-of-bounds in /build/linux-hwe-6.5-q7NZ0T/linux- hwe-6.5-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c:929:40 Status in linux-signed-hwe-6.5 package in Ubuntu: Confirmed Bug description: UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-q7NZ0T/linux-hwe-6.5-6.5.0/drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/processpptables.c:929:40 [ 8.603621] index 1 is out of range for type 'UCHAR [1]' [ 8.603636] CPU: 0 PID: 476 Comm: systemd-udevd Not tainted 6.5.0-14-generic #14~22.04.1-Ubuntu [ 8.603645] Hardware name: GPU Company GWTN156-4/GPU Company, BIOS LC_BIOS_027_AP525_I 12/21/2020 [ 8.603650] Call Trace: [ 8.603655] <TASK> [ 8.603663] dump_stack_lvl+0x48/0x70 [ 8.603682] dump_stack+0x10/0x20 [ 8.603690] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 8.603705] ? __pfx_smu10_dpm_get_pp_table_entry_callback+0x10/0x10 [amdgpu] [ 8.604316] pp_tables_get_entry+0x268/0x2a0 [amdgpu] [ 8.604316] smu10_dpm_get_pp_table_entry+0x23/0x50 [amdgpu] [ 8.604316] psm_init_power_state_table+0x161/0x250 [amdgpu] [ 8.604316] hwmgr_hw_init+0xe3/0x1e0 [amdgpu] [ 8.604316] pp_hw_init+0x16/0x50 [amdgpu] [ 8.604316] amdgpu_device_ip_init+0x48d/0x960 [amdgpu] [ 8.604316] amdgpu_device_init+0x9c8/0x1160 [amdgpu] [ 8.604316] amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu] [ 8.604316] amdgpu_pci_probe+0x182/0x450 [amdgpu] [ 8.604316] local_pci_probe+0x47/0xb0 [ 8.604316] pci_call_probe+0x55/0x190 [ 8.604316] pci_device_probe+0x84/0x120 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] really_probe+0x1cc/0x430 [ 8.604316] __driver_probe_device+0x8c/0x190 [ 8.604316] driver_probe_device+0x24/0xd0 [ 8.604316] __driver_attach+0x10b/0x210 [ 8.604316] ? __pfx___driver_attach+0x10/0x10 [ 8.604316] bus_for_each_dev+0x8d/0xf0 [ 8.604316] driver_attach+0x1e/0x30 [ 8.604316] bus_add_driver+0x127/0x240 [ 8.604316] driver_register+0x5e/0x130 [ 8.604316] ? __pfx_amdgpu_init+0x10/0x10 [amdgpu] [ 8.604316] __pci_register_driver+0x62/0x70 [ 8.604316] amdgpu_init+0x69/0xff0 [amdgpu] [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] do_one_initcall+0x5e/0x340 [ 8.604316] do_init_module+0x68/0x260 [ 8.604316] load_module+0xb85/0xcd0 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? security_kernel_post_read_file+0x75/0x90 [ 8.604316] init_module_from_file+0x96/0x100 [ 8.604316] ? init_module_from_file+0x96/0x100 [ 8.604316] idempotent_init_module+0x11c/0x2b0 [ 8.604316] __x64_sys_finit_module+0x64/0xd0 [ 8.604316] do_syscall_64+0x5b/0x90 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? exit_to_user_mode_prepare+0x30/0xb0 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? syscall_exit_to_user_mode+0x37/0x60 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? do_syscall_64+0x67/0x90 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? exit_to_user_mode_prepare+0x30/0xb0 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? syscall_exit_to_user_mode+0x37/0x60 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? do_syscall_64+0x67/0x90 [ 8.604316] ? exit_to_user_mode_prepare+0x30/0xb0 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? syscall_exit_to_user_mode+0x37/0x60 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? do_syscall_64+0x67/0x90 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? do_syscall_64+0x67/0x90 [ 8.604316] ? srso_return_thunk+0x5/0x10 [ 8.604316] ? do_syscall_64+0x67/0x90 [ 8.604316] ? sysvec_apic_timer_interrupt+0x4b/0xd0 [ 8.604316] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 8.604316] RIP: 0033:0x7f848a91e88d [ 8.604316] Code: 5b 41 5c c3 66 0f 1f 84 00 00 00 00 00 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 73 b5 0f 00 f7 d8 64 89 01 48 [ 8.604316] RSP: 002b:00007ffd32d74f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 8.604316] RAX: ffffffffffffffda RBX: 0000559af6a1e890 RCX: 00007f848a91e88d [ 8.604316] RDX: 0000000000000000 RSI: 00007f848ab43441 RDI: 0000000000000019 [ 8.604316] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000002 [ 8.604316] R10: 0000000000000019 R11: 0000000000000246 R12: 00007f848ab43441 [ 8.604316] R13: 0000559af6a1d9d0 R14: 0000559af6a200a0 R15: 0000559af6a21ab0 [ 8.604316] </TASK> ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-6.5.0-14-generic 6.5.0-14.14~22.04.1 ProcVersionSignature: Ubuntu 6.5.0-14.14~22.04.1-generic 6.5.3 Uname: Linux 6.5.0-14-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.5 Architecture: amd64 CasperMD5CheckResult: unknown CurrentDesktop: ubuntu:GNOME Date: Sat Jan 20 09:41:28 2024 InstallationDate: Installed on 2021-11-25 (786 days ago) InstallationMedia: Ubuntu 20.04.3 LTS "Focal Fossa" - Release amd64 (20210819) SourcePackage: linux-signed-hwe-6.5 UpgradeStatus: Upgraded to jammy on 2022-08-25 (512 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-6.5/+bug/2049971/+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