Review reviewHigh

CVE-2024-50268

Linux Linux, linux kernel

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

CVSS
7.1
EPSS
-
- percentile
CISA KEV
Not listed
Published
2024.11.19
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.1

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < d76923164705821aa1b01b8d9d1741f20c654ab4, >= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 8f47984b35f3be0cfc652c2ca358d5768ea3456b, >= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 604314ecd682913925980dc955caea2d036eab5f, >= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 69e19774f15e12dda6c6c58001d059e30895009b, >= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 3a2ba841659a0f15102585120dea75d8d5209616, >= 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 7dd08a0b4193087976db6b3ee7807de7e8316f96, >= 5.6, >= 5.6 < 5.10.230, >= 5.11 < 5.15.172, >= 5.16 < 6.1.117, >= 6.2 < 6.6.61, >= 6.7 < 6.11.8, 6.12
Fixed versions
5.10.230, 5.15.172, 6.1.117, 6.6.61, 6.11.8

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE
CWE-125