# CVE-2021-47409: usb: dwc2: check return value after calling platform_get_resource()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-21T15:04:01.300Z
- Modified: 2026-06-17T04:17:24.550Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: dwc2: check return value after calling platform_get_resource()

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

(As written by CVE List.)

## Affected

- Linux Linux: from 348becdcc3196addbe882e8a10451744e489e389 before 4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b; from 348becdcc3196addbe882e8a10451744e489e389 before a7182993dd8e09f96839ddc3ac54f9b37370d282; from 348becdcc3196addbe882e8a10451744e489e389 before 8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7; from 348becdcc3196addbe882e8a10451744e489e389 before 2754fa3b73df7d0ae042f3ed6cfd9df9042f6262; from 348becdcc3196addbe882e8a10451744e489e389 before 337f00a0bc62d7cb7d10ec0b872c79009a1641df; from 348becdcc3196addbe882e8a10451744e489e389 before 856e6e8e0f9300befa87dde09edb578555c99a82; 4.11 (not affected: before 4.11; from 4.14.250 up to 4.14.*; from 4.19.210 up to 4.19.*; from 5.4.152 up to 5.4.*; from 5.10.72 up to 5.10.*; from 5.14.11 up to 5.14.*; from 5.15 up to *)
- linux linux_kernel: before 4.14.250; from 4.15 before 4.19.210; from 4.20 before 5.4.152; from 5.5 before 5.10.72; from 5.11 before 5.14.11; 5.15

## References

- <https://git.kernel.org/stable/c/4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b> (patch)
- <https://git.kernel.org/stable/c/a7182993dd8e09f96839ddc3ac54f9b37370d282> (patch)
- <https://git.kernel.org/stable/c/8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7> (patch)
- <https://git.kernel.org/stable/c/2754fa3b73df7d0ae042f3ed6cfd9df9042f6262> (patch)
- <https://git.kernel.org/stable/c/337f00a0bc62d7cb7d10ec0b872c79009a1641df> (patch)
- <https://git.kernel.org/stable/c/856e6e8e0f9300befa87dde09edb578555c99a82> (patch)

## Sources

- CVE List: [CVE-2021-47409](https://www.cve.org/CVERecord?id=CVE-2021-47409), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47409](https://nvd.nist.gov/vuln/detail/CVE-2021-47409), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47409 · Whole record: https://cve.day/CVE-2021-47409.json · Rebuilt by cve.day 2026-11-25T22:58:08.843Z
