CVE-2026-98758
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-98758",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:29.607",
"lastModified": "2026-10-19T10:19:39.920",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/usb/typec/ucsi/ucsi_glink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "62b5412b1f4afab27d8df90ddcabb8e1e11a00ad",
"lessThan": "432b58cd959e594909a581b4974396cdbc9d4ca1",
"versionType": "git",
"status": "affected"
},
{
"version": "62b5412b1f4afab27d8df90ddcabb8e1e11a00ad",
"lessThan": "41934f92e7a54d4080ac0b17aacc83224946785c",
"versionType": "git",
"status": "affected"
},
{
"version": "62b5412b1f4afab27d8df90ddcabb8e1e11a00ad",
"lessThan": "ee8577de01c6b6c7dd1d76b52242c54d37a989f4",
"versionType": "git",
"status": "affected"
},
{
"version": "62b5412b1f4afab27d8df90ddcabb8e1e11a00ad",
"lessThan": "63b269ec537dc0fd26d0bd64872c26860d108c9d",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/usb/typec/ucsi/ucsi_glink.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6.4",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.4",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/41934f92e7a54d4080ac0b17aacc83224946785c",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/432b58cd959e594909a581b4974396cdbc9d4ca1",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/63b269ec537dc0fd26d0bd64872c26860d108c9d",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ee8577de01c6b6c7dd1d76b52242c54d37a989f4",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}