CVE-2022-48723: spi: uniphier: fix reference count leak in uniphier_spi_probe()
In the Linux kernel, the following vulnerability has been resolved:
spi: uniphier: fix reference count leak in uniphier_spi_probe()
The issue happens in several error paths in uniphier_spi_probe().
When either dma_get_slave_caps() or devm_spi_register_master() returns
an error code, the function forgets to decrease the refcount of both
`dma_rx` and `dma_tx` objects, which may lead to refcount leaks.
Fix it by decrementing the reference count of specific objects in
those error paths.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel driver bug in UniPhier SPI initialization error handling. If setup fails at specific points, references to DMA objects may not be released. The public record does not provide a CVSS score, CWE, confirmed exploitation, or broad business impact evidence.
Executive priority
Treat as a low-priority kernel maintenance issue unless your environment uses UniPhier-based platforms. Include it in normal kernel patch cycles and confirm embedded device vendors have shipped fixed builds.
Technical view
In uniphier_spi_probe(), error paths after dma_get_slave_caps() or devm_spi_register_master() can return without decrementing refcounts for dma_rx and dma_tx. The kernel fix adds the missing reference release in those paths. The issue is limited to the UniPhier SPI driver context described in the source.
Likely exposure
Exposure is most likely on Linux systems using kernels with the affected UniPhier SPI driver code, especially UniPhier-based embedded or appliance platforms. General-purpose systems not using this driver are less likely to be exposed.
Exploitation context
The provided sources do not report active exploitation, and the CVE is not marked KEV. The described condition occurs during probe failure paths, which suggests operational stability risk rather than a documented remote compromise path.
Researcher notes
Evidence is narrow: the public description identifies two error paths and the leaked dma_rx/dma_tx references. No CVSS vector, CWE, exploit status, or independent impact analysis is included in the provided source bundle.
Mitigation direction
Identify Linux kernels containing the affected UniPhier SPI driver code.
Update to a vendor kernel that includes the referenced stable fixes.
Prioritize UniPhier-based embedded systems and appliances first.
Check distribution or hardware vendor advisories for backported fixes.
Monitor affected systems for repeated driver probe failures or resource exhaustion.
Validation and detection
Inventory kernel versions on systems using UniPhier SPI hardware.
Confirm whether the referenced stable commits are present or backported.
Review kernel logs for UniPhier SPI probe failures.
Verify vendor kernel changelogs mention CVE-2022-48723 or the refcount leak fix.
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.
cve · low confidence lookup
CVE-2022-48723 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.