CVE-2021-47165: drm/meson: fix shutdown crash when component not probed
In the Linux kernel, the following vulnerability has been resolved:
drm/meson: fix shutdown crash when component not probed
When main component is not probed, by example when the dw-hdmi module is not loaded yet or in probe defer, the following crash appears on shutdown:
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000038 ... pc : mesondrvshutdown+0x24/0x50 lr : platformdrvshutdown+0x20/0x30 ... Call trace: mesondrvshutdown+0x24/0x50 platformdrvshutdown+0x20/0x30 deviceshutdown+0x158/0x360 kernelrestartprepare+0x38/0x48 kernelrestart+0x18/0x68 dosysreboot+0x224/0x250 arm64sysreboot+0x24/0x30 ...
Simply check if the priv struct has been allocated before using it.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2021-47165?
CVE-2021-47165 has a severity rating that may lead to crashes on shutdown under certain conditions.
How do I fix CVE-2021-47165?
To fix CVE-2021-47165, ensure that you update the Linux kernel to the latest version where the vulnerability has been patched.
What version of the Linux kernel is affected by CVE-2021-47165?
CVE-2021-47165 affects various versions of the Linux kernel including those between 4.14.226 to 4.14.235, 4.19.181 to 4.19.193, and several others.
What components are involved in CVE-2021-47165?
CVE-2021-47165 mainly involves the drm/meson component related to HDMI, leading to shutdown crashes when the main component is not probed.
Is CVE-2021-47165 a remote or local vulnerability?
CVE-2021-47165 is considered a local vulnerability as it primarily affects system shutdown processes.