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 4590814D2A2 for ; Wed, 19 Jun 2024 13:38:58 +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=1718804338; cv=none; b=fgTSp0kGiBk6dR6Adoep6UDJ+QTKCr9TMJQDGX8uu4d0zh00XhyUHHl4pEjVYS3Wuj4KmH+6AcEu5QmJEKA5YgDrAwlf93FtcAsGg0U+u6W0Lgo9gqz/FWU4bVllK6WzIMMP3DU/3Uc1kY88iFkPZYMkaH2M+RBAhDub0Q4YlVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718804338; c=relaxed/simple; bh=GFNj3Bl7+57J+7a3NON7TYGnIlkasGDUBw4e5Q38ZfU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gfzlHVmDvRW49uM4GnPhE4g+BALm6VI6IlgSRNFr9Cm2bVG69709Rq10gES5INjYTGLEl+zmbozSMDCj94guZf10DsZSTHGUhRiMD3aCjptc0RtmN3UXOewQk8lbDDpXkVak2seE3GaGjwvkpk9MlWwKoHBvvkdHylUvtvM5g8c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JhSN17xT; 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="JhSN17xT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C9CEC2BBFC; Wed, 19 Jun 2024 13:38:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718804337; bh=GFNj3Bl7+57J+7a3NON7TYGnIlkasGDUBw4e5Q38ZfU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JhSN17xTqNy10uNlKIlWCedzEFmDE5qY+HH7GsJv5MU9XXe8NwarCjz3T7aHuLLct yl8KeLwk0mVPzJqxLeBQL43gboBcmmGYovpYHc9dNc9pvPX0skZQddK7nmEJW5IZMM 0sm0alMiazbLDjPV7B+eoDp45aEciJKbIqDwaDm8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38581: drm/amdgpu/mes: fix use-after-free issue Date: Wed, 19 Jun 2024 15:37:53 +0200 Message-ID: <2024061948-CVE-2024-38581-592d@gregkh> X-Mailer: git-send-email 2.45.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=1874; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GFNj3Bl7+57J+7a3NON7TYGnIlkasGDUBw4e5Q38ZfU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlF93Xef4iSe3drXertf+zbe4P4Pq2cturioriS1Tbyy ffFGrUPdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEzlgyzLMuDDvzSn751y/b f0250bQrKzV4vhTDbBYtpsPOf63NO8/bKDRY3H0slrDMGAA= 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 use-after-free issue Delete fence fallback timer to fix the ramdom use-after-free issue. v2: move to amdgpu_mes.c The Linux kernel CVE team has assigned CVE-2024-38581 to this issue. Affected and fixed versions =========================== Fixed in 6.1.93 with commit 70b1bf6d9edc Fixed in 6.6.33 with commit 39cfce75168c Fixed in 6.8.12 with commit 0f98c144c15c Fixed in 6.9 with commit 948255282074 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-38581 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_mes.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/70b1bf6d9edc8692d241f59a65f073aec6d501de https://git.kernel.org/stable/c/39cfce75168c11421d70b8c0c65f6133edccb82a https://git.kernel.org/stable/c/0f98c144c15c8fc0f3176c994bd4e727ef718a5c https://git.kernel.org/stable/c/948255282074d9367e01908b3f5dcf8c10fc9c3d