CVE-2024-50268

usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()

HIGH
7.1
CVSS Score
Published: November 19, 2024 at 01:30 AM UTC
Updated: August 5, 2026 at 12:05 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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()

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1725.16 ≤ v < 6.1.1175.6 ≤ v < 5.10.2305.6 ≤ v < 5.15.1725.6 ≤ v < 6.1.1175.6 ≤ v < 6.11.85.6 ≤ v < 6.125.6 ≤ v < 6.6.616.2 ≤ v < 6.6.616.7 ≤ v < 6.11.8170a6726d0e266f2c8f306e3d61715c32f4ee41e6.12 rc16.12 rc26.12 rc36.12 rc46.12 rc56.12 rc6
Vendor states this is fixed in 3a2ba841659a0f15102585120dea75d8d5209616 (fixed)
Vendor states this is fixed in 604314ecd682913925980dc955caea2d036eab5f (fixed)
Vendor states this is fixed in 69e19774f15e12dda6c6c58001d059e30895009b (fixed)
Vendor states this is fixed in 7dd08a0b4193087976db6b3ee7807de7e8316f96 (fixed)
Vendor states this is fixed in 8f47984b35f3be0cfc652c2ca358d5768ea3456b (fixed)
Vendor states this is fixed in d76923164705821aa1b01b8d9d1741f20c654ab4 (fixed)
Vendor states this is fixed in 5.10.230 (unaffected)
Vendor states this is fixed in 5.15.172 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.1.117 (unaffected)
Vendor states this is fixed in 6.11.8 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.61 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.1HIGHCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card