2084AI Security Observatory

CVE

CVE-2024-50268

CVE-2024-50268HIGH 7.1EPSS 18%

CNA 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 versions

All Linux kernel vulnerabilities →

  • 6.12-rc6This version only
  • 6.12-rc5This version only
  • 6.12-rc4This version only
  • 6.12-rc3This version only
  • 6.12-rc2This version only
  • 6.12-rc1This version only
  • ≥ 6.7, < 6.11.8Fixed in 6.11.8
  • ≥ 6.2, < 6.6.61Fixed in 6.6.61
  • ≥ 5.16, < 6.1.117Fixed in 6.1.117
  • ≥ 5.11, < 5.15.172Fixed in 5.15.172
  • ≥ 5.6, < 5.10.230Fixed in 5.10.230

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.