Loading
accel/amdxdna: Validate command buffer payload count
The count field in the command header is used to determine the valid payload size. Verify that the valid payload does not exceed the remaining buffer space. Fixes: aac24309 ("accel/amdxdna: Add command execution") Reviewed-by:Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by:
Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260219211946.1920485-1-lizhi.hou@amd.com