{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35790","id":"CVE-2024-35790","title":"usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group\n\nThe DisplayPort driver's sysfs nodes may be present to the userspace before\ntypec_altmode_set_drvdata() completes in dp_altmode_probe. This means that\na sysfs read can trigger a NULL pointer error by deferencing dp->hpd in\nhpd_show or","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group\n\nThe DisplayPort driver's sysfs nodes may be present to the userspace before\ntypec_altmode_set_drvdata() completes in dp_altmode_probe. This means that\na sysfs read can trigger a NULL pointer error by deferencing dp->hpd in\nhpd_show or dp->lock in pin_assignment_show, as dev_get_drvdata() returns\nNULL in those cases.\n\nRemove manual sysfs node creation in favor of adding attribute group as\ndefault for devices bound to the driver. The ATTRIBUTE_GROUPS() macro is\nnot used here otherwise the path to the sysfs nodes is no longer compliant\nwith the ABI.","published":"2024-05-17T12:24:45.918Z","updated":"2026-10-29T11:12:08.167111871Z","reserved":"2024-05-17T12:19:12.338Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"6b989ea1c479533ab8dbfbeb1704c94b1d3320da","status":"affected","versionType":"git"},{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"9794ffd9d0c39ee070fbd733f862bbe89b28ba33","status":"affected","versionType":"git"},{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"f1c5ddaef506e3517dce338c08a60663b1521920","status":"affected","versionType":"git"},{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0","status":"affected","versionType":"git"},{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"0ad011776c057ce881b7fd6d8c79ecd459c087e9","status":"affected","versionType":"git"},{"version":"0e3bb7d6894d9b6e67d6382bb03a46a1dc989588","lessThan":"165376f6b23e9a779850e750fb2eb06622e5a531","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.19","status":"affected"},{"version":"0","lessThan":"4.19","status":"unaffected","versionType":"semver"},{"version":"5.10.238","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.184","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.140","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.24","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.12","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/6b989ea1c479533ab8dbfbeb1704c94b1d3320da","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9794ffd9d0c39ee070fbd733f862bbe89b28ba33","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f1c5ddaef506e3517dce338c08a60663b1521920","tags":["web"]},{"url":"https://git.kernel.org/stable/c/4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/0ad011776c057ce881b7fd6d8c79ecd459c087e9","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://git.kernel.org/stable/c/165376f6b23e9a779850e750fb2eb06622e5a531","tags":["x_transferred","Mailing List","Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35790.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35790","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00228,"epssPercentile":0.13704,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35790","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35790","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35790","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35790","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}