CVE-2022-49756: phy: usb: sunplus: Fix potential null-ptr-deref in sp_usb_phy_probe()
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.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel availability bug in the Sunplus USB PHY driver. If the driver probes a device without an expected platform resource, it can dereference a null pointer and crash kernel code. Business impact is mainly denial of service on affected Linux systems, especially embedded or appliance-like deployments using Sunplus USB PHY support.
Executive priority
Treat this as a moderate availability risk. It should not displace actively exploited internet-facing issues, but it matters for embedded, appliance, or operational systems where a kernel crash creates service interruption or recovery cost.
Technical view
sp_usb_phy_probe() calls platform_get_resource_byname(), which can return NULL. The vulnerable path then uses usbphy->moon4_res_mem->start in devm_ioremap(), causing a potential NULL pointer dereference. The CVSS vector is local, low complexity, low privileges, no user interaction, unchanged scope, and high availability impact only.
Likely exposure
Exposure appears limited to Linux kernels identified in the CVE data, particularly 6.1/6.2 lineage systems where the Sunplus USB PHY driver and relevant platform resources are present. General Linux servers without this driver or hardware path are less likely to be exposed, but downstream vendor backports must be checked.
Exploitation context
The source bundle does not indicate active exploitation, and KEV is false. The scored attack model is local with low privileges and no user interaction, causing availability impact rather than data theft or integrity compromise. Public sources provided do not describe exploit tooling or real-world abuse.
Researcher notes
Evidence is narrow and kernel-source focused. The vulnerability is a missing NULL check in a hardware-specific probe path, fixed by checking platform_get_resource_byname() before dereferencing the resource. No confidentiality or integrity impact is claimed in the supplied CVSS data.
Mitigation direction
Update to a kernel build containing the referenced stable fixes.
Use distribution or appliance vendor advisories to confirm backported fixes.
Prioritize embedded systems using Sunplus USB PHY hardware or board support.
If updates are unavailable, ask the vendor for supported mitigation guidance.
Track affected assets until the fixed kernel is deployed.
Validation and detection
Inventory Linux kernel versions against the CVE affected-version data.
Check vendor changelogs for commits d838b5c99bce or 17eee264ef38.
Confirm whether Sunplus USB PHY support is enabled or applicable.
Review crash logs for NULL pointer dereferences during USB PHY probe.
Verify patched systems include the platform resource NULL check.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.