CVE-2022-49756

Source
https://cve.org/CVERecord?id=CVE-2022-49756
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49756.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49756
Downstream
Published
2025-03-27T16:43:03.950Z
Modified
2026-03-20T11:47:12.939657Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
Details

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

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

spusbphyprobe() will call platformgetresourcebyname() that may fail and return NULL. devmioremap() will use usbphy->moon4resmem->start as input, which may causes null-ptr-deref. Check the ret value of platformgetresourcebyname() to avoid the null-ptr-deref.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49756.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d9ccd97385208b78b3d88e756451f4b70119fc
Fixed
d838b5c99bcecd593b4710a93fce8fdbf122395b
Fixed
17eee264ef386ef30a69dd70e36f29893b85c170

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49756.json"