CVE-2023-53049
Description
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.
How to fix
- linux linux_kernel5.10.177, 5.15.105, 6.1.22, 6.2.9 or later
- git.kernel.org/stable/c/1c5abcb13491da8c049f20462189c12c753ba978
- git.kernel.org/stable/c/7dd27aed9c456670b3882877ef17a48195f21693
- git.kernel.org/stable/c/7ef0423e43f877a328454059d46763043ce3da44
- git.kernel.org/stable/c/a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0
- git.kernel.org/stable/c/f87fb985452ab2083967103ac00bfd68fb182764
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.5 ≤ v < 5.10.177, 5.11 ≤ v < 5.15.105, 5.16 ≤ v < 6.1.22, 6.2 ≤ v < 6.2.9, 6.3 | 5.10.177, 5.15.105, 6.1.22, 6.2.9 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.