{"id":"CVE-2026-89976","state":"PUBLISHED","title":"accel/ethosu: fix job completion fence cleanup","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/ethosu: fix job completion fence cleanup\n\nethosu_ioctl_submit_job() allocates done_fence before validating buffer\nhandles. Errors after allocation call ethosu_job_err_cleanup(), which frees\nthe job but leaks the uninitialized fence.\n\nA scheduler dependency error also lets ethosu_job_run() return before\ndma_fence_init(). Normal cleanup then passes a zeroed refcount to\ndma_fence_put().\n\nRelease done_fence in the common cleanup path and use\ndma_fence_was_initialized() to distinguish initialized fences from raw\nallocations.\n\n[robh: also fix goto]","publishedAt":"2026-09-16T10:32:54.518Z","updatedAt":"2026-10-19T08:55:51.093Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b","status":"affected","lessThan":"b3e0f79af1f27339d8d2527c02cc3e8397c2f69f","versionType":"git"},{"version":"5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b","status":"affected","lessThan":"2d2a3adc91950f9a18829dadc7317fb5180a15c5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ethosu/ethosu_job.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ethosu/ethosu_job.c"]}],"references":["https://git.kernel.org/stable/c/b3e0f79af1f27339d8d2527c02cc3e8397c2f69f","https://git.kernel.org/stable/c/2d2a3adc91950f9a18829dadc7317fb5180a15c5"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89976.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89976","state":"PUBLISHED","datePublished":"2026-09-16T10:32:54.518Z","dateUpdated":"2026-10-19T08:55:51.093Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.779Z"},"containers":{"cna":{"title":"accel/ethosu: fix job completion fence cleanup","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/ethosu: fix job completion fence cleanup\n\nethosu_ioctl_submit_job() allocates done_fence before validating buffer\nhandles. Errors after allocation call ethosu_job_err_cleanup(), which frees\nthe job but leaks the uninitialized fence.\n\nA scheduler dependency error also lets ethosu_job_run() return before\ndma_fence_init(). Normal cleanup then passes a zeroed refcount to\ndma_fence_put().\n\nRelease done_fence in the common cleanup path and use\ndma_fence_was_initialized() to distinguish initialized fences from raw\nallocations.\n\n[robh: also fix goto]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b","status":"affected","lessThan":"b3e0f79af1f27339d8d2527c02cc3e8397c2f69f","versionType":"git"},{"version":"5a5e9c0228e613f0ef2a58b9782d7c0ea8f1e58b","status":"affected","lessThan":"2d2a3adc91950f9a18829dadc7317fb5180a15c5","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ethosu/ethosu_job.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ethosu/ethosu_job.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b3e0f79af1f27339d8d2527c02cc3e8397c2f69f"},{"url":"https://git.kernel.org/stable/c/2d2a3adc91950f9a18829dadc7317fb5180a15c5"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:55:51.093Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}