CVE-2024-50268CWE-125

CVE-2024-50268

High · published November 19, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
17.2
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00263 · 17.2th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-11-19T07:16Z
Affected products (11)
ProductVersionsFixed in
linux/linux_kernel≥ 5.6, < 5.10.2305.10.230
linux/linux_kernel≥ 5.11, < 5.15.1725.15.172
linux/linux_kernel≥ 5.16, < 6.1.1176.1.117
linux/linux_kernel≥ 6.2, < 6.6.616.6.61
linux/linux_kernel≥ 6.7, < 6.11.86.11.8
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (8)
EPSS history
Timeline
  • 19 NOV 01:30Z
    usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
    cvelistv5