CVE-2021-47165

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
25/03/2024
Last modified:
03/03/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/meson: fix shutdown crash when component not probed<br /> <br /> When main component is not probed, by example when the dw-hdmi module is<br /> not loaded yet or in probe defer, the following crash appears on shutdown:<br /> <br /> Unable to handle kernel NULL pointer dereference at virtual address 0000000000000038<br /> ...<br /> pc : meson_drv_shutdown+0x24/0x50<br /> lr : platform_drv_shutdown+0x20/0x30<br /> ...<br /> Call trace:<br /> meson_drv_shutdown+0x24/0x50<br /> platform_drv_shutdown+0x20/0x30<br /> device_shutdown+0x158/0x360<br /> kernel_restart_prepare+0x38/0x48<br /> kernel_restart+0x18/0x68<br /> __do_sys_reboot+0x224/0x250<br /> __arm64_sys_reboot+0x24/0x30<br /> ...<br /> <br /> Simply check if the priv struct has been allocated before using it.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.14.226 (including) 4.14.235 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.181 (including) 4.19.193 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.106 (including) 5.4.124 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.10.24 (including) 5.10.42 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.12 (including) 5.12.9 (excluding)
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.13:rc3:*:*:*:*:*:*