CVE-2024-50268

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

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*

History

22 Nov 2024, 22:13

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*
First Time Linux linux Kernel
Linux
CWE CWE-125
References () https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 - () https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616 - Patch
References () https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f - () https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f - Patch
References () https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b - () https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b - Patch
References () https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 - () https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96 - Patch
References () https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b - () https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b - Patch
References () https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 - () https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4 - Patch

19 Nov 2024, 21:57

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: typec: se corrige un posible error fuera de los límites en ucsi_ccg_update_set_new_cam_cmd() La variable "*cmd" puede ser controlada por el usuario a través de debugfs. Esto significa que "new_cam" puede tener un valor de hasta 255, mientras que el tamaño de la matriz uc->updated[] es UCSI_MAX_ALTMODES (30). El árbol de llamadas es: ucsi_cmd() // val proviene de simple_attr_write_xsigned() -> ucsi_send_command() -> ucsi_send_command_common() -> ucsi_run_command() // llama a ucsi->ops->sync_control() -> ucsi_ccg_sync_control()

19 Nov 2024, 02:16

Type Values Removed Values Added
New CVE

Information

Published : 2024-11-19 02:16

Updated : 2024-11-22 22:13


NVD link : CVE-2024-50268

Mitre link : CVE-2024-50268

CVE.ORG link : CVE-2024-50268


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read