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 7DEC83DE440 for ; Tue, 6 Oct 2026 10:25:14 +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=1791282315; cv=none; b=HiWPl9C3L0rTPk4MWBgCfu3AxXsg0/D+YDLBLXyywM6jzU0watsKNOi4QjeoVXjdZetzXzdZqd7nyrAqnKl/G1ol0e3+GRPE2KnS+YKGtMSdDa9RgwMBY8dsCE8aXceOO5P4dE8hr/2k4lHZiePSCiWuMUhSvKFa876FHKFlIeo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282315; c=relaxed/simple; bh=2nQjuDZXmeFpqkpDDP3wq3vU14KdRM+D/CPhCn5rhhk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pa5xvAaYtcuGmFX044gZ5uu67lrRLT+oqS58Zy+4rmHcm3kwmTwUs1E20yb70GVKFrWwrrVrOB66aK50Ymh+EHixxDRItfxQAj5kj7mF8cd6BhcqD+vBUsRtazLNm1FDtQIzXTIzcWzmUfjwj1cVaBYLiYvJVKWHdTtDwnJd4Ko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eV82g0Og; 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="eV82g0Og" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD39C1F000FF; Tue, 6 Oct 2026 10:25:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282314; bh=YPn9lGtB+7RjVnHLrvn+5wJ9Kn8XCS2HMa6v6k26OSg=; h=From:To:Cc:Subject:Date:Reply-To; b=eV82g0OgJ8faFp+F8X1ht+IfIOJ7sea0+rObsdZwH8vfNJE34e6J8BM1bXxpyRosP xm66Enzogiyzrh+pW6qhu7O6HtC5CZzt1j6PI5xGaEJgz8ryjST2kRDmJRhCZMK6G9 VioyOGa3mPdLgR1X08ueww4vWLKsjl4C/EOGQl4Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98270: drm/amdgpu: check ras and obj before dereference Date: Tue, 6 Oct 2026 10:46:11 +0200 Message-ID: <2026100602-CVE-2026-98270-a3f4@gregkh> X-Mailer: git-send-email 2.56.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=3223; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aoG10UTjr9vY8UB/xds6+SnJtFer47vkTtfk7HDMv9c=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtvLlh8Y5d9n1n1rvtNWTfVpJapTRzwn3baunsm988 3/BNGfLjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIZhjDfMdfeybwO8iZNuWw XdC/+WvbrP51ngwLum6ErTmRfndGjWjgSpayCa2fZv/fBQA= 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: drm/amdgpu: check ras and obj before dereference nbio_v7_9_handle_ras_controller_intr_no_bifring() dereferences ras and obj without checking either for NULL. Both amdgpu_ras_get_context() and amdgpu_ras_find_obj() can return NULL, e.g. during the window between adev->nbio.ras being set (early in amdgpu_ras_init(), by design, to enable the fatal-error interrupt as soon as possible) and the PCIE_BIF ras object actually being created in RAS late_init. Any interrupt in that window crashes in hard-IRQ context. This is analogous to commit d190b459b2a4 ("drm/amdgpu: the warning dereferencing obj for nbio_v7_4"), which fixed the same issue in the nbio_v7_4 handler. Found by Linux Verification Center (linuxtesting.org) with SVACE. (cherry picked from commit c7071767a50a32ed727cf800ac84372429e3b4b3) The Linux kernel CVE team has assigned CVE-2026-98270 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 7692e1ee2446fd1940b5caa6e09779504a58881a and fixed in 6.6.158 with commit b7c7f07a40037514f8e890aa00f8d7b196d680cf Issue introduced in 6.6 with commit 7692e1ee2446fd1940b5caa6e09779504a58881a and fixed in 6.12.112 with commit fc5f845a291fc8175e6857cd6ad042818da192e8 Issue introduced in 6.6 with commit 7692e1ee2446fd1940b5caa6e09779504a58881a and fixed in 6.18.54 with commit 37583946d8751f8e285c467d770ac0b609b82a23 Issue introduced in 6.6 with commit 7692e1ee2446fd1940b5caa6e09779504a58881a and fixed in 7.2.8 with commit 315c22712715491f0dfafdaf2c2b437540e68702 Issue introduced in 6.6 with commit 7692e1ee2446fd1940b5caa6e09779504a58881a and fixed in 7.3-rc4 with commit 723d4dc628d764b19cf9efca14b82cca5ff020c9 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-98270 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/gpu/drm/amd/amdgpu/nbio_v7_9.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/b7c7f07a40037514f8e890aa00f8d7b196d680cf https://git.kernel.org/stable/c/fc5f845a291fc8175e6857cd6ad042818da192e8 https://git.kernel.org/stable/c/37583946d8751f8e285c467d770ac0b609b82a23 https://git.kernel.org/stable/c/315c22712715491f0dfafdaf2c2b437540e68702 https://git.kernel.org/stable/c/723d4dc628d764b19cf9efca14b82cca5ff020c9