accel/rocket: initialize job domain before cleanup paths
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.18.50, 7.2.4
- CVEs
- CVE-2026-89591
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 03:46 UTC · Revision 1
Source evidence
accel/rocket: initialize job domain before cleanup paths
core-osv · Original sourcePublished 11 Sept 2026, 19:44 UTC
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.
osv:CVE-2026-89591
Kernel
Fixed versions: 6.18.50, 7.2.4
Complete source record
{
"id": "7faac0b40e249dec8f4feaad10d091df458302221dbe4a955c05f5a389f6238f",
"url": "https://osv.dev/vulnerability/CVE-2026-89591",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "accel/rocket: initialize job domain before cleanup paths",
"summary": "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.",
"evidence": "osv:CVE-2026-89591",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.18.50",
"evidence": "/affected/1/ranges"
},
{
"value": "7.2.4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2026-89591",
"aliases": [
"CVE-2026-89591"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0810d5ad88a18f1e6d549853a388ad0316f74e36"
},
{
"fixed": "3043230296653a609ab50006899e64bbb2d99465"
},
{
"fixed": "81731f1eda5e6a1dfad31445f741de9bbefbb08e"
},
{
"fixed": "70e6a33d68a9b03335c5426332666e52d07f45d6"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89591.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.18.0"
},
{
"fixed": "6.18.50"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.2.4"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89591.json"
}
}
],
"modified": "2026-10-28T02:30:53.329027003Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/3043230296653a609ab50006899e64bbb2d99465",
"https://git.kernel.org/stable/c/70e6a33d68a9b03335c5426332666e52d07f45d6",
"https://git.kernel.org/stable/c/81731f1eda5e6a1dfad31445f741de9bbefbb08e",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89591.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-89591",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89591.json"
}
},
"related_cves": [
{
"value": "CVE-2026-89591",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 522330,
"published_at": "2026-09-11T19:44:55.08+00:00"
}