CVE-2024-50268
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < d76923164705821aa1b01b8d9d1741f20c654ab4 | affected |
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 8f47984b35f3be0cfc652c2ca358d5768ea3456b | affected |
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 604314ecd682913925980dc955caea2d036eab5f | affected |
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 69e19774f15e12dda6c6c58001d059e30895009b | affected |
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 3a2ba841659a0f15102585120dea75d8d5209616 | affected |
| Linux | Linux | 170a6726d0e266f2c8f306e3d61715c32f4ee41e < 7dd08a0b4193087976db6b3ee7807de7e8316f96 | affected |
| Linux | Linux | 5.6 | affected |
| Linux | Linux | 0 < 5.6 | unaffected |
| Linux | Linux | 5.10.230 <= 5.10.* | unaffected |
| Linux | Linux | 5.15.172 <= 5.15.* | unaffected |
| Linux | Linux | 6.1.117 <= 6.1.* | unaffected |
| Linux | Linux | 6.6.61 <= 6.6.* | unaffected |
| Linux | Linux | 6.11.8 <= 6.11.* | unaffected |
| Linux | Linux | 6.12 <= * | unaffected |
Weaknesses
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: partial
CVE Program Container
Additional References
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
References
- https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4
- https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b
- https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f
- https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b
- https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616
- https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.