{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-50268","id":"CVE-2024-50268","title":"usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()","description":"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-","descriptionLong":"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()","published":"2024-11-19T01:30:05.437Z","updated":"2026-10-28T02:30:34.565516126Z","reserved":"2024-10-21T19:36:19.982Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"d76923164705821aa1b01b8d9d1741f20c654ab4","status":"affected","versionType":"git"},{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"8f47984b35f3be0cfc652c2ca358d5768ea3456b","status":"affected","versionType":"git"},{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"604314ecd682913925980dc955caea2d036eab5f","status":"affected","versionType":"git"},{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"69e19774f15e12dda6c6c58001d059e30895009b","status":"affected","versionType":"git"},{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"3a2ba841659a0f15102585120dea75d8d5209616","status":"affected","versionType":"git"},{"version":"170a6726d0e266f2c8f306e3d61715c32f4ee41e","lessThan":"7dd08a0b4193087976db6b3ee7807de7e8316f96","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.10.230","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.172","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.117","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.61","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.8","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-125"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50268.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50268","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00263,"epssPercentile":0.18326,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-50268","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50268","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-50268","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-50268","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}