# CVE-2022-49756: phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-03-27T16:43:03.950Z
- Modified: 2026-06-17T05:19:03.817Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 99d9ccd97385208b78b3d88e756451f4b70119fc before d838b5c99bcecd593b4710a93fce8fdbf122395b; from 99d9ccd97385208b78b3d88e756451f4b70119fc before 17eee264ef386ef30a69dd70e36f29893b85c170; 6.1 (not affected: before 6.1; from 6.1.9 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 6.1 before 6.1.9; 6.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/d838b5c99bcecd593b4710a93fce8fdbf122395b> (patch)
- <https://git.kernel.org/stable/c/17eee264ef386ef30a69dd70e36f29893b85c170> (patch)

## Sources

- CVE List: [CVE-2022-49756](https://www.cve.org/CVERecord?id=CVE-2022-49756), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49756](https://nvd.nist.gov/vuln/detail/CVE-2022-49756), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49756 · Whole record: https://cve.day/CVE-2022-49756.json · Rebuilt by cve.day 2026-11-25T22:58:20.848Z
