[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <171259081156.2558005.10286796627234601438.b4-ty@kernel.org>
Date: Mon, 8 Apr 2024 17:40:20 +0200
From: Robert Foss <rfoss@...nel.org>
To: Aleksandr Mishin <amishin@...rgos.ru>,
Swapnil Jakhade <sjakhade@...ence.com>
Cc: Robert Foss <rfoss@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
lvc-project@...uxtesting.org,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
Quentin Schulz <quentin.schulz@...e-electrons.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
dri-devel@...ts.freedesktop.org,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Zhu Wang <wangzhu9@...wei.com>,
linux-kernel@...r.kernel.org,
Neil Armstrong <neil.armstrong@...aro.org>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Rob Herring <robh@...nel.org>,
David Airlie <airlied@...il.com>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Maxime Ripard <mripard@...nel.org>,
Jyri Sarha <jsarha@...com>,
Yuti Amonkar <yamonkar@...ence.com>,
Nikhil Devshatwar <nikhil.nd@...com>,
Jonas Karlman <jonas@...boo.se>,
Andrzej Hajda <andrzej.hajda@...el.com>,
Aradhya Bhatia <a-bhatia1@...com>,
Daniel Vetter <daniel@...ll.ch>,
Jani Nikula <jani.nikula@...el.com>
Subject: Re: [PATCH] drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
On Mon, 8 Apr 2024 15:58:10 +0300, Aleksandr Mishin wrote:
> In cdns_mhdp_atomic_enable(), the return value of drm_mode_duplicate() is
> assigned to mhdp_state->current_mode, and there is a dereference of it in
> drm_mode_set_name(), which will lead to a NULL pointer dereference on
> failure of drm_mode_duplicate().
>
> Fix this bug add a check of mhdp_state->current_mode.
>
> [...]
Applied, thanks!
[1/1] drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=935a92a1c400
Rob
Powered by blists - more mailing lists