What’s Vulnerable › Vulnerabilities
CVE-2022-49756: phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-27 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 6.1 before 6.1.9; 6.2-rc1, 6.2-rc2, 6.2-rc3, 6.2-rc4 — fixed in 6.1.9
How to fix
Upgrade to a fixed version: Linux kernel 6.1.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/17eee264ef386ef30a69dd70e36f29893b85c170
- https://git.kernel.org/stable/c/d838b5c99bcecd593b4710a93fce8fdbf122395b
Get alerted when CVE-2022-49756 or the next vulnerability affects your stack