← Back to CVE Explorer

CVE-2026-89591

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-11 20:19:43.683000
Last modified
2026-10-19 09:17:55.403000
View original CVE JSON
{
  "id": "CVE-2026-89591",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-11T20:19:43.683",
  "lastModified": "2026-10-19T09:17:55.403",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naccel/rocket: initialize job domain before cleanup paths\n\nrocket_ioctl_submit_job() releases rjob through rocket_job_put() on\nallocation error paths. rocket_job_cleanup() unconditionally calls\nrocket_iommu_domain_put(job->domain), but job->domain is assigned only\nafter task copying and BO lookups. A failure before that assignment can\ntherefore clean up a job with a NULL domain pointer.\n\nTake the per-file domain reference before the first error path can release\nrjob. Also clear rjob->tasks after freeing it in rocket_copy_tasks(), so\nthe common cleanup path cannot free the task array again after a task-copy\nerror."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/accel/rocket/rocket_job.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "0810d5ad88a18f1e6d549853a388ad0316f74e36",
              "lessThan": "3043230296653a609ab50006899e64bbb2d99465",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0810d5ad88a18f1e6d549853a388ad0316f74e36",
              "lessThan": "81731f1eda5e6a1dfad31445f741de9bbefbb08e",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "0810d5ad88a18f1e6d549853a388ad0316f74e36",
              "lessThan": "70e6a33d68a9b03335c5426332666e52d07f45d6",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/accel/rocket/rocket_job.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.18",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.18",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.50",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.4",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/3043230296653a609ab50006899e64bbb2d99465",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/70e6a33d68a9b03335c5426332666e52d07f45d6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/81731f1eda5e6a1dfad31445f741de9bbefbb08e",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}