KernelScan.io

HIGH Introduced in 6.4

ucsi Glink UAF

CVE-2026-98758

CVSS 7.0 / 10.0 KernelScan AI

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

01

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.

02

Engine v0.9.0

Risk summary

A use-after-free in the PMIC Glink UCSI driver's remove path allows a local privileged attacker to corrupt kernel memory by triggering device removal. The freed UCSI instance can be accessed by pending work items that run after the driver's cleanup completes, leading to privilege escalation or kernel panic.

Affecteddrivers/usb/typec/ucsi/ucsi_glink.c (USB Type-C UCSI PMIC Glink driver)

Vulnerability analysis

When the PMIC Glink UCSI driver is removed, it unregisters the UCSI instance and frees its connector array, but the underlying pmic_glink client is not released until the devres cleanup runs afterward. During this window, notification callbacks from the client can still queue work items that dereference the already-freed UCSI state or attempt to re-register the instance. The fix disables both work items synchronously before unregistering, ensuring no pending or future work can access the freed memory, and adds a guard flag to prevent double-unregistration.

03

BranchIntroducedFixed inPatch commit
6.126.46.12.113432b58cd959e
6.186.46.18.5641934f92e7a5
7.26.47.2.10ee8577de01c6
mainline6.47.363b269ec537d
cip/6.126.46.12.114-cip34432b58cd959e

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34