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 993C81B4F08 for ; Wed, 16 Apr 2025 14:17:46 +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=1744813066; cv=none; b=QwrbBscZRixrdwHcxWePvWU8Dxe4xxAqV6AjLV+Qscm49bsHk9LZqsXiHFS60JWV6uPo9WiYlA3sRUqLcy91jjBIG+zbHA/bXTdyxTIRqFjrU5JeAI6i5Bo9fCz0qs4vOCagCznObNdkMBmvbb9eOHrlB2df97BbkinFfPCKAkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744813066; c=relaxed/simple; bh=iDhOlvzmh84MA9Lw3DzyfBIbgRVZsj0RYW7aj+ClLx4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cDF2nNAIOZ36zItQz+N4Um2CNK3koUs2vU26Hb5MzNSy1aFSfU24IoY6gEgEKsDZjUu5oWxsIIszHr8DUcQh+h747WLKehArrZjDveTLy4LdoYkVdmLTxxBaWDTb+bZ552V3G5nyf4hIywRyDXTEVukml622mrc8AnQ//MQJPck= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BysX7cjn; 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="BysX7cjn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AB92C4CEE2; Wed, 16 Apr 2025 14:17:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744813066; bh=iDhOlvzmh84MA9Lw3DzyfBIbgRVZsj0RYW7aj+ClLx4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BysX7cjnTmjINk5CsYhOm6kPNXxePFVmW9w8GbwnqoNVaSrey1gKX/6WSMbqiTVIo s6jJu7tre+1pI4u+wIGWficl+FrI592eJEvcsxnQi4gJVcP5f0l+8H4qHiafhvJKxX jsnMDbDagsLJmTwj71lSSIL0DaRoF+O366dsJUPI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22099: drm: xlnx: zynqmp_dpsub: Add NULL check in zynqmp_audio_init Date: Wed, 16 Apr 2025 16:13:10 +0200 Message-ID: <2025041620-CVE-2025-22099-3db3@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=2009; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iDhOlvzmh84MA9Lw3DzyfBIbgRVZsj0RYW7aj+ClLx4=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn/dx0pspunWV0gub3jm99UnnDGdWzVUvvnLuN9uu+S0 CxB629TOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiXrIM8/QdTGv3xx24VLxt 7+bGegUxHqkn/xjmZ85N3HLrY/LCYzvTtc8tEqq7JuE6HwA= 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: xlnx: zynqmp_dpsub: Add NULL check in zynqmp_audio_init devm_kasprintf() calls can return null pointers on failure. But some return values were not checked in zynqmp_audio_init(). Add NULL check in zynqmp_audio_init(), avoid referencing null pointers in the subsequent code. The Linux kernel CVE team has assigned CVE-2025-22099 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit 3ec5c15793051c9fe102ed0674c7925a56205385 and fixed in 6.14.2 with commit 066d6f22e7d84953db6bbf2dae507401157660c6 Issue introduced in 6.14 with commit 3ec5c15793051c9fe102ed0674c7925a56205385 and fixed in 6.15-rc1 with commit d0660f9c588a1246a1a543c91a1e3cad910237da 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-22099 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/xlnx/zynqmp_dp_audio.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/066d6f22e7d84953db6bbf2dae507401157660c6 https://git.kernel.org/stable/c/d0660f9c588a1246a1a543c91a1e3cad910237da