CVE-2024-50268
usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
Check your servers for CVE-2024-50268
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-50268 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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()
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.3% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 1 Oct 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before d76923164705821aa1b01b8d9d1741f20c654ab4 affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before 8f47984b35f3be0cfc652c2ca358d5768ea3456b affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before 604314ecd682913925980dc955caea2d036eab5f affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before 69e19774f15e12dda6c6c58001d059e30895009b affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before 3a2ba841659a0f15102585120dea75d8d5209616 affected from 170a6726d0e266f2c8f306e3d61715c32f4ee41e, before 7dd08a0b4193087976db6b3ee7807de7e8316f96
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.230 up to and including 5.10.* unaffected from 5.15.172 up to and including 5.15.* unaffected from 6.1.117 up to and including 6.1.* unaffected from 6.6.61 up to and including 6.6.* unaffected from 6.11.8 up to and including 6.11.* unaffected 6.12 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-50268 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-50268
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-50268
trivy image --scanners vuln IMAGE | grep CVE-2024-50268
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 git.kernel.org
- https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b git.kernel.org
- https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f git.kernel.org
- https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b git.kernel.org
- https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 git.kernel.org
- https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
Source: the record CVE-2024-50268 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse