summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSidong Yang <sidong.yang@furiosa.ai>2026-10-05 01:47:25 +0900
committerHeiko Stuebner <heiko@sntech.de>2026-10-12 23:15:46 +0200
commita6709a58a01c8fc357e316bee31f369c2ea56235 (patch)
tree74ebe159cd75fb582c8c1c88ca4f228a768f2a37 /include/linux
parent3e32932d3626d0279f9b3531bd648f8c0a16cb08 (diff)
accel/rocket: Don't tear down the scheduler when drm_sched_init() fails
drm_sched_init() cleans up after itself when it fails, but rocket_job_init() then calls drm_sched_fini() on the same scheduler. That wakes a wait queue that was never initialised, dereferencing a NULL pointer, and can destroy the submit workqueue a second time. Only destroy the reset workqueue on this path. Fixes: 0810d5ad88a1 ("accel/rocket: Add job submission IOCTL") Reported-by: Sashiko <sashiko-bot@kernel.org> Closes: https://lore.kernel.org/all/20260912114524.7A6131F00893@smtp.kernel.org/ Signed-off-by: Sidong Yang <sidong.yang@furiosa.ai> Reviewed-by: Jeff Hugo <jeff.hugo@oss.qualcomm.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patch.msgid.link/20261004164727.466164-2-sidong.yang@furiosa.ai
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions