# CVE-2026-89590: accel/rocket: Fix error path handling in rocket_job_run()

- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:54.328Z
- Modified: 2026-10-19T09:17:55.317Z
- Assigned by: Linux

## Description

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

accel/rocket: Fix error path handling in rocket_job_run()

In rocket_job_run(), after taking an extra fence reference for
job->done_fence via dma_fence_get(), the error paths have three bugs:

- The dma_fence reference held by job->done_fence is never released,
  causing a reference leak.
- pm_runtime_get_sync() increments the usage counter even on failure,
  but the error path does not decrement it, leaking the runtime PM
  reference and preventing the NPU from suspending.
- A valid but unsignaled fence is returned to the DRM scheduler,
  which triggers WARN("Fence ... released with pending signals!")
  when the scheduler drops its reference.

Fix by replacing pm_runtime_get_sync() with pm_runtime_resume_and_get()
which auto-balances the usage counter on failure, releasing both fence
references on error, and returning ERR_PTR(ret) instead of the
unsignaled fence.

[tomeu: Refactored error paths to use consolidated goto labels]

(As written by CVE List.)

## Affected

- Linux Linux: from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 9ad8821573a36bcd18c84dbca3027802b0ea062f; from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 7d6fa298c23495b805004f5f446497b661998fa5; from 0810d5ad88a18f1e6d549853a388ad0316f74e36 before 9b2dedadf6a91ac3fc9fae268bb556a041222711; 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/9ad8821573a36bcd18c84dbca3027802b0ea062f>
- <https://git.kernel.org/stable/c/7d6fa298c23495b805004f5f446497b661998fa5>
- <https://git.kernel.org/stable/c/9b2dedadf6a91ac3fc9fae268bb556a041222711>

## Sources

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

---

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