summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorYoussef Samir <youssef.abdulrahman@oss.qualcomm.com>2026-11-06 20:44:34 +0100
committerJeff Hugo <jeff.hugo@oss.qualcomm.com>2026-11-13 10:39:37 -0700
commitd48ea86919434695da12d280dccab72b094397e1 (patch)
tree93fdce293fc04e8328246304499a7c2759b02e7f /rust/kernel/alloc/kvec/errors.rs
parentbafda823590ddf7031ecb765d673572fae7ab44a (diff)
accel/qaic: Harden checks in BO execute and wait IOCTLs
send_bo_list_to_device() does not validate if the BOs the user passes through DRM_QAIC_EXECUTE_BO and DRM_QAIC_PARTIAL_EXECUTE_BO IOCTLs are attached to the DBC provided. This allows the user to slice and attach BOs to one DBC, and execute them over another DBC. The same case applies for qaic_wait_bo_ioctl() as well, as it neither checks if the BO is sliced, nor if it is attached to the passed DBC. Fixes: ff13be830333 ("accel/qaic: Add datapath") Signed-off-by: Youssef Samir <youssef.abdulrahman@oss.qualcomm.com> Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> [jhugo: Fix minor typos in commit text] Signed-off-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Link: https://patch.msgid.link/20261106194434.4062205-1-youssef.abdulrahman@oss.qualcomm.com
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions