CVE-2024-50268
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()
How to fix
- linux linux_kernel5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| linux linux_kernel | 5.6 ≤ v < 5.10.230, 5.11 ≤ v < 5.15.172, 5.16 ≤ v < 6.1.117, 6.2 ≤ v < 6.6.61, 6.7 ≤ v < 6.11.8, 6.12 | 5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.