From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 07BC8585986 for ; Fri, 11 Sep 2026 19:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156769; cv=none; b=LJlqFxTV30SxTw9I07zUJIq6WUUY9ij/8wHxi3EjUV188gGwsWvTYbACgvsJoLGyZe19182/7GquP8L1isqJ+ucjO7TXXxW6kwB8+Wziq+pIOQ8HMgfKTsvpEREKrBY4D07PXQiEpZqTdiy4IgGcE3tZlvtdPsyw7Q+zkMC3K6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156769; c=relaxed/simple; bh=hyVGJepbQF6GNNNuZYeiOeCqFen5eyb6M7e9VgXmE88=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YX09mpgqVwESgezpfo21IB1VqvT3dUZ6b8DFF9jXqWudVkKp8LO96lqY2u+qHokzyFCKph/wOV5AK7xbWz85EzHszgCpk4iyF5qwJAvrEno3b1sYHvefvnSQBcw16QUuxLZioPgf7AtKSuLu69zZ4rKE4BbgwdJKTyaAP4USXRo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EOGMn38o; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EOGMn38o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CBFA1F00898; Fri, 11 Sep 2026 19:59:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156762; bh=6OuClBiIaYNx9i8KaNp5UXP9qqP1K3sjoD2WDIIw3WA=; h=From:To:Cc:Subject:Date:Reply-To; b=EOGMn38om12uYpZHYsA5VmnyPOtYl/7WiWNkB4gWi2VfskGW10or5xwsmn4i7/FVB Ft7/cmedsZSzVaNPFBAFBpmLYjWnGHdwdacwsQ1xS3SpP9zuDYDPrFqSljQbWAVZo5 AN4fzdup87uJlsoeja3ttMRF4rpSH8aYxPVjNc/0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-89591: accel/rocket: initialize job domain before cleanup paths Date: Fri, 11 Sep 2026 21:44:40 +0200 Message-ID: <2026091130-CVE-2026-89591-cc8e@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2574; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Z41WO5kwQ/QXMR/i7TeqCGBqef7OfWRB7VXR1QOs0z0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIrMeTNfp+L5W+16V3mlbGc/du3aVKZmInuYNbv70+ 8in2DNsHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRWn+G+U7yU4qMlX/fde3q jb0aIfM7Tin0KMN859/21+xfGK8+U+zXe/7Opl/nSlufAQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-89591 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 6.18.50 with commit 3043230296653a609ab50006899e64bbb2d99465 Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 7.2.4 with commit 81731f1eda5e6a1dfad31445f741de9bbefbb08e Issue introduced in 6.18 with commit 0810d5ad88a18f1e6d549853a388ad0316f74e36 and fixed in 7.3-rc1 with commit 70e6a33d68a9b03335c5426332666e52d07f45d6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-89591 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/accel/rocket/rocket_job.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3043230296653a609ab50006899e64bbb2d99465 https://git.kernel.org/stable/c/81731f1eda5e6a1dfad31445f741de9bbefbb08e https://git.kernel.org/stable/c/70e6a33d68a9b03335c5426332666e52d07f45d6