CVE-2021-47409

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

MEDIUM
5.5
CVSS Score
Published: May 21, 2024 at 03:04 PM UTC
Updated: June 17, 2026 at 04:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.14.2504.11 ≤ v < 4.14.2504.11 ≤ v < 4.19.2104.11 ≤ v < 5.10.724.11 ≤ v < 5.14.114.11 ≤ v < 5.154.11 ≤ v < 5.4.1524.15 ≤ v < 4.19.2104.20 ≤ v < 5.4.1525.11 ≤ v < 5.14.115.5 ≤ v < 5.10.72348becdcc3196addbe882e8a10451744e489e3895.15 rc15.15 rc2
Vendor states this is fixed in 2754fa3b73df7d0ae042f3ed6cfd9df9042f6262 (fixed)
Vendor states this is fixed in 337f00a0bc62d7cb7d10ec0b872c79009a1641df (fixed)
Vendor states this is fixed in 4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b (fixed)
Vendor states this is fixed in 856e6e8e0f9300befa87dde09edb578555c99a82 (fixed)
Vendor states this is fixed in 8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7 (fixed)
Vendor states this is fixed in a7182993dd8e09f96839ddc3ac54f9b37370d282 (fixed)
Vendor states this is fixed in 4.11 (unaffected)
Vendor states this is fixed in 4.14.250 (unaffected)
Vendor states this is fixed in 4.19.210 (unaffected)
Vendor states this is fixed in 5.10.72 (unaffected)
Vendor states this is fixed in 5.14.11 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4.152 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2754fa3b73df7d0ae042f3ed6cfd9df9042f6262
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/337f00a0bc62d7cb7d10ec0b872c79009a1641df
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/856e6e8e0f9300befa87dde09edb578555c99a82
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b9c1c33e51d0959f2aec573dfbac0ffd3f5c0b7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a7182993dd8e09f96839ddc3ac54f9b37370d282

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card