Skip to main content
Network Thinking Solutions Logo

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.

All CVEs
CVE-2024-50268Published 11/19/2024

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.

Vendor advisory
CVSS7.8High

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

Published
11/19/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.6, < 5.10.230

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.172

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.1.117

Verify advisory

Source
linux kernel
linux
≥ 6.2, < 6.6.61

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.11.8

Verify advisory

Source
linux kernel
linux
6.12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < d76923164705821aa1b01b8d9d1741f20c654ab4

Verify advisory

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 8f47984b35f3be0cfc652c2ca358d5768ea3456b

Verify advisory

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 604314ecd682913925980dc955caea2d036eab5f

Verify advisory

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 69e19774f15e12dda6c6c58001d059e30895009b

Verify advisory

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 3a2ba841659a0f15102585120dea75d8d5209616

Verify advisory

Source
Linux
Linux
≥ 170a6726d0e266f2c8f306e3d61715c32f4ee41e, < 7dd08a0b4193087976db6b3ee7807de7e8316f96

Verify advisory

Source
Linux
Linux
5.6

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.