Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0F7F618BC3A for ; Fri, 27 Sep 2024 12:36:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440612; cv=none; b=vDiXGScFcfeS0bua4SRS6B82YFMUWjxw2sjOOF4piObIX+CwyvzAo/oogenf+suajHKfNnSf3K9rrJG95o+Vw/eU+FzgrtJsP8HF6y9i7lXVINIPI04HPDh2gy9ceE97wTYPWhaFBTDHn18mvzjkhK1/DmXq2O4qTf3/DHE+KG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440612; c=relaxed/simple; bh=8BNlDl7BzFrUhpiO+6Cc8RqoC2lLrJnT+m+NraHPqIk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MfQ9BmsuAJYVJFe2m8oj3Gcv4i/GvL3RjYcIUekW/jFIr2flJRCPcGp1cbknM/y1g/+laV2/26Z5/2Llndf9g/HrMRNoZqGbSB/cSV/nQdRMwePp/qP/EMh8vN69/dPx7fmNUHMK4Z7rNrKG0Qn2vXkXZt39Wb87dxTMyfsobPs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LFf8CLte; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="LFf8CLte" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43E7EC4CEC4; Fri, 27 Sep 2024 12:36:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440611; bh=8BNlDl7BzFrUhpiO+6Cc8RqoC2lLrJnT+m+NraHPqIk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LFf8CLtezQxlbCRY0yLkhpeouJHSAdguQ2lSrwv6tsUh79Myh/IZSedm7Yl4d5VsG fQsgMxEH6wa9JT0vC4oKWJYQ1o4PGa4blHdKX7F1Y3MBmP2NVXIgy9ZZ8Il8JDznmF eSEviL8Roy97TrC+3949D3eIwVXs285xLA71MRUI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46820: drm/amdgpu/vcn: remove irq disabling in vcn 5 suspend Date: Fri, 27 Sep 2024 14:36:25 +0200 Message-ID: <2024092712-CVE-2024-46820-6405@gregkh> X-Mailer: git-send-email 2.46.2 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8BNlDl7BzFrUhpiO+6Cc8RqoC2lLrJnT+m+NraHPqIk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnflu2tnnjzmZpZ1cL1DXOP7D1iY8vG5LpgW/Qk8XVXx cvT61j+dsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE3noxLJh1qqX+/qktbDXz 09oez+SY7xbAeINhrqSjW8B6uaiVFs9LlPR/i4WdTTxeDgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/vcn: remove irq disabling in vcn 5 suspend We do not directly enable/disable VCN IRQ in vcn 5.0.0. And we do not handle the IRQ state as well. So the calls to disable IRQ and set state are removed. This effectively gets rid of the warining of "WARN_ON(!amdgpu_irq_enabled(adev, src, type))" in amdgpu_irq_put(). The Linux kernel CVE team has assigned CVE-2024-46820 to this issue. Affected and fixed versions =========================== Fixed in 6.10.9 with commit aa92264ba6fd Fixed in 6.11 with commit 10fe1a79cd1b 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-2024-46820 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/vcn_v5_0_0.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/aa92264ba6fd4fb570002f69762634221316e7ae https://git.kernel.org/stable/c/10fe1a79cd1bff3048e13120e93c02f8ecd05e9d