CVE-2024-50268

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50268
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50268.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-50268
Downstream
Related
Published
2024-11-19T02:16:28Z
Modified
2025-10-01T21:16:14Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: fix potential out of bounds in ucsiccgupdatesetnewcamcmd()

The "*cmd" variable can be controlled by the user via debugfs. That means "newcam" can be as high as 255 while the size of the uc->updated[] array is UCSIMAX_ALTMODES (30).

The call tree is: ucsicmd() // val comes from simpleattrwritexsigned() -> ucsisendcommand() -> ucsisendcommandcommon() -> ucsiruncommand() // calls ucsi->ops->synccontrol() -> ucsiccgsync_control()

References

Affected packages