CVE-2022-49756

phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()

Medium · published March 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
6.5
In the wild
Unconfirmed
What it is

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

phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()

sp_usb_phy_probe() will call platform_get_resource_byname() that may fail

and return NULL. devm_ioremap() will use usbphy->moon4_res_mem->start as

input, which may causes null-ptr-deref. Check the ret value of

platform_get_resource_byname() to avoid the null-ptr-deref.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00174 · 6.5th percentile
Published
2025-03-27T16:43Z
EPSS history
Timeline
  • 27 MAR 16:43Z
    phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
    cvelistv5