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 ACC992C0F98 for ; Sat, 16 Aug 2025 11:22:43 +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=1755343363; cv=none; b=YrpQHFDClKgbF8BPdldqCkXiLWyF7qL5ccHon1p8H10xNJhNgz+dbA4tgDwT8KkJVl/1gyXONdsF1YIV+q8yJYAEN7EVXEYRZTRCxS00ZTt0rOc0e8MSQc8GDrLl8rLwvSt7FQhmnRl3/90BL3+VC+nfjmDdMryaA9xQiRB3Ulo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755343363; c=relaxed/simple; bh=vf4MSmxrwSt5Py9FItu8mNkwlpSbljMWZjHOUtYpRp8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AP79dhxwPkob9gW8eB4haubTp4vhPgsIeydZcBI45BhC4PvSyZUEI1xlmyj7+EgqrNv6Keg0Krv1Fm8+W4QFYeSa8oox0doicuLSZaz5SichqBHhVjUTUc4FhZBFNYtJmm/+RMf21EzH83pdCQl6IntSCQIjRvfzrYTou88OObU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1HKa3C2X; 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="1HKa3C2X" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C267EC4CEEF; Sat, 16 Aug 2025 11:22:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1755343363; bh=vf4MSmxrwSt5Py9FItu8mNkwlpSbljMWZjHOUtYpRp8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1HKa3C2XvR1UJjZEds0Jy1u4F61lFul8ZIeWN6kxomjmZSmbMafXVFbtPhNbFnGUg scAHLmgMsJD032NTuPx5w6ZCFs5WvA0GQRANVdkc1Zpnp+RI9xEkgS08lUcKA9Kb3E v/BXHfd8KAYFg3VM36OHVhOH8WNgs0Mi6onFKPE0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38543: drm/tegra: nvdec: Fix dma_alloc_coherent error check Date: Sat, 16 Aug 2025 13:22:29 +0200 Message-ID: <2025081626-CVE-2025-38543-038d@gregkh> X-Mailer: git-send-email 2.50.1 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=2580; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=0M+6Kg76LlA/HGa9K8tHfU1ySNhVApk0Z9qmElHt4Y4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkLMj/lXtaTfnPf/Nrv41O2s2geFT6wecKqs6r+8bWOt QdN/+c4dMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBELn5nmM1qx/29ZMm7hT9F KpYt/fjfJN+ocBnDXAGf7vjpey9vdkspFa9b/qD47Tr5RgA= 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/tegra: nvdec: Fix dma_alloc_coherent error check Check for NULL return value with dma_alloc_coherent, in line with Robin's fix for vic.c in 'drm/tegra: vic: Fix DMA API misuse'. The Linux kernel CVE team has assigned CVE-2025-38543 to this issue. Affected and fixed versions =========================== Issue introduced in 5.17 with commit 46f226c93d35b936aeec6eb31da932dc2e86f413 and fixed in 6.1.146 with commit 61b8d20962d00b7df117011c52f97cbb9c76a669 Issue introduced in 5.17 with commit 46f226c93d35b936aeec6eb31da932dc2e86f413 and fixed in 6.6.99 with commit d1240029f97ac8c06db4dd4407bbbf83e8d08570 Issue introduced in 5.17 with commit 46f226c93d35b936aeec6eb31da932dc2e86f413 and fixed in 6.12.39 with commit a560de522374af931fa994d161db3667b0bb2545 Issue introduced in 5.17 with commit 46f226c93d35b936aeec6eb31da932dc2e86f413 and fixed in 6.15.7 with commit 2e0812eedccd0629d73c9d0b1184a5db055df1da Issue introduced in 5.17 with commit 46f226c93d35b936aeec6eb31da932dc2e86f413 and fixed in 6.16 with commit 44306a684cd1699b8562a54945ddc43e2abc9eab 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-38543 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/tegra/nvdec.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/61b8d20962d00b7df117011c52f97cbb9c76a669 https://git.kernel.org/stable/c/d1240029f97ac8c06db4dd4407bbbf83e8d08570 https://git.kernel.org/stable/c/a560de522374af931fa994d161db3667b0bb2545 https://git.kernel.org/stable/c/2e0812eedccd0629d73c9d0b1184a5db055df1da https://git.kernel.org/stable/c/44306a684cd1699b8562a54945ddc43e2abc9eab