Files
linux/drivers/gpu/drm
Johan Hovold 2e786eb2f9 drm/msm/dsi: fix memory corruption with too many bridges
Add the missing sanity check on the bridge counter to avoid corrupting
data beyond the fixed-sized bridge array in case there are ever more
than eight bridges.

Fixes: a689554ba6 ("drm/msm: Initial add DSI connector support")
Cc: stable@vger.kernel.org	# 4.1
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Kuogee Hsieh <quic_khsieh@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/502668/
Link: https://lore.kernel.org/r/20220913085320.8577-4-johan+linaro@kernel.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
2022-09-30 16:57:53 +00:00
..
2022-06-20 23:53:55 +03:00
2022-07-25 09:31:02 -04:00
2022-06-20 23:53:55 +03:00
2022-06-12 22:10:50 -01:00
2022-06-28 07:56:32 +02:00
2022-05-04 14:09:34 +02:00
2022-07-16 09:19:47 -04:00
2022-08-27 09:32:45 -07:00
2022-04-12 09:27:20 +03:00