CVE-2022-49756
published medium CVSS 3.1 · 5.5phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux99d9ccd97385208b78b3d88e756451f4b70119fc to < d838b5c99bcecd593b4710a93fce8fdbf122395b · 99d9ccd97385208b78b3d88e756451f4b70119fc to < 17eee264ef386ef30a69dd70e36f29893b85c170 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.9 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 99d9ccd97385208b78b3d88e756451f4b70119fc to < d838b5c99bcecd593b4710a93fce8fdbf122395b (affected · git)99d9ccd97385208b78b3d88e756451f4b70119fc to < 17eee264ef386ef30a69dd70e36f29893b85c170 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.9 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
2Provider assertions
2Linux · cna
phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ffb88a4749c16a4fc2890f123d9fad5bd7e6cbe294c1cbdbceec73e3a03513c
- Ingested
- 23 Sep 2026, 08:04:21 UTC
- Source record
- Official CVE record