All reports
Medium

kernel: usb: typec: ucsi: Fix null pointer dereference in trace

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-46719

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: ucsi: Fix null pointer dereference in trace ucsi_register_altmode checks IS_ERR for the alt pointer and treats NULL as valid. When CONFIG_TYPEC_DP_ALTMODE is not enabled, ucsi_register_displayport returns NULL which causes a NULL pointer dereference in trace. Rather than return NULL, call typec_port_register_altmode to register DisplayPort alternate mode as a non-controllable mode when CONFIG_TYPEC_DP_ALTMODE is not enabled.

A flaw was found in the Linux kernel's USB Type-C Unified Connector Interface (UCSI) subsystem. This vulnerability occurs when the ucsi_register_altmode function incorrectly handles a NULL pointer returned by ucsi_register_displayport when the DisplayPort alternate mode is not enabled. A local attacker could potentially trigger a null pointer dereference in the trace functionality, leading to a system crash and a denial of service.