CVE-2021-47273
Severity CVSS v4.0:
Pending analysis
Type:
CWE-476
NULL Pointer Dereference
Publication date:
21/05/2024
Last modified:
26/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled<br />
<br />
When only PHY1 is used (for example on Odroid-HC4), the regmap init code<br />
uses the usb2 ports when doesn&#39;t initialize the PHY1 regmap entry.<br />
<br />
This fixes:<br />
Unable to handle kernel NULL pointer dereference at virtual address 0000000000000020<br />
...<br />
pc : regmap_update_bits_base+0x40/0xa0<br />
lr : dwc3_meson_g12a_usb2_init_phy+0x4c/0xf8<br />
...<br />
Call trace:<br />
regmap_update_bits_base+0x40/0xa0<br />
dwc3_meson_g12a_usb2_init_phy+0x4c/0xf8<br />
dwc3_meson_g12a_usb2_init+0x7c/0xc8<br />
dwc3_meson_g12a_usb_init+0x28/0x48<br />
dwc3_meson_g12a_probe+0x298/0x540<br />
platform_probe+0x70/0xe0<br />
really_probe+0xf0/0x4d8<br />
driver_probe_device+0xfc/0x168<br />
...
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:*:*:*:*:*:*:*:* | 5.8 (including) | 5.10.44 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.12.11 (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:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.13:rc5:*:*:*:*:*:* |
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/4d2aa178d2ad2fb156711113790dde13e9aa2376
- https://git.kernel.org/stable/c/750a0d75564293be3ed50f13ef7f38ab75106421
- https://git.kernel.org/stable/c/d8dd3754e707104a34f8ec595034d503ea8871a2
- https://git.kernel.org/stable/c/4d2aa178d2ad2fb156711113790dde13e9aa2376
- https://git.kernel.org/stable/c/750a0d75564293be3ed50f13ef7f38ab75106421
- https://git.kernel.org/stable/c/d8dd3754e707104a34f8ec595034d503ea8871a2



