VDB

CVE-2024-35790

CVE-2024-35790 PUBLISHED

Reported by linux · Published May 17, 2024

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.

Affected products

VendorProductVersions
LinuxLinux0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588
LinuxLinux4.19, 0, 5.10.238
linuxlinux_kernel4.19, 4.19, 4.19
LinuxLinux0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588

Timeline

  • May 17, 2024 CVE Published
  • May 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 10, 2026 Security Advisory (523 in total, the first dated here)
  • Sep 22, 2026 Distribution Patch (415 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-35790
vulnetix vdb fixes CVE-2024-35790

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-35790/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›