aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-07-09 22:37:24 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-08-02 16:44:22 +0200
commit4bb1e7d027413835b086aed35bc3f0713bc0f72b (patch)
treeecaab6e92dd5b05c106bb2bad7bda5e2934df5e9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
ACPI: sysfs: validate return type of _STR method
Only buffer objects are valid return values of _STR. If something else is returned description_show() will access invalid memory. Fixes: d1efe3c324ea ("ACPI: Add new sysfs interface to export device description") Cc: All applicable <stable@vger.kernel.org> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://patch.msgid.link/20240709-acpi-sysfs-groups-v2-1-058ab0667fa8@weissschuh.net Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h')
0 files changed, 0 insertions, 0 deletions