Security mailing lists by PureSourceCode

CVE-2024-50268

HIGH 7.1CVSS 3.1

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
19 Nov 2024
Last modified
4 Aug 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.6, < 5.10.230 5.10.230
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.172 5.15.172
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.16, < 6.1.117 6.1.117
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.2, < 6.6.61 6.6.61
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.11.8 6.11.8
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc3:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc4:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc5:*:*:*:*:*:*
= 6.12
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.12:rc6:*:*:*:*:*:*
= 6.12

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Nov 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.