# CVE-2026-89591: accel/rocket: initialize job domain before cleanup paths

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:55.080Z
- Modified: 2026-10-19T09:17:55.403Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

accel/rocket: initialize job domain before cleanup paths

rocket_ioctl_submit_job() releases rjob through rocket_job_put() on
allocation error paths. rocket_job_cleanup() unconditionally calls
rocket_iommu_domain_put(job->domain), but job->domain is assigned only
after task copying and BO lookups. A failure before that assignment can
therefore clean up a job with a NULL domain pointer.

Take the per-file domain reference before the first error path can release
rjob. Also clear rjob->tasks after freeing it in rocket_copy_tasks(), so
the common cleanup path cannot free the task array again after a task-copy
error.

(As written by CVE List.)

## Affected

- Linux Linux: from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 3043230296653a609ab50006899e64bbb2d99465; from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 81731f1eda5e6a1dfad31445f741de9bbefbb08e; from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 70e6a33d68a9b03335c5426332666e52d07f45d6; 6.18 (not affected: before 6.18; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/3043230296653a609ab50006899e64bbb2d99465>
- <https://git.kernel.org/stable/c/81731f1eda5e6a1dfad31445f741de9bbefbb08e>
- <https://git.kernel.org/stable/c/70e6a33d68a9b03335c5426332666e52d07f45d6>

## Sources

- CVE List: [CVE-2026-89591](https://www.cve.org/CVERecord?id=CVE-2026-89591), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89591](https://nvd.nist.gov/vuln/detail/CVE-2026-89591), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89591 · Whole record: https://cve.day/CVE-2026-89591.json · Rebuilt by cve.day 2026-11-25T22:59:38.077Z
