From mboxrd@z Thu Jan 1 00:00:00 1970 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 3AB71170A0B for ; Thu, 27 Feb 2025 02:13:24 +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=1740622404; cv=none; b=Q4ouazdZVmUJDLJj0sPJoLadc9cX9iR74xzmsYHyBM2TKLc4RNO+JTRtbWfsiKha3br+gyOnRmYx+OFEyspJk1ur+X3Hg+rfSY7LQ3Bxsp4RgzoYobIt6/pjb4WVjNVjQ49ATcLK1Ymlem097/44HQ6piZXK5k3xEx8RYO5cy5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622404; c=relaxed/simple; bh=5D5jtsEAZU09SP5qTYODKlNNFNRjMIRmDnlzE7XyXHE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CROUmCuP6C5ET+gb1gJwn5xchJfiAVQT9+AdkcG67hxU6IyaKawWu9HvKDHIex/SrHyadBdWiHDP/4eBOVECAT8OZTaisIx/wQqj/DO7iaEIrWpa0Sr0rxq3yMYCuFYMtlb5rxvtoQlvVF+xJnhUmUN+R2dJla2/ElJJ8XyFizI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=t3R0eWZ3; 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="t3R0eWZ3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F3F8C4CED6; Thu, 27 Feb 2025 02:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622404; bh=5D5jtsEAZU09SP5qTYODKlNNFNRjMIRmDnlzE7XyXHE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=t3R0eWZ3G+sEKGlnXYK92X+/xShGRSi86VC9H122OflfZ+Gujj/zYNxMJZ9lR798f /VzaqwzFwLGpZSnoXpR87Np8N079nGd21MzcdeoCk0v4dcNcIv5rx2MP9XYL1cudU6 lhWagj1pF+AunI5hu383J2EB9jWyoko2AN6+vEn4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-21747: drm/ast: astdp: Fix timeout for enabling video signal Date: Wed, 26 Feb 2025 18:11:29 -0800 Message-ID: <2025022601-CVE-2025-21747-a514@gregkh> X-Mailer: git-send-email 2.48.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=3562; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5D5jtsEAZU09SP5qTYODKlNNFNRjMIRmDnlzE7XyXHE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T25d+1fpu/zK3fJBNzMkQ/T1Hvie3NCz7cJLl+12b pobunYmd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEalYzLFj9jvH57+3X53Lm P17LdanA4GrfLnOGBb0ngjN/ldz+lPKW8/jWuindlRUviwA= 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/ast: astdp: Fix timeout for enabling video signal The ASTDP transmitter sometimes takes up to 1 second for enabling the video signal, while the timeout is only 200 msec. This results in a kernel error message. Increase the timeout to 1 second. An example of the error message is shown below. [ 697.084433] ------------[ cut here ]------------ [ 697.091115] ast 0000:02:00.0: [drm] drm_WARN_ON(!__ast_dp_wait_enable(ast, enabled)) [ 697.091233] WARNING: CPU: 1 PID: 160 at drivers/gpu/drm/ast/ast_dp.c:232 ast_dp_set_enable+0x123/0x140 [ast] [...] [ 697.272469] RIP: 0010:ast_dp_set_enable+0x123/0x140 [ast] [...] [ 697.415283] Call Trace: [ 697.420727] [ 697.425908] ? show_trace_log_lvl+0x196/0x2c0 [ 697.433304] ? show_trace_log_lvl+0x196/0x2c0 [ 697.440693] ? drm_atomic_helper_commit_modeset_enables+0x30a/0x470 [ 697.450115] ? ast_dp_set_enable+0x123/0x140 [ast] [ 697.458059] ? __warn.cold+0xaf/0xca [ 697.464713] ? ast_dp_set_enable+0x123/0x140 [ast] [ 697.472633] ? report_bug+0x134/0x1d0 [ 697.479544] ? handle_bug+0x58/0x90 [ 697.486127] ? exc_invalid_op+0x13/0x40 [ 697.492975] ? asm_exc_invalid_op+0x16/0x20 [ 697.500224] ? preempt_count_sub+0x14/0xc0 [ 697.507473] ? ast_dp_set_enable+0x123/0x140 [ast] [ 697.515377] ? ast_dp_set_enable+0x123/0x140 [ast] [ 697.523227] drm_atomic_helper_commit_modeset_enables+0x30a/0x470 [ 697.532388] drm_atomic_helper_commit_tail+0x58/0x90 [ 697.540400] ast_mode_config_helper_atomic_commit_tail+0x30/0x40 [ast] [ 697.550009] commit_tail+0xfe/0x1d0 [ 697.556547] drm_atomic_helper_commit+0x198/0x1c0 This is a cosmetical problem. Enabling the video signal still works even with the error message. The problem has always been present, but only recent versions of the ast driver warn about missing the timeout. The Linux kernel CVE team has assigned CVE-2025-21747 to this issue. Affected and fixed versions =========================== Issue introduced in 6.13 with commit 4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f and fixed in 6.13.3 with commit 589839379031cce220c9cab9f27cb5477195067e Issue introduced in 6.13 with commit 4e29cc7c5c673299cfbaf4982fc8b6a72c9f706f and fixed in 6.14-rc2 with commit fd39c41bcd82d5ebaaebadb944eab5598c668a90 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-21747 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/ast/ast_dp.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/589839379031cce220c9cab9f27cb5477195067e https://git.kernel.org/stable/c/fd39c41bcd82d5ebaaebadb944eab5598c668a90