CVE-2026-139428: accel/rocket: Don't tear down the scheduler when drm_sched_init() fails
accel/rocket: Don't tear down the scheduler when drmschedinit() fails
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In accel/rocket, when drm_sched_init() fails, do not call drm_sched_fini() on the scheduler; only destroy the reset workqueue on this path.
Event History
Frequently Asked Questions
What condition is required to trigger the faulty cleanup path?
The issue is reached when drm_sched_init() fails during rocket_job_init(). The subsequent call to drm_sched_fini() operates on a scheduler that has already been cleaned up by drm_sched_init().
What is the impact of reaching this path?
The cleanup can wake an uninitialised wait queue and dereference a NULL pointer. It can also attempt to destroy the submit workqueue a second time.
What is the correct mitigation in the affected failure path?
Do not tear down the scheduler with drm_sched_fini() after drm_sched_init() fails. Only the reset workqueue should be destroyed on that path.