CVE-2021-47165: drm/meson: fix shutdown crash when component not probed

Published Mar 25, 2024
·
Updated

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

9 affected components
Linux Linux kernel
Linux Linux kernel>=4.14.226<4.14.235
Linux Linux kernel>=4.19.181<4.19.193
Linux Linux kernel>=5.4.106<5.4.124
Linux Linux kernel>=5.10.24<5.10.42
Linux Linux kernel>=5.12<5.12.9
Linux Linux kernel=5.13-rc1
Linux Linux kernel=5.13-rc2
Linux Linux kernel=5.13-rc3

Event History

Mar 25, 2024
CVE Published
via MITRE·09:16 AM
Data Sourced
via MITRE·09:16 AM
Description
Data Sourced
via NVD·10:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

Is CVE-2021-47165 a remote or local vulnerability?

CVE-2021-47165 is considered a local vulnerability as it primarily affects system shutdown processes.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203