Bug 2363723 (CVE-2023-53049) - CVE-2023-53049 kernel: usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
Summary: CVE-2023-53049 kernel: usb: ucsi: Fix NULL pointer deref in ucsi_connector_ch...
Keywords:
Status: NEW
Alias: CVE-2023-53049
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 16:03 UTC by OSIDB Bzimport
Modified: 2025-06-05 23:47 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:03:14 UTC
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.

Comment 1 Avinash Hanwate 2025-05-05 05:36:10 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050205-CVE-2023-53049-10de@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.