diff options
| author | David Francis <David.Francis@amd.com> | 2026-05-12 15:15:33 -0400 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-05-18 18:18:25 -0400 |
| commit | 1f087bb8cf9e8797633da35c85435e557ef74d06 (patch) | |
| tree | defd1289fced71c9dfe2486a441e3e831106448d /include/linux/debugobjects.h | |
| parent | a20d21df625548c1738c0745f753c5d6eb823bc3 (diff) | |
drm/amdkfd: Check bounds on allocate_doorbell
allocated_doorbell has an option to set the doorbell id
to a specific value (used by CRIU). This value was not
bounds checked.
Check to confirm it's less than KFD_MAX_NUM_OF_QUEUES_PER_PROCESS.
Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
