CVE-2022-50825
Awaiting Analysis Awaiting Analysis - Queue
BaseFortify

Publication date: 2025-12-30

Last updated on: 2025-12-31

Assigner: kernel.org

Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe() I got the following report while doing fault injection test: OF: ERROR: memory leak, expected refcount 1 instead of 4, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /i2c/tcpc@60/connector If wusb3801_hw_init() fails, fwnode_handle_put() needs be called to avoid refcount leak.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-31
Generated
2026-06-16
AI Q&A
2025-12-30
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Currently, no data is known.
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a reference count leak in the Linux kernel's USB Type-C driver for the wusb3801 device. Specifically, if the function wusb3801_hw_init() fails, the code does not properly call fwnode_handle_put(), leading to an unbalanced reference count and a memory leak related to device tree node handling.

Impact Analysis

The impact of this vulnerability is a memory leak in the kernel due to unbalanced reference counting. Over time, this could lead to increased memory usage and potentially degrade system stability or cause resource exhaustion.

Detection Guidance

This vulnerability can be detected by monitoring kernel logs for messages indicating a reference count leak related to the wusb3801 driver. Specifically, look for errors such as: 'OF: ERROR: memory leak, expected refcount 1 instead of 4, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /i2c/tcpc@60/connector'. You can use the command 'dmesg | grep -i wusb3801' or 'journalctl -k | grep -i wusb3801' to check for such messages.

Mitigation Strategies

To mitigate this vulnerability, update the Linux kernel to a version where the wusb3801 driver has been fixed to properly call fwnode_handle_put() when wusb3801_hw_init() fails, preventing the reference count leak. If updating is not immediately possible, monitor for the error messages and avoid using affected hardware or drivers until patched.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50825. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart