aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-01-07 07:34:07 +0000
committerRafael J. Wysocki <[email protected]>2022-01-10 15:36:45 +0000
commit7bf2e4d5ca1c94a9b0f730498b3d01768a72dcbd (patch)
tree5198dc8988854deb98617409324d1b4af9436622 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentACPI: pfr_update: Fix return value check in pfru_write() (diff)
downloadkernel-7bf2e4d5ca1c94a9b0f730498b3d01768a72dcbd.tar.gz
kernel-7bf2e4d5ca1c94a9b0f730498b3d01768a72dcbd.zip
ACPI: pfr_telemetry: Fix info leak in pfrt_log_ioctl()
The "data_info" struct is copied to the user. It has a 4 byte struct hole after the last struct member so we need to memset that to avoid copying uninitialized stack data to the user. Fixes: b0013e037a8b ("ACPI: Introduce Platform Firmware Runtime Telemetry driver") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions