usb: typec: ucsi: unregister debugfs entries on teardown
0Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Track
exploitation probability
—
observed exploitation
nono source reports it
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.
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/1f44d001620fd3caa30619a9bc73e9d15555408bhttps://git.kernel.org/stable/c/62efee351566321ad72a4abaf6eb7d972590585dhttps://git.kernel.org/stable/c/7177c215e69658adbd2f2fc5b72e14be9208d2bahttps://git.kernel.org/stable/c/eed73a65ab609b79d53de88cccc34b36dfe753c4https://git.kernel.org/stable/c/fb7393519908befdc094be4ea913f582adbf2f7c