summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorSunday Clement <Sunday.Clement@amd.com>2026-02-02 12:41:39 -0500
committerSasha Levin <sashal@kernel.org>2026-03-04 07:20:52 -0500
commitb4034442cb090e4a980bdcc1540948606cbc951b (patch)
tree73b4ddbf01d3d0346d4af5ddcac8105cb296c640 /include/memory
parent0f8d66ae32db545aa21fe4d910aa73b289bd3fa2 (diff)
drm/amdkfd: Fix out-of-bounds write in kfd_event_page_set()
[ Upstream commit 8a70a26c9f34baea6c3199a9862ddaff4554a96d ] The kfd_event_page_set() function writes KFD_SIGNAL_EVENT_LIMIT * 8 bytes via memset without checking the buffer size parameter. This allows unprivileged userspace to trigger an out-of bounds kernel memory write by passing a small buffer, leading to potential privilege escalation. Signed-off-by: Sunday Clement <Sunday.Clement@amd.com> Reviewed-by: Alexander Deucher <Alexander.Deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions