ACK: [SRU][F][PATCH 0/1] CVE-2021-47063

Andrei Gherzan andrei.gherzan at canonical.com
Tue Apr 23 14:19:34 UTC 2024


On 24/04/19 10:29AM, Bethany Jamison wrote:
> [Impact]
> 
> In the Linux kernel, the following vulnerability has been resolved:
> 
> drm: bridge/panel: Cleanup connector on bridge detach
> 
> If we don't call drm_connector_cleanup() manually in
> panel_bridge_detach(), the connector will be cleaned up with the other
> DRM objects in the call to drm_mode_config_cleanup(). However, since our
> drm_connector is devm-allocated, by the time drm_mode_config_cleanup()
> will be called, our connector will be long gone. Therefore, the
> connector must be cleaned up when the bridge is detached to avoid
> use-after-free conditions.
> 
> [Fix]
> 
> Mantic:	not-affected
> Jammy:	not-affected
> Focal:	Backport - I accepted the incoming fix change, the context 
> 	conflict was because the contents of 'panel_bridge_detach' 
> 	were removed in a commit that can't be applied to Focal and 
> 	then the fix commit refilled in the contents of the function.
> Bionic:	fix sent to esm ML
> Xenial:	not-affected
> Trusty:	not-affected
> 
> [Test Case]
> 
> Compile and boot tested.
> 
> [Where problems could occur]
> 
> This fix affects those who use DRM when detaching bridges, an issue
> with this fix would be visable via data corruption, as well as 
> potentially a system crash.
> 
> Paul Cercueil (1):
>   drm: bridge/panel: Cleanup connector on bridge detach
> 
>  drivers/gpu/drm/bridge/panel.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>

-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20240423/6b542cad/attachment.sig>


More information about the kernel-team mailing list