Skip to contentSkip to conversation

CVE-2026-100079: usb: typec: ucsi: unregister debugfs entries on teardown

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

usb: typec: ucsi: unregister debugfs entries on teardown

ucsi_register() creates per-instance debugfs entries, but ucsi_unregister() keeps them around until ucsi_destroy().

Drivers like ucsi_glink that unregister/register the same UCSI instance across remoteproc restart then try to create an already existing debugfs directory and log:

debugfs: 'pmic_glink.ucsi.0' already exists in 'ucsi'

Unregister debugfs entries as part of ucsi_unregister(), and clear ucsi->debugfs after freeing it so repeated unregister paths remain safe.

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

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

	Issue introduced in 6.6 with commit df0383ffad64dc09954a60873c1e202b47f08d90 and fixed in 6.6.157 with commit fb7393519908befdc094be4ea913f582adbf2f7c
	Issue introduced in 6.6 with commit df0383ffad64dc09954a60873c1e202b47f08d90 and fixed in 6.12.110 with commit 7177c215e69658adbd2f2fc5b72e14be9208d2ba
	Issue introduced in 6.6 with commit df0383ffad64dc09954a60873c1e202b47f08d90 and fixed in 6.18.52 with commit 1f44d001620fd3caa30619a9bc73e9d15555408b
	Issue introduced in 6.6 with commit df0383ffad64dc09954a60873c1e202b47f08d90 and fixed in 7.2.6 with commit 62efee351566321ad72a4abaf6eb7d972590585d
	Issue introduced in 6.6 with commit df0383ffad64dc09954a60873c1e202b47f08d90 and fixed in 7.3-rc1 with commit eed73a65ab609b79d53de88cccc34b36dfe753c4

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-100079

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/ucsi/debugfs.c
drivers/usb/typec/ucsi/ucsi.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/fb7393519908befdc094be4ea913f582adbf2f7c
	https://git.kernel.org/stable/c/7177c215e69658adbd2f2fc5b72e14be9208d2ba
	https://git.kernel.org/stable/c/1f44d001620fd3caa30619a9bc73e9d15555408b
	https://git.kernel.org/stable/c/62efee351566321ad72a4abaf6eb7d972590585d
	https://git.kernel.org/stable/c/eed73a65ab609b79d53de88cccc34b36dfe753c4