{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-35790","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-17T12:19:12.338Z","datePublished":"2024-05-17T12:24:45.918Z","dateUpdated":"2025-11-03T19:29:55.320Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-06-04T12:57:15.072Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"],"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"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/typec/altmodes/displayport.c"],"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"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.10.238"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"5.15.184"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.1.140"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.6.24"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.7.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19","versionEndExcluding":"6.8"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/6b989ea1c479533ab8dbfbeb1704c94b1d3320da"},{"url":"https://git.kernel.org/stable/c/9794ffd9d0c39ee070fbd733f862bbe89b28ba33"},{"url":"https://git.kernel.org/stable/c/f1c5ddaef506e3517dce338c08a60663b1521920"},{"url":"https://git.kernel.org/stable/c/4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0"},{"url":"https://git.kernel.org/stable/c/0ad011776c057ce881b7fd6d8c79ecd459c087e9"},{"url":"https://git.kernel.org/stable/c/165376f6b23e9a779850e750fb2eb06622e5a531"}],"title":"usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-12T15:26:39.430170Z","id":"CVE-2024-35790","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-12T15:26:53.327Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/0ad011776c057ce881b7fd6d8c79ecd459c087e9","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/165376f6b23e9a779850e750fb2eb06622e5a531","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-03T19:29:55.320Z"}}]}}