CVE-2024-35790

Advisory lineage Upstream: 0 Downstream: 29
Modified
Published: 17 May 2024, 12:24
Last modified:11 May 2026, 20:11

Vulnerability Summary

Overall Risk (default)
low
22/100
CVSS Score
5.5 MEDIUM
v3.1 (nvd)
EPSS Score
0.02% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

17 May 2024, 12:24
Published
Vulnerability first disclosed
11 May 2026, 20:11
Last Modified
Vulnerability information updated

Description

In the Linux kernel, the following vulnerability has been resolved: usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group The DisplayPort driver's sysfs nodes may be present to the userspace before typec_altmode_set_drvdata() completes in dp_altmode_probe. This means that a sysfs read can trigger a NULL pointer error by deferencing dp->hpd in hpd_show or dp->lock in pin_assignment_show, as dev_get_drvdata() returns NULL in those cases. Remove manual sysfs node creation in favor of adding attribute group as default for devices bound to the driver. The ATTRIBUTE_GROUPS() macro is not used here otherwise the path to the sysfs nodes is no longer compliant with the ABI.

CVSS Metrics

  • v3.1MEDIUMScore: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Trends

Current EPSS score: 0.02% Percentile: 6%

Techniques & Countermeasures

  • CWE-476NULL Pointer Dereference

    The product dereferences a pointer that it expects to be valid but is NULL.

Affected Systems

  • linuxlinux

    ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 6b989ea1c479533ab8dbfbeb1704c94b1d3320da | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 9794ffd9d0c39ee070fbd733f862bbe89b28ba33 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < f1c5ddaef506e3517dce338c08a60663b1521920 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 0ad011776c057ce881b7fd6d8c79ecd459c087e9 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 165376f6b23e9a779850e750fb2eb06622e5a531 | 4.19

  • linuxlinux_kernel

    ≥ 4.19, < 6.6.24 | ≥ 6.7, < 6.7.12 | 6.8:rc1 | 6.8:rc2 | 6.8:rc3 | 6.8:rc4 | 6.8:rc5 | 6.8:rc6

References (8)