{"id":"CVE-2024-50268","aliases":["CVE-2024-50268"],"related":[],"kind":"vulnerability","state":"published","title":"usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()","summary":"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()","summarySource":"cvelist","descriptions":[{"lang":"en","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()","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: typec: se corrige un posible error fuera de los límites en ucsi_ccg_update_set_new_cam_cmd() La variable \"*cmd\" puede ser controlada por el usuario a través de debugfs. Esto significa que \"new_cam\" puede tener un valor de hasta 255, mientras que el tamaño de la matriz uc-&gt;updated[] es UCSI_MAX_ALTMODES (30). El árbol de llamadas es: ucsi_cmd() // val proviene de simple_attr_write_xsigned() -&gt; ucsi_send_command() -&gt; ucsi_send_command_common() -&gt; ucsi_run_command() // llama a ucsi-&gt;ops-&gt;sync_control() -&gt; ucsi_ccg_sync_control()","source":"nvd"}],"published":"2024-11-19T01:30:05.437Z","modified":"2026-08-05T11:42:56.179Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"d76923164705821aa1b01b8d9d1741f20c654ab4","status":"affected"},{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"8f47984b35f3be0cfc652c2ca358d5768ea3456b","status":"affected"},{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"604314ecd682913925980dc955caea2d036eab5f","status":"affected"},{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"69e19774f15e12dda6c6c58001d059e30895009b","status":"affected"},{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"3a2ba841659a0f15102585120dea75d8d5209616","status":"affected"},{"type":"git","introduced":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","fixed":"7dd08a0b4193087976db6b3ee7807de7e8316f96","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.230","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.172","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.117","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.61","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.11.8","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.10.230"},{"status":"affected","introduced":"5.11","fixed":"5.15.172"},{"status":"affected","introduced":"5.16","fixed":"6.1.117"},{"status":"affected","introduced":"6.2","fixed":"6.6.61"},{"status":"affected","introduced":"6.7","fixed":"6.11.8"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T20:15:13.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-50268","url":"https://www.cve.org/CVERecord?id=CVE-2024-50268","licence":"CVE Terms of Use","modified":"2026-08-05T11:42:56.179Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-50268","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50268","licence":"Public domain","modified":"2026-08-04T11:21:38.907Z"}],"updatedAt":"2026-11-25T22:58:48.404Z","epss":{"score":0.00263,"percentile":0.19347,"date":"2026-12-01T12:00:22.000Z"}}