Vulnerabilities · 2024 · Linux
CVE-2024-50268
Linux Kernel vulnerability
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()
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 · Patch
- git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f · Patch
- git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b · Patch
- git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 · Patch
- git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b · Patch
- git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 · Patch
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- nvd.nist.gov/vuln/detail/CVE-2024-50268
- cve.org/CVERecord?id=CVE-2024-50268
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.