CVE-2024-35790
Vulnerability Summary
Timeline
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.1•MEDIUM•Score: 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.23%• Percentile: 14%
Techniques & Countermeasures
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
Affected Systems
- debian•linux
< 5.10.244-1 | < 6.1.140-1 | < 6.7.12-1 | < 6.7.12-1
- debian•linux-6.1
< 6.1.140-1~deb11u1
- ubuntu•linux
all | < 5.15.0-144.157
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
all | < 5.15.0-1088.95
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1088.95~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
all
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-fips
all | < 5.15.0-1088.95+fips1
- ubuntu•linux-azure
all | all | < 5.15.0-1094.103
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1094.103~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
all
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | all | all
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fde-6.8
all
- ubuntu•linux-azure-fips
all | < 5.15.0-1094.103+fips1
- ubuntu•linux-bluefield
all | all | < 5.15.0-1072.74
- ubuntu•linux-fips
all | < 5.15.0-144.157+fips1
- ubuntu•linux-gcp
all | all | < 5.15.0-1087.96
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1087.96~20.04.2
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
all
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-fips
all | < 5.15.0-1087.96+fips1
- ubuntu•linux-gke
all | < 5.15.0-1085.91
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
- ubuntu•linux-gkeop
all | < 5.15.0-1070.78
Showing first 50 affected entries in server-rendered view.
References (22)
- https://git.kernel.org/stable/c/6b989ea1c479533ab8dbfbeb1704c94b1d3320da
- https://git.kernel.org/stable/c/9794ffd9d0c39ee070fbd733f862bbe89b28ba33
- https://git.kernel.org/stable/c/f1c5ddaef506e3517dce338c08a60663b1521920
- https://git.kernel.org/stable/c/4a22aeac24d0d5f26ba741408e8b5a4be6dc5dc0
- https://git.kernel.org/stable/c/0ad011776c057ce881b7fd6d8c79ecd459c087e9
- https://git.kernel.org/stable/c/165376f6b23e9a779850e750fb2eb06622e5a531
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html
- https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html
- https://ubuntu.com/security/CVE-2024-35790
- https://www.cve.org/CVERecord?id=CVE-2024-35790
- https://git.kernel.org/linus/165376f6b23e9a779850e750fb2eb06622e5a531
- https://ubuntu.com/security/notices/USN-7654-1
- https://ubuntu.com/security/notices/USN-7654-2
- https://ubuntu.com/security/notices/USN-7654-3
- https://ubuntu.com/security/notices/USN-7655-1
- https://ubuntu.com/security/notices/USN-7654-4
- https://ubuntu.com/security/notices/USN-7654-5
- https://ubuntu.com/security/notices/USN-7686-1
- https://ubuntu.com/security/notices/USN-7711-1
- https://ubuntu.com/security/notices/USN-7712-1
- https://ubuntu.com/security/notices/USN-7712-2
- https://security-tracker.debian.org/tracker/CVE-2024-35790