Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4ddf4ddfceb40c8656600757c94d6ce80af8ad19 to < 75531dfb2806a0f11d5088fbd538595e67171494affected4ddf4ddfceb40c8656600757c94d6ce80af8ad19 to < 1c50c57717c013ca63363eecb4154049cc727767affected
Linux Linux
Default version status: affected
6.19affected0 to < 6.19unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected