In the Linux kernel, the following vulnerability has been resolved: accel/qaic: Protect perf stats BO state with bo->lock qaic_perf_stats_bo_ioctl() validates each BO by checking bo->sliced and bo->dbc before returning its perf stats. These fields are changed by the detach paths while holding bo->lock, but the perf stats ioctl reads them without that lock. A concurrent detach can clear bo->dbc and mark the BO unsliced while the perf stats ioctl is validating the BO. Take bo->lock while checking the BO state and copying the per-BO stats into the temporary result buffer.
https://git.kernel.org/stable/c/75531dfb2806a0f11d5088fbd538595e67171494
https://git.kernel.org/stable/c/1c50c57717c013ca63363eecb4154049cc727767