DF-1144 / fix.diff
--- /tmp/orig/dev/drm/amd/amdgpu/ci_dpm.c 2026-07-23 11:54:56.804843000 +0000 +++ dev/drm/amd/amdgpu/ci_dpm.c 2026-07-23 12:21:10.240582000 +0000 @@ -5689,6 +5689,8 @@ u8 *idx; power_state = (union pplib_power_state *)power_state_offset; non_clock_array_index = power_state->v2.nonClockInfoIndex; + if (non_clock_array_index >= non_clock_info_array->ucNumEntries) + continue; non_clock_info = (struct _ATOM_PPLIB_NONCLOCK_INFO *) &non_clock_info_array->nonClockInfo[non_clock_array_index]; ps = kzalloc(sizeof(struct ci_ps), GFP_KERNEL); |