diff options
author | Umio Yasuno <coelacanth_dream@protonmail.com> | 2025-07-15 14:44:35 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-07-16 16:17:21 -0400 |
commit | d524d40e3a6152a3ea1125af729f8cd8ca65efde (patch) | |
tree | e7160e29b4a125fb6ffa77fd62c0f70f77725153 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 82a7c94fcecd104fa70766caaf6423e84bf588cb (diff) |
drm/amd/pm: fix null pointer access
Writing a string without delimiters (' ', '\n', '\0') to the under
gpu_od/fan_ctrl sysfs or pp_power_profile_mode for the CUSTOM profile
will result in a null pointer dereference.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4401
Signed-off-by: Umio Yasuno <coelacanth_dream@protonmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions