Bug 2355478 (CVE-2022-49756) - CVE-2022-49756 kernel: phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
Summary: CVE-2022-49756 kernel: phy: usb: sunplus: Fix potential null-ptr-deref in sp_...
Keywords:
Status: NEW
Alias: CVE-2022-49756
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-03-27 17:03 UTC by OSIDB Bzimport
Modified: 2025-04-08 13:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-03-27 17:03:28 UTC
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.

Comment 3 Avinash Hanwate 2025-03-28 05:21:58 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025032701-CVE-2022-49756-7fd9@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.