CVE-2023-53049

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
02/05/2025
Last modified:
05/05/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()<br /> <br /> When ucsi_init() fails, ucsi-&gt;connector is NULL, yet in case of<br /> ucsi_acpi we may still get events which cause the ucs_acpi code to call<br /> ucsi_connector_change(), which then derefs the NULL ucsi-&gt;connector<br /> pointer.<br /> <br /> Fix this by not setting ucsi-&gt;ntfy inside ucsi_init() until ucsi_init()<br /> has succeeded, so that ucsi_connector_change() ignores the events<br /> because UCSI_ENABLE_NTFY_CONNECTOR_CHANGE is not set in the ntfy mask.

Impact