CVE-2022-49756

Source
https://nvd.nist.gov/vuln/detail/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:03Z
Modified
2025-10-16T00:17:30.795827Z
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.

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
99d9ccd97385208b78b3d88e756451f4b70119fc
Fixed
17eee264ef386ef30a69dd70e36f29893b85c170

Affected versions

v6.*

v6.0
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.2-rc1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.9