{"id":"CVE-2026-98758","summary":"usb: typec: ucsi: glink: fix use-after-free of ucsi on remove","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: ucsi: glink: fix use-after-free of ucsi on remove\n\nThe pmic_glink client is released by the devres cleanup, which runs\nafter pmic_glink_ucsi_remove() has returned, so its notification\ncallbacks can queue work until then. Work that runs after\nucsi_unregister() has been called touches freed state: it dereferences\nthe connector array that ucsi_unregister() freed, or registers and\nunregisters the instance a second time.\n\nDisable both work items with disable_work_sync() before unregistering,\nand unregister only if the instance is still registered.\n\nThis issue was found by an in-house static analysis tool.","modified":"2026-10-19T02:47:17.069009248Z","published":"2026-10-18T15:47:46.209Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98758.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41934f92e7a54d4080ac0b17aacc83224946785c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/432b58cd959e594909a581b4974396cdbc9d4ca1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/63b269ec537dc0fd26d0bd64872c26860d108c9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee8577de01c6b6c7dd1d76b52242c54d37a989f4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98758.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98758"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"62b5412b1f4afab27d8df90ddcabb8e1e11a00ad"},{"fixed":"432b58cd959e594909a581b4974396cdbc9d4ca1"},{"fixed":"41934f92e7a54d4080ac0b17aacc83224946785c"},{"fixed":"ee8577de01c6b6c7dd1d76b52242c54d37a989f4"},{"fixed":"63b269ec537dc0fd26d0bd64872c26860d108c9d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98758.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.12.113"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.56"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98758.json"}}],"schema_version":"1.9.0"}