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 3A5ED134BD for ; Fri, 25 Jul 2025 12:48:12 +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=1753447692; cv=none; b=EU7Nig6s2/sE8cpPggAmZvvXEy30kJtkM9ErvSyj/2rgFipjccPaPArIn9pE7j+UhEbDRNmzfKIHLfXQ1TtPcCe5S+enlt4bulpDgQVMpReJlm1NO4KalCuR0UrLJZzTauybNRdosDv2A1zaO7Eb5ySjeVrKWjrm7opJMj1gpj0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753447692; c=relaxed/simple; bh=2isS9AbTDav8Po+hucccqkZyiKkpEQsamZvM9kXfnOI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NvKztWXvqmdWijCBPrgcqINxV8wqZdS7tAnsNbTh+7Idu/9Hwk5PW4wz4F+Yg1B5TyJcpaI9WWfaMd6swovhxsGKvvGUSWoVXBZ5+dDVPcyuyxYptIA1l15VbvFR+4H+/oGOY7gE1enEkv3YxJW7h/FROVG1Dt0OW3IdA6N4Zhk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1VhSo7gY; 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="1VhSo7gY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E068C4CEE7; Fri, 25 Jul 2025 12:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753447692; bh=2isS9AbTDav8Po+hucccqkZyiKkpEQsamZvM9kXfnOI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1VhSo7gYcoWY2kU9Pp6lTAHkldFmq/oyCPUta25S7M472Dq5xg91NX6pXhqM5vzhl B9dMp8IfaCpVMrEu6BBf0vjfGxACPFTBL6LKOLMOrRY8Juz4B46t/i5Z/aBBcmQ/K2 jVSa5wRyjIA22nBQEtNjuOUA6NJgVLurHZIz+UzM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38363: drm/tegra: Fix a possible null pointer dereference Date: Fri, 25 Jul 2025 14:48:04 +0200 Message-ID: <2025072557-CVE-2025-38363-122c@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=3111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=mLEVieelV9MGho+VJIFXfnTM1thCt+1Rw0VRo5OhB4I=; b=kA0DAAIRMUfUDdst+ykByyZiAGiDfP2jhN+365a73k87v3TiEXDqpcNo9J4fyrDTUid7ykbYt YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmiDfP0ACgkQMUfUDdst+ymahACfVxhn 7kh6f2tP+Psy4bw9hJY/bvgAn26VznxmUEZe1V5iASssMre5KukC 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: Fix a possible null pointer dereference In tegra_crtc_reset(), new memory is allocated with kzalloc(), but no check is performed. Before calling __drm_atomic_helper_crtc_reset, state should be checked to prevent possible null pointer dereference. The Linux kernel CVE team has assigned CVE-2025-38363 to this issue. Affected and fixed versions =========================== Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 5.10.240 with commit ab390ab81241cf8bf37c0a0ac2e9c6606bf3e991 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 5.15.187 with commit c7fc459ae6f988e0d5045a270bd600ab08bc61f1 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 6.1.143 with commit 99a25fc7933b88d5e16668bf6ba2d098e1754406 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 6.6.96 with commit 5ff3636bcc32e1cb747f6f820bcf2bb6990a7d41 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 6.12.36 with commit 31ac2c680a8ac11dc54a5b339a07e138bcedd924 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 6.15.5 with commit ac4ca634f0c9f227538711d725339293f7047b02 Issue introduced in 5.3 with commit b7e0b04ae450a0f2f73c376c3057fb05d798e33c and fixed in 6.16-rc1 with commit 780351a5f61416ed2ba1199cc57e4a076fca644d 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-38363 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/dc.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/ab390ab81241cf8bf37c0a0ac2e9c6606bf3e991 https://git.kernel.org/stable/c/c7fc459ae6f988e0d5045a270bd600ab08bc61f1 https://git.kernel.org/stable/c/99a25fc7933b88d5e16668bf6ba2d098e1754406 https://git.kernel.org/stable/c/5ff3636bcc32e1cb747f6f820bcf2bb6990a7d41 https://git.kernel.org/stable/c/31ac2c680a8ac11dc54a5b339a07e138bcedd924 https://git.kernel.org/stable/c/ac4ca634f0c9f227538711d725339293f7047b02 https://git.kernel.org/stable/c/780351a5f61416ed2ba1199cc57e4a076fca644d