CVE-2024-50268
HIGH EPSS 16.7%
Published Nov 19, 20241y ago · Modified Jun 17, 20262w ago
7.1 CVSS 3.1
Published Nov 19, 2024 1y ago
Last Modified Jun 17, 2026 2w ago
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()
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability High
Threat Intelligence
EPSS Exploit Probability
16.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-125 Out-of-bounds Read Memory Safety
Affected Products 11
| Vendor | Product | Version | Range |
|---|---|---|---|
| linux | linux_kernel | * | ≥5.6 – <5.10.230 |
| linux | linux_kernel | * | ≥5.11 – <5.15.172 |
| linux | linux_kernel | * | ≥5.16 – <6.1.117 |
| linux | linux_kernel | * | ≥6.2 – <6.6.61 |
| linux | linux_kernel | * | ≥6.7 – <6.11.8 |
| linux | linux_kernel | 6.12 | any |
| linux | linux_kernel | 6.12 | any |
| linux | linux_kernel | 6.12 | any |
| linux | linux_kernel | 6.12 | any |
| linux | linux_kernel | 6.12 | any |
| linux | linux_kernel | 6.12 | any |
References 8
- git.kernel.org https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616
- git.kernel.org https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f
- git.kernel.org https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b
- git.kernel.org https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96
- git.kernel.org https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b
- git.kernel.org https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
Remediation
- git.kernel.org https://git.kernel.org/stable/c/3a2ba841659a0f15102585120dea75d8d5209616
- git.kernel.org https://git.kernel.org/stable/c/604314ecd682913925980dc955caea2d036eab5f
- git.kernel.org https://git.kernel.org/stable/c/69e19774f15e12dda6c6c58001d059e30895009b
- git.kernel.org https://git.kernel.org/stable/c/7dd08a0b4193087976db6b3ee7807de7e8316f96
- git.kernel.org https://git.kernel.org/stable/c/8f47984b35f3be0cfc652c2ca358d5768ea3456b
- git.kernel.org https://git.kernel.org/stable/c/d76923164705821aa1b01b8d9d1741f20c654ab4