usb: typec: ucsi: unregister debugfs entries on teardown
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.157, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From df0383ffad64dc09954a60873c1e202b47f08d90 · fixed in fb7393519908befdc094be4ea913f582adbf2f7c; From df0383ffad64dc09954a60873c1e202b47f08d90 · fixed in 7177c215e69658adbd2f2fc5b72e14be9208d2ba; From df0383ffad64dc09954a60873c1e202b47f08d90 · fixed in 1f44d001620fd3caa30619a9bc73e9d15555408b; From df0383ffad64dc09954a60873c1e202b47f08d90 · fixed in 62efee351566321ad72a4abaf6eb7d972590585d; From df0383ffad64dc09954a60873c1e202b47f08d90 · fixed in eed73a65ab609b79d53de88cccc34b36dfe753c4
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6