{"id":"CVE-2021-47273","state":"PUBLISHED","title":"usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled\n\nWhen only PHY1 is used (for example on Odroid-HC4), the regmap init code\nuses the usb2 ports when doesn't initialize the PHY1 regmap entry.\n\nThis fixes:\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000020\n...\npc : regmap_update_bits_base+0x40/0xa0\nlr : dwc3_meson_g12a_usb2_init_phy+0x4c/0xf8\n...\nCall trace:\nregmap_update_bits_base+0x40/0xa0\ndwc3_meson_g12a_usb2_init_phy+0x4c/0xf8\ndwc3_meson_g12a_usb2_init+0x7c/0xc8\ndwc3_meson_g12a_usb_init+0x28/0x48\ndwc3_meson_g12a_probe+0x298/0x540\nplatform_probe+0x70/0xe0\nreally_probe+0xf0/0x4d8\ndriver_probe_device+0xfc/0x168\n...","publishedAt":"2024-05-21T14:20:02.038Z","updatedAt":"2026-05-11T13:51:19.137Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"750a0d75564293be3ed50f13ef7f38ab75106421","versionType":"git"},{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"d8dd3754e707104a34f8ec595034d503ea8871a2","versionType":"git"},{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"4d2aa178d2ad2fb156711113790dde13e9aa2376","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/dwc3/dwc3-meson-g12a.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.44","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.11","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/dwc3/dwc3-meson-g12a.c"]}],"references":["https://git.kernel.org/stable/c/750a0d75564293be3ed50f13ef7f38ab75106421","https://git.kernel.org/stable/c/d8dd3754e707104a34f8ec595034d503ea8871a2","https://git.kernel.org/stable/c/4d2aa178d2ad2fb156711113790dde13e9aa2376"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:19.404Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/47xxx/CVE-2021-47273.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-47273","state":"PUBLISHED","datePublished":"2024-05-21T14:20:02.038Z","dateUpdated":"2026-05-11T13:51:19.137Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-21T13:27:52.127Z"},"containers":{"cna":{"title":"usb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: dwc3-meson-g12a: fix usb2 PHY glue init when phy0 is disabled\n\nWhen only PHY1 is used (for example on Odroid-HC4), the regmap init code\nuses the usb2 ports when doesn't initialize the PHY1 regmap entry.\n\nThis fixes:\nUnable to handle kernel NULL pointer dereference at virtual address 0000000000000020\n...\npc : regmap_update_bits_base+0x40/0xa0\nlr : dwc3_meson_g12a_usb2_init_phy+0x4c/0xf8\n...\nCall trace:\nregmap_update_bits_base+0x40/0xa0\ndwc3_meson_g12a_usb2_init_phy+0x4c/0xf8\ndwc3_meson_g12a_usb2_init+0x7c/0xc8\ndwc3_meson_g12a_usb_init+0x28/0x48\ndwc3_meson_g12a_probe+0x298/0x540\nplatform_probe+0x70/0xe0\nreally_probe+0xf0/0x4d8\ndriver_probe_device+0xfc/0x168\n..."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"750a0d75564293be3ed50f13ef7f38ab75106421","versionType":"git"},{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"d8dd3754e707104a34f8ec595034d503ea8871a2","versionType":"git"},{"version":"013af227f58a97ffc61b99301f8f4448dc7e7f55","status":"affected","lessThan":"4d2aa178d2ad2fb156711113790dde13e9aa2376","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/dwc3/dwc3-meson-g12a.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.44","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.12.11","status":"unaffected","lessThanOrEqual":"5.12.*","versionType":"semver"},{"version":"5.13","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/dwc3/dwc3-meson-g12a.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/750a0d75564293be3ed50f13ef7f38ab75106421"},{"url":"https://git.kernel.org/stable/c/d8dd3754e707104a34f8ec595034d503ea8871a2"},{"url":"https://git.kernel.org/stable/c/4d2aa178d2ad2fb156711113790dde13e9aa2376"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T13:51:19.137Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.10.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.12.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.13"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47273","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-21T15:35:47.964288Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:13:52.641Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/750a0d75564293be3ed50f13ef7f38ab75106421","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/d8dd3754e707104a34f8ec595034d503ea8871a2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4d2aa178d2ad2fb156711113790dde13e9aa2376","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T05:32:07.986Z"}}]}}}