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.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/4ce2bf20b4a6e307e114847d60b2bf40a6a1fac0
- https://git.kernel.org/stable/c/7cfc4ea78fc103ea51ecbacd9236abb5b1c490d2
- https://git.kernel.org/stable/c/b4298d33c1fcce511ffe84d8d3de07e220300f9b
- https://git.kernel.org/stable/c/b4b91033a0b11fe9ade58156cd9168f89f4a8c1a
- https://git.kernel.org/stable/c/d66083c0d6f5125a4d982aa177dd71ab4cd3d212
- https://git.kernel.org/stable/c/e256a0eb43e17209e347409a80805b1659398d68
- https://git.kernel.org/stable/c/4ce2bf20b4a6e307e114847d60b2bf40a6a1fac0
- https://git.kernel.org/stable/c/7cfc4ea78fc103ea51ecbacd9236abb5b1c490d2
- https://git.kernel.org/stable/c/b4298d33c1fcce511ffe84d8d3de07e220300f9b
- https://git.kernel.org/stable/c/b4b91033a0b11fe9ade58156cd9168f89f4a8c1a
- https://git.kernel.org/stable/c/d66083c0d6f5125a4d982aa177dd71ab4cd3d212
- https://git.kernel.org/stable/c/e256a0eb43e17209e347409a80805b1659398d68



