CyberRota Analysis
AI-GeneratedA vulnerability in the Linux kernel affects the AMD GPU driver, specifically in the handling of debug buffer synchronization during direct device synchronization. This flaw could lead to improper access control, potentially allowing unauthorized operations on hardware contexts, which may compromise system integrity. Organizations utilizing Linux systems with AMD GPUs should prioritize addressing this issue to mitigate potential security risks.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Use caller client for debug BO sync amdxdna_drm_sync_bo_ioctl() looks up args->handle in the ioctl caller's drm_file. For SYNC_DIRECT_FROM_DEVICE, it then calls amdxdna_hwctx_sync_debug_bo(), but passes abo->client. amdxdna_hwctx_sync_debug_bo() uses the passed client both as the handle namespace for debug_bo_hdl and as the owner of the hardware context xarray. Those must match the file that supplied args->handle. The BO's stored client pointer is object state, not the ioctl context. Pass filp->driver_priv instead, matching the original handle lookup.