Re: [Intel-gfx] [PATCH] drm/i915/display: Fix a use-after-free when intel_edp_init_connector fails

2023-05-11 Thread Jani Nikula
On Tue, 20 Dec 2022, Imre Deak wrote: > On Tue, Dec 20, 2022 at 02:40:47PM +0200, Jani Nikula wrote: >> On Tue, 20 Dec 2022, Maarten Lankhorst >> wrote: >> > We enable the DP aux channel during probe, but may free the connector >> > soon afterwards. Ensure the DP aux display power put is complet

Re: [Intel-gfx] [PATCH] drm/i915/display: Fix a use-after-free when intel_edp_init_connector fails

2022-12-20 Thread Imre Deak
On Tue, Dec 20, 2022 at 02:40:47PM +0200, Jani Nikula wrote: > On Tue, 20 Dec 2022, Maarten Lankhorst > wrote: > > We enable the DP aux channel during probe, but may free the connector > > soon afterwards. Ensure the DP aux display power put is completed before > > everything is freed, to prevent

Re: [Intel-gfx] [PATCH] drm/i915/display: Fix a use-after-free when intel_edp_init_connector fails

2022-12-20 Thread Jani Nikula
On Tue, 20 Dec 2022, Maarten Lankhorst wrote: > We enable the DP aux channel during probe, but may free the connector > soon afterwards. Ensure the DP aux display power put is completed before > everything is freed, to prevent a use-after-free in icl_aux_pw_to_phy(), > called from icl_combo_phy_a

[Intel-gfx] [PATCH] drm/i915/display: Fix a use-after-free when intel_edp_init_connector fails

2022-12-20 Thread Maarten Lankhorst
We enable the DP aux channel during probe, but may free the connector soon afterwards. Ensure the DP aux display power put is completed before everything is freed, to prevent a use-after-free in icl_aux_pw_to_phy(), called from icl_combo_phy_aux_power_well_disable. Signed-off-by: Maarten Lankhorst