Re: [PATCH v3] drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()

2023-09-26 Thread Radosław Biernacki
On Fri, Sep 22, 2023 at 8:34 AM Lukasz Majczak wrote: > > As drm_dp_get_mst_branch_device_by_guid() is called from > drm_dp_get_mst_branch_device_by_guid(), mstb parameter has to be checked, > otherwise NULL dereference may occur in the call to > the memcpy() and cause following: > > [12579.365869

Re: [PATCH] drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()

2023-08-22 Thread Radosław Biernacki
śr., 16 sie 2023 o 11:08 Lukasz Majczak napisał(a): > > czw., 3 sie 2023 o 11:23 Lukasz Majczak napisał(a): > > > > Check mgr->mst_primary, before passing it to > > the get_mst_branch_device_by_guid_helper(), otherwise NULL dereference > > may occur in the call to memcpy() and cause: > > > > [125

Re: [PATCH v1] drm/i915/bdb: Fix version check

2021-09-21 Thread Radosław Biernacki
- dropping stable ... > > diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h > > b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > > index 330077c2e588..fff456bf8783 100644 > > --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h > > +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > >