What’s Vulnerable › Vulnerabilities
CVE-2021-47409: usb: dwc2: check return value after calling platform_get_resource()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-21 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- 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-rc1, 5.15-rc2 — fixed in 4.14.250, 4.19.210, 5.10.72, 5.14.11, 5.4.152
How to fix
Upgrade to a fixed version: Linux kernel 4.14.250, 4.19.210, 5.10.72, 5.14.11. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/2754fa3b73df7d0ae042f3ed6cfd9df9042f6262
- https://git.kernel.org/stable/c/337f00a0bc62d7cb7d10ec0b872c79009a1641df
- https://git.kernel.org/stable/c/4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b
- https://git.kernel.org/stable/c/856e6e8e0f9300befa87dde09edb578555c99a82
- https://git.kernel.org/stable/c/8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7
- https://git.kernel.org/stable/c/a7182993dd8e09f96839ddc3ac54f9b37370d282
- https://git.kernel.org/stable/c/2754fa3b73df7d0ae042f3ed6cfd9df9042f6262
- https://git.kernel.org/stable/c/337f00a0bc62d7cb7d10ec0b872c79009a1641df
- https://git.kernel.org/stable/c/4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b
- https://git.kernel.org/stable/c/856e6e8e0f9300befa87dde09edb578555c99a82
- https://git.kernel.org/stable/c/8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7
- https://git.kernel.org/stable/c/a7182993dd8e09f96839ddc3ac54f9b37370d282
Get alerted when CVE-2021-47409 or the next vulnerability affects your stack