Bug 2313050 (CVE-2024-46719) - CVE-2024-46719 kernel: usb: typec: ucsi: Fix null pointer dereference in trace
Summary: CVE-2024-46719 kernel: usb: typec: ucsi: Fix null pointer dereference in trace
Keywords:
Status: NEW
Alias: CVE-2024-46719
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2313081
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-18 07:21 UTC by OSIDB Bzimport
Modified: 2024-11-14 04:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-18 07:21:12 UTC
In the Linux kernel, the following vulnerability has been resolved:

usb: typec: ucsi: Fix null pointer dereference in trace

ucsi_register_altmode checks IS_ERR for the alt pointer and treats
NULL as valid. When CONFIG_TYPEC_DP_ALTMODE is not enabled,
ucsi_register_displayport returns NULL which causes a NULL pointer
dereference in trace. Rather than return NULL, call
typec_port_register_altmode to register DisplayPort alternate mode
as a non-controllable mode when CONFIG_TYPEC_DP_ALTMODE is not enabled.


Note You need to log in before you can comment on or make changes to this bug.