CVE-2023-53049

usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()

MEDIUM
5.5
CVSS Score
Published: May 2, 2025 at 03:55 PM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1055.16 ≤ v < 6.1.225.5 ≤ v < 5.10.1775.5 ≤ v < 5.15.1055.5 ≤ v < 6.1.225.5 ≤ v < 6.2.95.5 ≤ v < 6.36.2 ≤ v < 6.2.95.56.3 rc16.3 rc26.3 rc3bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Vendor states this is fixed in 1c5abcb13491da8c049f20462189c12c753ba978 (fixed)
Vendor states this is fixed in 7dd27aed9c456670b3882877ef17a48195f21693 (fixed)
Vendor states this is fixed in 7ef0423e43f877a328454059d46763043ce3da44 (fixed)
Vendor states this is fixed in a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0 (fixed)
Vendor states this is fixed in f87fb985452ab2083967103ac00bfd68fb182764 (fixed)
Vendor states this is fixed in 5.10.177 (unaffected)
Vendor states this is fixed in 5.15.105 (unaffected)
Vendor states this is fixed in 5.5 (unaffected)
Vendor states this is fixed in 6.1.22 (unaffected)
Vendor states this is fixed in 6.2.9 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1c5abcb13491da8c049f20462189c12c753ba978
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7dd27aed9c456670b3882877ef17a48195f21693
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7ef0423e43f877a328454059d46763043ce3da44
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f87fb985452ab2083967103ac00bfd68fb182764

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card