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 9C14E1DFDB4 for ; Thu, 7 Nov 2024 09:35:19 +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=1730972119; cv=none; b=JGooZbI/9tHBOABW9MMl7T0agKhZWwqHuhPCF8xIA5pDLafOwJtL9gdmegF354nBPgRF48j0WsEnSVSUkhE4YuK0sZhETiQwiSfnbGRtGLraHnpz7RxuLqUksY5y49nkCwAYJKkdzEnYHS+e62UAWUtCX8gYkf6K24craRXdmVM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730972119; c=relaxed/simple; bh=Oc545wKyx62KKo2MPSk02d6bqGBqV750OMqdEYVPxwo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W6YHI7LZLql+AGFtfwMocb0WwMAyGmBUVanhVyK2Kcj2TvdZ+sg/GBOSW1/C031cNFZ9BEmlVgtJDLsxnx2O1zzfInkNiYirJ5BySswrvmEWqJkaQpLRsyBFHA/NdvoEsBQfdKGtkFafGfNrDHWwQMxeqW6cHgOjwq6zNqP5TVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P001aMY9; 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="P001aMY9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63062C4CED0; Thu, 7 Nov 2024 09:35:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730972119; bh=Oc545wKyx62KKo2MPSk02d6bqGBqV750OMqdEYVPxwo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=P001aMY9l+CguFFb23DepZIqN0F+1IQCI14JWiCggH2Rtp/bh5gtMSJc/RClyzI6y TWEL4o4Ck7AX11GpcKUhOOfaGR/cs4FnuZ7D/ZzPTzqSkbG7Csie0zgW3Owgbc9bOH TKIS8HKGbPwl+ZMOZQbZwjhfjNIxW5aRTb1ouziY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50149: drm/xe: Don't free job in TDR Date: Thu, 7 Nov 2024 10:34:49 +0100 Message-ID: <2024110744-CVE-2024-50149-8ac4@gregkh> X-Mailer: git-send-email 2.47.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=1911; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Oc545wKyx62KKo2MPSk02d6bqGBqV750OMqdEYVPxwo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOk6nVtnzmPiFH3MX2h75+jKCya/LXhizZLkXGpEtjp/d VZ2iv/YEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZxcgwT2WN7d0cmaJaxSV+ pXxHi7/x71tyk2Ge/SURs4gnWTXrnxw4avCuZqGQVvFaAA== 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/xe: Don't free job in TDR Freeing job in TDR is not safe as TDR can pass the run_job thread resulting in UAF. It is only safe for free job to naturally be called by the scheduler. Rather free job in TDR, add to pending list. (cherry picked from commit ea2f6a77d0c40d97f4a4dc93fee4afe15d94926d) The Linux kernel CVE team has assigned CVE-2024-50149 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit e275d61c5f3f and fixed in 6.11.6 with commit be8fe75e57f8 Issue introduced in 6.10 with commit e275d61c5f3f and fixed in 6.12-rc4 with commit 82926f52d7a0 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-50149 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/xe/xe_guc_submit.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/be8fe75e57f8fa3f87e3b1c283cc7cd9f9b80867 https://git.kernel.org/stable/c/82926f52d7a09c65d916c0ef8d4305fc95d68c0c