CVE-2024-50268
kernel: usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · November 19, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel. A local user with access to the debugfs debugging interface can supply malformed command values to the USB Type-C Connector System Software Interface (UCSI) driver, triggering an out-of-bounds memory read. This flaw primarily allows an attacker to cause a Denial of Service (DoS) through a system crash, or potentially lead to information disclosure.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Prevent the Cypress CCgx Type-C driver module (ucsi_ccg) from being loaded by adding it to the modprobe configuration:
- Create a configuration file to disable the module:
echo "install ucsi_ccg /bin/true" > /etc/modprobe.d/disable-ucsi_ccg.conf
- Unload the module if it is currently loaded:
modprobe -r ucsi_ccg
Caveats: Disabling this module prevents the kernel from managing supported Cypress CCgx USB Type-C controllers. A system restart may be required if the module is actively in use and cannot be unloaded dynamically.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-125 · Out-of-bounds Read