diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-06-07 01:45:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 16:00:56 +0200 |
commit | b69a10df900386871703a4cc3be974485f52ff7c (patch) | |
tree | ced87653b3d8b8284d03c93ff43034c817857696 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | b2706d862b6577b8218bdef1c238e175624b906d (diff) |
drm/amd: Tighten permissions on VBIOS flashing attributes
commit 7ab1a4913d0051cf5196ef7987b5fa42c25e13b6 upstream.
Non-root users shouldn't be able to try to trigger a VBIOS flash
or query the flashing status. This should be reserved for users with the
appropriate permissions.
Cc: stable@vger.kernel.org
Fixes: 8424f2ccb3c0 ("drm/amdgpu/psp: Add vbflash sysfs interface support")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions