usb: typec: ucsi: glink: fix use-after-free of ucsi on remove
Summary
| CVE | CVE-2026-98758 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:29 UTC |
| Updated | 2026-10-19 10:19:39 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: glink: fix use-after-free of ucsi on remove
The pmic_glink client is released by the devres cleanup, which runs
after pmic_glink_ucsi_remove() has returned, so its notification
callbacks can queue work until then. Work that runs after
ucsi_unregister() has been called touches freed state: it dereferences
the connector array that ucsi_unregister() freed, or registers and
unregisters the instance a second time.
Disable both work items with disable_work_sync() before unregistering,
and unregister only if the instance is still registered.
This issue was found by an in-house static analysis tool. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 62b5412b1f4afab27d8df90ddcabb8e1e11a00ad 432b58cd959e594909a581b4974396cdbc9d4ca1 git |
Not specified |
| CNA |
Linux |
Linux |
affected 62b5412b1f4afab27d8df90ddcabb8e1e11a00ad 41934f92e7a54d4080ac0b17aacc83224946785c git |
Not specified |
| CNA |
Linux |
Linux |
affected 62b5412b1f4afab27d8df90ddcabb8e1e11a00ad ee8577de01c6b6c7dd1d76b52242c54d37a989f4 git |
Not specified |
| CNA |
Linux |
Linux |
affected 62b5412b1f4afab27d8df90ddcabb8e1e11a00ad 63b269ec537dc0fd26d0bd64872c26860d108c9d git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.4 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.4 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.113 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.56 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.2.10 7.2.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/ee8577de01c6b6c7dd1d76b52242c54d37a989f4 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/63b269ec537dc0fd26d0bd64872c26860d108c9d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/432b58cd959e594909a581b4974396cdbc9d4ca1 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/41934f92e7a54d4080ac0b17aacc83224946785c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.