CVE-2024-35790: usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
Vulnerability summary
CVE-2024-35790 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.6% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 27 · Related 21Timeline
- 17-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability 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
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu112 products
- linuxAll versions (No fix recorded) | < 5.15.0-144.157
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1088.95
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 6b989ea1c479533ab8dbfbeb1704c94b1d3320da | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 9794ffd9d0c39ee070fbd733f862bbe89b28ba33 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < f1c5ddaef506e3517dce338c08a60663b1521920 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 0ad011776c057ce881b7fd6d8c79ecd459c087e9 | ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588, < 165376f6b23e9a779850e750fb2eb06622e5a531 | 4.19
- linux_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
Debian1 product
- linux< 6.1.140-1 | < 6.7.12-1
3 vendors · 115 products