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 B0D4214EC73 for ; Thu, 1 May 2025 13:08:21 +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=1746104901; cv=none; b=sCoazZ95WqBeHua7Je2ckgQdWukjeB+MYtkv05gm4gNt1VbqwLEstm2gwgbb0bxXI0cFp/Cw46BhIlBrQJRQOqsxutJxuf5wRUhQHdhbjtG2lOUy73RlXn97EY89slZRzJgFV99hm4cf94OzW4YcutWTSZe6pECRbPnv4IjlBWc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104901; c=relaxed/simple; bh=M7u11z57gVs0z2Ky7CQ6LdFGZ0Yph7OhI9LJwjLa2hM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WmFSvsYAxUqfcgO/AVPCrLsRQaNgVfFRhdxNnd/fRxFjJjj63cSHI/4cvPy2z4VX5gKcGTMpOWvvNdTHZPFTUyP7j1jdu9SZjydaZ3Nvo0DfvnALnk5YwQzGVSU8Cw2pQCgOvlCJ0ybdmoNSoOp6kB6d+bFtYTzTxN/SwL1tM2k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lBfrJxOM; 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="lBfrJxOM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3831DC4CEE3; Thu, 1 May 2025 13:08:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104901; bh=M7u11z57gVs0z2Ky7CQ6LdFGZ0Yph7OhI9LJwjLa2hM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lBfrJxOMO9oCtykrfbMbDs9GK9M1iUYwLNP+r6AGQkj9HAUiCH97VOgMfc821gXZG jdmTad5FVOe3Y+/ENsp5i1mouY4GiPtu86LC8dxg316qimK3LTP+W4ztDf/tJLBvx8 D5SnEujxMuONr/GVLbkBF6jzY2HTFaD5F5RPvNE0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37783: drm/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check Date: Thu, 1 May 2025 15:07:31 +0200 Message-ID: <2025050117-CVE-2025-37783-23bf@gregkh> X-Mailer: git-send-email 2.49.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=2291; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GnPATOpjwgbMoC1O5fiqqzH66d8bc4PoMsc6wIWVT84=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRWzxJ98t6PkS7fJn9efVKude/F6uv7H4SbrcsVXGT 8wN+pU3d8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEso4wzNNZdyxWykWpICJp Uu2StuDa/sOvdzMsWDDhRKXblSwNf5s9D7r6tP7xrmyuBAA= 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/msm/dpu: Fix error pointers in dpu_plane_virtual_atomic_check The function dpu_plane_virtual_atomic_check was dereferencing pointers returned by drm_atomic_get_plane_state without checking for errors. This could lead to undefined behavior if the function returns an error pointer. This commit adds checks using IS_ERR to ensure that plane_state is valid before dereferencing them. Similar to commit da29abe71e16 ("drm/amd/display: Fix error pointers in amdgpu_dm_crtc_mem_type_changed"). Patchwork: https://patchwork.freedesktop.org/patch/643132/ The Linux kernel CVE team has assigned CVE-2025-37783 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 774bcfb731765d092992136b54c34958d7c64bea and fixed in 6.14.4 with commit a9670ed1cce3216778c89936d3ae91cf0d436035 Issue introduced in 6.14 with commit 774bcfb731765d092992136b54c34958d7c64bea and fixed in 6.15-rc3 with commit 5cb1b130e1cd04239cc9c26a98279f4660dce583 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-2025-37783 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/msm/disp/dpu1/dpu_plane.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/a9670ed1cce3216778c89936d3ae91cf0d436035 https://git.kernel.org/stable/c/5cb1b130e1cd04239cc9c26a98279f4660dce583