CVE-2022-50246

usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()

No CVSS score yet EPSS 0.17%

Published 15 Sep 2025 Updated 5 Nov 2026 CNA: Linux

Check your servers for CVE-2022-50246

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50246 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: tcpci: fix of node refcount leak in tcpci_register_port()

I got the following report while doing device(mt6370-tcpc) load test with CONFIG_OF_UNITTEST and CONFIG_OF_DYNAMIC enabled:

OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /i2c/pmic@34/tcpc/connector

The 'fwnode' set in tcpci_parse_config() which is called in tcpci_register_port(), its node refcount is increased in device_get_named_child_node(). It needs be put while exiting, so call fwnode_handle_put() in the error path of tcpci_register_port() and in tcpci_unregister_port() to avoid leak.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.23% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 5 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before 4f257e2eba419ab4cd880c822346450e4e7b2af3
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before d3b6c28a71f111a6c67ddc3238aab95910fd86cf
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before ba75be6f0d9d028d20852564206565a4c03e3288
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before e75a324409715bd71348f79a49aa61b69dbeb676
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before 5f125507d2270035dfcf83fbff6cff5a143e200c
affected from 5e85a04c8c0d271d7561a770b85741f186398868, before 0384e87e3fec735e47f1c133c796f32ef7a72a9b
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.4.229 up to and including 5.4.*
unaffected from 5.10.163 up to and including 5.10.*
unaffected from 5.15.86 up to and including 5.15.*
unaffected from 6.0.16 up to and including 6.0.*
unaffected from 6.1.2 up to and including 6.1.*
unaffected 6.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50246 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50246

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2022-50246
trivy image --scanners vuln IMAGE | grep CVE-2022-50246

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2022-50246 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.