drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: detect_link_and_local_sink: DP alt mode timeout path leaks prev_sink reference
prev_sink is unconditionally retained via dc_sink_retain at function entry, but the DP alt mode timeout path inside SIGNAL_TYPE_DISPLAY_PORT returns false without releasing prev_sink. All other return paths in the function correctly call dc_sink_release(prev_sink), making this the only missing cleanup.
(cherry picked from commit 45510cf662dcf46b5d8926d454f338809f107b9d)
From the CVE record · Linux
The Linux kernel's AMD display code leaks a retained sink reference when DP alt mode detection times out. The input does not specify whether an attacker can trigger the timeout or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with AMD display support should check their kernels; affected versions are not specified.