{"id":"CVE-2024-50268","published":"2024-11-19T01:30:05Z","modified":"2026-08-05T11:42:56Z","title":"usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()\n\nThe \"*cmd\" variable can be controlled by the user via debugfs.  That means\n\"new_cam\" can be as high as 255 while the size of the uc->updated[] array\nis UCSI_MAX_ALTMODES (30).\n\nThe call tree is:\nucsi_cmd() // val comes from simple_attr_write_xsigned()\n-> ucsi_send_command()\n   -> ucsi_send_command_common()\n      -> ucsi_run_command() // calls ucsi->ops->sync_control()\n         -> ucsi_ccg_sync_control()","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00322,"percentile":0.1763,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4","tags":[]},{"url":"https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b","tags":[]},{"url":"https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f","tags":[]},{"url":"https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b","tags":[]},{"url":"https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616","tags":[]},{"url":"https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.53},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < d76923164705821aa1b01b8d9d1741f20c654ab4",">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 8f47984b35f3be0cfc652c2ca358d5768ea3456b",">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 604314ecd682913925980dc955caea2d036eab5f",">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 69e19774f15e12dda6c6c58001d059e30895009b",">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 3a2ba841659a0f15102585120dea75d8d5209616",">= 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 7dd08a0b4193087976db6b3ee7807de7e8316f96"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:15:13.462825Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-44770","exploited":false,"provenance":"source"}}