We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50268

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



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

Reserved 2024-10-21 | Published 2024-11-19 | Updated 2024-11-19 | Assigner Linux

Product status

Default status
unaffected

170a6726d0e2 before d76923164705
affected

170a6726d0e2 before 8f47984b35f3
affected

170a6726d0e2 before 604314ecd682
affected

170a6726d0e2 before 69e19774f15e
affected

170a6726d0e2 before 3a2ba841659a
affected

170a6726d0e2 before 7dd08a0b4193
affected

Default status
affected

5.6
affected

Any version before 5.6
unaffected

5.10.230
unaffected

5.15.172
unaffected

6.1.117
unaffected

6.6.61
unaffected

6.11.8
unaffected

6.12
unaffected

References

git.kernel.org/...c/d76923164705821aa1b01b8d9d1741f20c654ab4

git.kernel.org/...c/8f47984b35f3be0cfc652c2ca358d5768ea3456b

git.kernel.org/...c/604314ecd682913925980dc955caea2d036eab5f

git.kernel.org/...c/69e19774f15e12dda6c6c58001d059e30895009b

git.kernel.org/...c/3a2ba841659a0f15102585120dea75d8d5209616

git.kernel.org/...c/7dd08a0b4193087976db6b3ee7807de7e8316f96

cve.org (CVE-2024-50268)

nvd.nist.gov (CVE-2024-50268)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-50268

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.