Description
In the Linux kernel, the following vulnerability has been resolved: usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd() The "*cmd" variable can be controlled by the user via debugfs. That means "new_cam" can be as high as 255 while the size of the uc->updated[] array is UCSI_MAX_ALTMODES (30). The call tree is: ucsi_cmd() // val comes from simple_attr_write_xsigned() -> ucsi_send_command() -> ucsi_send_command_common() -> ucsi_run_command() // calls ucsi->ops->sync_control() -> ucsi_ccg_sync_control()
References (8)
Core 8
Core References
Scores
CVSS v3
7.1
EPSS
0.0001
EPSS Percentile
2.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-125
Status
published
Products (7)
linux/Kernel
5.11.0 - 5.15.172linux
linux/Kernel
5.16.0 - 6.1.117linux
linux/Kernel
5.6.0 - 5.10.230linux
linux/Kernel
6.2.0 - 6.6.61linux
linux/Kernel
6.7.0 - 6.11.8linux
linux/linux_kernel
6.12 rc1 (6 CPE variants)
linux/linux_kernel
5.6 - 5.10.230
Published
Nov 19, 2024
Tracked Since
Feb 18, 2026