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 337A630217C for ; Mon, 15 Sep 2025 14:48:17 +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=1757947697; cv=none; b=Adk1HqpybE64YZawCwGJEhmQnje/IcjKGFS14SaAVJm15FeS4TsULWItFsAFwxktOziiprUxMe1Ylznn/EzPjvvrzcbgCZRIGd+fh1MWTpb4Ts2SQaX69zUDi2mLMw7WGiZuySknyhRHuYTzhXCCTayLzulJczW99bmdpLk3gks= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757947697; c=relaxed/simple; bh=uAgG8q8Zzv4c7h8oZa5GXuaCR3sk+EVQtuDYCfYsy+8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XIEKfxsdf0QsYTfu6P055r7FZDx2K6ZamhcBZFb8/mAn7c2EX+RUJtHcvoFpzFP2JC5R/2tRttacIeyi39HjzCKmHWAl/cRin0szqi0tNnPl6XHP2gCYxYATM3Bd+zl0rRwsXxElAaRnKUGrxtQYUZCoBrscEQGT/9ui8H+gJfY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FDiH2KGO; 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="FDiH2KGO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 83FF6C4CEF1; Mon, 15 Sep 2025 14:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1757947697; bh=uAgG8q8Zzv4c7h8oZa5GXuaCR3sk+EVQtuDYCfYsy+8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FDiH2KGOYDIzMNjziHLjRM7Nh4cwCKxSH89mQcU8iQObJ3kaFVEqGcxmB6z7tSoJR SXjrgrDjS2R0tL2NZNUjuDbta4Pp61MugVy6t5CVY8Q8SKPavIAqPKQqy8VnzYUUKr jOBGI7EXyeQA0sN0we9w+jCdcDfXS0gIyHI79rOg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53248: drm/amdgpu: install stub fence into potential unused fence pointers Date: Mon, 15 Sep 2025 16:46:23 +0200 Message-ID: <2025091501-CVE-2023-53248-aa39@gregkh> X-Mailer: git-send-email 2.51.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=1964; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1Ra32yvuYcz4QyRd1oPKd8cNlH1afghSxng6mEU9wos=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkn1FYJe/1uco3s4XmQdO8ySzzrzpz1QhGnj99c8GlZ/ OYrn7VrOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiJ6czLNjgEefw1U8kaUqr duuB07mHNr98NgUo+mpjZEZDZbb875bDDY/cqw+v3nUfAA== 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: install stub fence into potential unused fence pointers When using cpu to update page tables, vm update fences are unused. Install stub fence into these fence pointers instead of NULL to avoid NULL dereference when calling dma_fence_wait() on them. The Linux kernel CVE team has assigned CVE-2023-53248 to this issue. Affected and fixed versions =========================== Fixed in 6.1.47 with commit 78b25110eb8c6990f7f5096bc0136c12a2b4cc99 Fixed in 6.4.12 with commit aa9e9ba5748c524eb0925a2ef6984b78793646d6 Fixed in 6.5 with commit 187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0 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-2023-53248 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_vm.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/78b25110eb8c6990f7f5096bc0136c12a2b4cc99 https://git.kernel.org/stable/c/aa9e9ba5748c524eb0925a2ef6984b78793646d6 https://git.kernel.org/stable/c/187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0