All reports
Low

kernel: usb: typec: wusb3801: fix fwnode refcount leak in wusb3801_probe()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-50825

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-22

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.

A reference count leak was found in the wusb3801 USB Type-C driver. When wusb3801_hw_init() fails during probe, the firmware node reference is not properly released, causing a gradual memory leak.