# CVE-2026-89976: accel/ethosu: fix job completion fence cleanup

- 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.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:32:54.518Z
- Modified: 2026-10-19T09:18:44.407Z
- Assigned by: Linux

## Description

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

accel/ethosu: fix job completion fence cleanup

ethosu_ioctl_submit_job() allocates done_fence before validating buffer
handles. Errors after allocation call ethosu_job_err_cleanup(), which frees
the job but leaks the uninitialized fence.

A scheduler dependency error also lets ethosu_job_run() return before
dma_fence_init(). Normal cleanup then passes a zeroed refcount to
dma_fence_put().

Release done_fence in the common cleanup path and use
dma_fence_was_initialized() to distinguish initialized fences from raw
allocations.

[robh: also fix goto]

(As written by CVE List.)

## Affected

- Linux Linux: from 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b before b3e0f79af1f27339d8d2527c02cc3e8397c2f69f; from 5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b before 2d2a3adc91950f9a18829dadc7317fb5180a15c5; 6.19 (not affected: before 6.19; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b3e0f79af1f27339d8d2527c02cc3e8397c2f69f>
- <https://git.kernel.org/stable/c/2d2a3adc91950f9a18829dadc7317fb5180a15c5>

## Sources

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

---

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