Re: [PATCH] drm/amdgpu: fix NULL dereference in gfx_v9_0_kcq() and kiq_init_queue()

2025-06-04 Thread SDL
04.06.2025 22:34, Alex Deucher пишет: On Wed, Jun 4, 2025 at 3:30 PM SDL wrote: On Sat, May 24, 2025 at 2:14 AM Alexey Nepomnyashih wrote: A potential NULL pointer dereference may occur when accessing tmp_mqd->cp_hqd_pq_control without verifying that tmp_mqd is non-NULL. This may hap

Re: [PATCH] drm/amdgpu: fix NULL dereference in gfx_v9_0_kcq() and kiq_init_queue()

2025-06-04 Thread SDL
On Sat, May 24, 2025 at 2:14 AM Alexey Nepomnyashih wrote: A potential NULL pointer dereference may occur when accessing tmp_mqd->cp_hqd_pq_control without verifying that tmp_mqd is non-NULL. This may happen if mqd_backup[mqd_idx] is unexpectedly NULL. Although a NULL check for mqd_backup[mq