CVE-2026-99628: drm/amd/display: Avoid closing unowned DDC pins
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Avoid closing unowned DDC pins
[WHY]dal_ddc_open() cleans up pins it acquires on later failures. If the data-pin open fails, this attempt acquired nothing. If opening the clock pin or configuring fails, dal_ddc_open() closes the pins it opened. An extra dal_ddc_close() is unnecessary and unsafe:GPIO_RESULT_ALREADY_OPENED can mean AUX owns the existing handles, and closing them here would disrupt AUX.
[HOW]
Remove the extra dal_ddc_close() from the failed-open path.
(cherry picked from commit 175ae7772b68757b4932f34ff862923cab7abe21)
The Linux kernel CVE team has assigned CVE-2026-99628 to this issue.
Affected and fixed versions
===========================
Fixed in 6.12.118 with commit 4c4688f7d1c0ea08ea2b746561505bb9e487644e Fixed in 6.18.64 with commit 5605c171019d14a12327bf41dee7d0851ce2036c Fixed in 7.3.5 with commit 41b495570564857a74626a527efef541e0af5fa1 Fixed in 7.4-rc2 with commit e7ba638b8116cb5f1a5690f543052371215f1626
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-2026-99628
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/amd/display/dc/link/protocols/link_dp_capability.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/4c4688f7d1c0ea08ea2b746561505bb9e487644e https://git.kernel.org/stable/c/5605c171019d14a12327bf41dee7d0851ce2036c https://git.kernel.org/stable/c/41b495570564857a74626a527efef541e0af5fa1 https://git.kernel.org/stable/c/e7ba638b8116cb5f1a5690f543052371215f1626