In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute [Why] When unplug one of monitors connected after mst hub, encounter null pointer dereference. It's due to dc_sink get released immediately in early_unregister() or detect_ctx(). When commit new state which directly referring to info stored in dc_sink will cause null pointer dereference. [how] Remove redundant checking condition. Relevant condition should already be covered by checking if dsc_aux is null or not. Also reset dsc_aux to NULL when the connector is disconnected.
https://git.kernel.org/stable/c/fcf6a49d79923a234844b8efe830a61f3f0584e4
https://git.kernel.org/stable/c/c7e65cab54a89f4df54110f0b44c4ade93d1a911
https://git.kernel.org/stable/c/39b217193729aa45eded8de24d9245468a0c0263