usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.105, Kernel 6.1.22, Kernel 5.10.177 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: usb: ucsi: Fix NULL pointer deref in ucsi_connector_change() When ucsi_init() fails, ucsi->connector is NULL, yet in case of ucsi_acpi we may still get events which cause the ucs_acpi code to call ucsi_connector_change(), which then derefs the NULL ucsi->connector pointer. Fix this by not setting ucsi->ntfy inside ucsi_init() until ucsi_init() has succeeded, so that ucsi_connector_change() ignores the events because UCSI_ENABLE_NTFY_CONNECTOR_CHANGE is not set in the ntfy mask.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.105, >=5.16 <6.1.22, >=5.5 <5.10.177, >=6.2 <6.2.9, =6.3, >=bdc62f2bae8fb0e8e99574de5232f0a3c54a27df <7dd27aed9c456670b3882877ef17a48195f21693, >=bdc62f2bae8fb0e8e99574de5232f0a3c54a27df <7ef0423e43f877a328454059d46763043ce3da44, >=bdc62f2bae8fb0e8e99574de5232f0a3c54a27df <a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0, >=bdc62f2bae8fb0e8e99574de5232f0a3c54a27df <f87fb985452ab2083967103ac00bfd68fb182764, =5.5, >=bdc62f2bae8fb0e8e99574de5232f0a3c54a27df <1c5abcb13491da8c049f20462189c12c753ba978 | 5.15.105, 6.1.22, 5.10.177, 6.2.9, 7dd27aed9c456670b3882877ef17a48195f21693, 7ef0423e43f877a328454059d46763043ce3da44, a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0, f87fb985452ab2083967103ac00bfd68fb182764, 1c5abcb13491da8c049f20462189c12c753ba978 |
| linux-kernel: Kernel | >=5.11.0 <5.15.105, >=5.16.0 <6.1.22, >=5.5.0 <5.10.177, >=6.2.0 <6.2.9 | 5.15.105, 6.1.22, 5.10.177, 6.2.9 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket