CVE-2024-46719

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
18/09/2024
Last modified:
20/09/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: typec: ucsi: Fix null pointer dereference in trace<br /> <br /> ucsi_register_altmode checks IS_ERR for the alt pointer and treats<br /> NULL as valid. When CONFIG_TYPEC_DP_ALTMODE is not enabled,<br /> ucsi_register_displayport returns NULL which causes a NULL pointer<br /> dereference in trace. Rather than return NULL, call<br /> typec_port_register_altmode to register DisplayPort alternate mode<br /> as a non-controllable mode when CONFIG_TYPEC_DP_ALTMODE is not enabled.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.4.284 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.226 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.167 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.109 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.50 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.9 (excluding)