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 B78FA18592B for ; Fri, 13 Sep 2024 05:31:47 +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=1726205507; cv=none; b=OVlqWur4OmwSEvDtsru2u+Y4dY1OlN1rtitiJax+bhBHPsEv+Vg6miMehIZVZam4aJr2kR8noB25OjjkuIBee15/F8+zRgEynBIwcaeCI96M4e0V1yrvEWEK3Ufm/9UHvz4jcyrH8/dvjOmQ7ODhFWQakijNp/UtBNzQ/TI+KSI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726205507; c=relaxed/simple; bh=JIZhFhE5BEGWn+yCfnM21bxkSHcU/Pgi+Q47Mkl5EGI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=n+rx3+FWLebdHr1mezBMjSYczRMhayxqyGR1VIMf8uURrUkrV8qNO4ityN0R11I1yAqQsdfgGwoN5qtXMTD+4T0i0a197bi03oiCMFM4S0TvjdGcl88aEDq+MCjovOZAK2WMhKJqu4vKawFoxD7ierZd5Qszdqr0mcf8rMpXUyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PNyjReq+; 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="PNyjReq+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCEAFC4CEC0; Fri, 13 Sep 2024 05:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726205507; bh=JIZhFhE5BEGWn+yCfnM21bxkSHcU/Pgi+Q47Mkl5EGI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PNyjReq+SXLqsjLR7PCDx2A79WteTq6OlyHQX6nWQxjwgFDtk1qWIT040N1rxiNwX YaLC169i/w2OfemiqCK/VdSE2aFsbu2vxwWDYmulBG6Q86NOi9Vb2EVdWKeFSJ2Ib7 t4iHN482pZM4VpmEnBnyerdoW310Ilj0sATEzqsw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46700: drm/amdgpu/mes: fix mes ring buffer overflow Date: Fri, 13 Sep 2024 07:31:01 +0200 Message-ID: <2024091341-CVE-2024-46700-ed8e@gregkh> X-Mailer: git-send-email 2.46.0 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=1951; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JIZhFhE5BEGWn+yCfnM21bxkSHcU/Pgi+Q47Mkl5EGI=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmPzzFdfKc/f5bllaz7ujH/yhJ2fb9peHO6S9y5NysMe fa6/jtl0hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATOWjDMM9wa/Sexf/ZWU6m /n5cYHDrTvItGyOG+f7PPoR2qM17k71q4ZHed+Kv3iWuMAAA 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/mes: fix mes ring buffer overflow wait memory room until enough before writing mes packets to avoid ring buffer overflow. v2: squash in sched_hw_submission fix (cherry picked from commit 34e087e8920e635c62e2ed6a758b0cd27f836d13) The Linux kernel CVE team has assigned CVE-2024-46700 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11-rc1 with commit de3246254156 and fixed in 6.10.8 with commit ed37550d7c51 Issue introduced in 6.11-rc1 with commit de3246254156 and fixed in 6.11-rc4 with commit 11752c013f56 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-46700 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/amdgpu_ring.c drivers/gpu/drm/amd/amdgpu/mes_v11_0.c drivers/gpu/drm/amd/amdgpu/mes_v12_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/ed37550d7c516017c3b0324bdf144e2fa563ffb0 https://git.kernel.org/stable/c/11752c013f562a1124088a35bd314aa0e9f0e88f