CVE-2021-47409Published May 21, 2024 · May 21Updated Jun 17
usb: dwc2: check return value after calling platform_get_resource()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 348becdcc3196addbe882e8a10451744e489e389 · < 856e6e8e0f9300befa87dde09edb578555c99a82| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel USB DWC2 component can dereference a null pointer if platform_get_resource() returns NULL. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified.