Comment 9 for bug 2039926

Revision history for this message
Muhammed Sabbagh (muhammedsabbagh) wrote :

similar to other reports from the fellows up:

GPU: \ Vendor: AMD (0x1002)
    Device: AMD Radeon R7 M340 (iceland, LLVM 15.0.7, DRM 3.54, 6.5.0-14-generic) (0x6900)
    Version: 23.0.4

Linux: Ubuntu 22.04
Kernel: linux-image-6.5.0-14-generic/jammy-updates,jammy-security,now 6.5.0-14.14~22.04.1 amd64

[ 12.308765] ================================================================================
[ 12.309790] ================================================================================
[ 12.310831] 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:1279:65
[ 12.312963] index 1 is out of range for type 'ATOM_PPLIB_SAMClk_Voltage_Limit_Record [1]'
[ 12.314267] CPU: 1 PID: 341 Comm: systemd-udevd Not tainted 6.5.0-14-generic #14~22.04.1-Ubuntu
[ 12.314275] Hardware name: LENOVO 80SY/LNVNB161216, BIOS 0ZCN52WW 12/11/2019
[ 12.314278] Call Trace:
[ 12.314281] <TASK>
[ 12.314286] dump_stack_lvl+0x48/0x70
[ 12.314298] dump_stack+0x10/0x20
[ 12.314304] __ubsan_handle_out_of_bounds+0xc6/0x110
[ 12.314314] init_clock_voltage_dependency+0x8ca/0xa60 [amdgpu]
[ 12.315266] pp_tables_initialize+0x116/0x440 [amdgpu]
[ 12.316037] ? amdgpu_ring_test_helper+0x83/0x90 [amdgpu]
[ 12.316822] hwmgr_hw_init+0x78/0x1e0 [amdgpu]
[ 12.317642] pp_hw_init+0x16/0x50 [amdgpu]
[ 12.318433] amdgpu_device_ip_init+0x48a/0x960 [amdgpu]
[ 12.319116] amdgpu_device_init+0x9c8/0x1160 [amdgpu]
[ 12.319779] amdgpu_driver_load_kms+0x1a/0x1c0 [amdgpu]
[ 12.320436] amdgpu_pci_probe+0x182/0x450 [amdgpu]
[ 12.321077] local_pci_probe+0x44/0xb0
[ 12.321087] pci_call_probe+0x55/0x190
[ 12.321092] pci_device_probe+0x84/0x120
[ 12.321098] really_probe+0x1c9/0x430
[ 12.321103] __driver_probe_device+0x8c/0x190
[ 12.321107] driver_probe_device+0x24/0xd0
[ 12.321111] __driver_attach+0x10b/0x210
[ 12.321115] ? __pfx___driver_attach+0x10/0x10
[ 12.321120] bus_for_each_dev+0x8a/0xf0
[ 12.321126] driver_attach+0x1e/0x30
[ 12.321132] bus_add_driver+0x127/0x240
[ 12.321139] driver_register+0x5e/0x130
[ 12.321144] ? __pfx_amdgpu_init+0x10/0x10 [amdgpu]
[ 12.321817] __pci_register_driver+0x62/0x70
[ 12.321824] amdgpu_init+0x69/0xff0 [amdgpu]
[ 12.322454] do_one_initcall+0x5b/0x340
[ 12.322464] do_init_module+0x68/0x260
[ 12.322471] load_module+0xb85/0xcd0
[ 12.322479] ? security_kernel_post_read_file+0x75/0x90
[ 12.322484] ? security_kernel_post_read_file+0x75/0x90
[ 12.322491] init_module_from_file+0x96/0x100
[ 12.322497] ? init_module_from_file+0x96/0x100
[ 12.322509] idempotent_init_module+0x11c/0x2b0
[ 12.322517] __x64_sys_finit_module+0x64/0xd0
[ 12.322523] do_syscall_64+0x58/0x90
[ 12.322529] ? do_syscall_64+0x67/0x90
[ 12.322534] ? sysvec_call_function+0x4b/0xd0
[ 12.322539] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[ 12.322545] RIP: 0033:0x7f7bf951e88d
[ 12.322569] 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
[ 12.322574] RSP: 002b:00007ffd149dffd8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 12.322579] RAX: ffffffffffffffda RBX: 00005599257eac40 RCX: 00007f7bf951e88d
[ 12.322582] RDX: 0000000000000000 RSI: 00007f7bf989e441 RDI: 0000000000000016
[ 12.322585] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000002
[ 12.322588] R10: 0000000000000016 R11: 0000000000000246 R12: 00007f7bf989e441
[ 12.322590] R13: 00005599256fbe20 R14: 00005599257e9b70 R15: 00005599257e7610
[ 12.322597] </TASK>

the above error repeats about 12 times approx. within the 12 second kernel time, but GPU seems to work fine