[lvc-project] [PATCH v2] drm/i915/edp: Check supported link rates DPCD read

Fedor Pchelkin pchelkin at ispras.ru
Sun May 31 18:26:08 MSK 2026


On Fri, 29. May 17:57, Nikita Zhandarovich wrote:
> intel_edp_set_sink_rates() reads DP_SUPPORTED_LINK_RATES into a local
> stack array and then parses the array unconditionally. If the read
> fails, the array contents are not valid and may result in bogus sink
> link rates being used.
> 
> Use drm_dp_dpcd_read_data() and clear the sink rate array on failure,
> so the existing parser falls back to the default sink rate handling.
> 
> Found by Linux Verification Center (linuxtesting.org) with static
> analysis tool SVACE.
> 
> Fixes: 68f357cb7347 ("drm/i915/dp: generate and cache sink rate array for all DP, not just eDP 1.4")
> Signed-off-by: Nikita Zhandarovich <n.zhandarovich at fintech.ru>

Для всех lvc-веток понадобится адаптированная версия патча в
lvc-patches.



More information about the lvc-project mailing list