CVE-2026-64463: usb: typec: tcpci_rt1711h: unregister TCPCI port with devres

Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:51:20 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072544-CVE-2026-64463-1ce0@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

usb: typec: tcpci_rt1711h: unregister TCPCI port with devres

rt1711h_probe() registers the TCPCI port before requesting the interrupt
and enabling alert interrupts. If either of those later steps fails, the
probe function returns without unregistering the TCPCI port. The explicit
unregister currently only happens from the remove callback.

Register a devres action immediately after tcpci_register_port() succeeds,
so tcpci_unregister_port() runs on later probe failures and on driver
detach. Drop the remove callback to avoid unregistering the same port
twice.

This issue was identified during our ongoing static-analysis research while
reviewing kernel code.

The Linux kernel CVE team has assigned CVE-2026-64463 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.8 with commit 302c570bf36e997d55ad0d60628a2feec76954a4 and fixed in 6.6.145 with commit ce2e36e8759dfbfe546723810c306f42f484866d
	Issue introduced in 5.8 with commit 302c570bf36e997d55ad0d60628a2feec76954a4 and fixed in 6.12.96 with commit 94b1abf1af94aa5a355e9f03675e07bccfc41c4b
	Issue introduced in 5.8 with commit 302c570bf36e997d55ad0d60628a2feec76954a4 and fixed in 6.18.39 with commit e5406c8fb71cd2f89a46300a746f6e7972e621e8
	Issue introduced in 5.8 with commit 302c570bf36e997d55ad0d60628a2feec76954a4 and fixed in 7.1.4 with commit 569f18a83eed0b0be4615f0c7bed40fb5c50e2e6
	Issue introduced in 5.8 with commit 302c570bf36e997d55ad0d60628a2feec76954a4 and fixed in 7.2-rc3 with commit e8da46d99d3710106e7c44db14566bf9b57386b5
	Issue introduced in 4.19.131 with commit 4309ab96ab744703871e35d829177dd9347bf643
	Issue introduced in 5.4.50 with commit 895ec8c86e13f85b119c71d5f95491b48867955e
	Issue introduced in 5.7.7 with commit 745dcedb896a740825160228f98dbb5725a49f85

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64463
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/usb/typec/tcpm/tcpci_rt1711h.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/ce2e36e8759dfbfe546723810c306f42f484866d
	https://git.kernel.org/stable/c/94b1abf1af94aa5a355e9f03675e07bccfc41c4b
	https://git.kernel.org/stable/c/e5406c8fb71cd2f89a46300a746f6e7972e621e8
	https://git.kernel.org/stable/c/569f18a83eed0b0be4615f0c7bed40fb5c50e2e6
	https://git.kernel.org/stable/c/e8da46d99d3710106e7c44db14566bf9b57386b5