CWE
476
EPSS
0.045%
Advisory Published
Updated

CVE-2024-35790: usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group

First published: Fri May 17 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
redhat/kernel<6.6.24
6.6.24
redhat/kernel<6.7.12
6.7.12
redhat/kernel<6.8
6.8
Linux Kernel>=4.19<6.6.24
Linux Kernel>=6.7<6.7.12
Linux Kernel=6.8-rc1
Linux Kernel=6.8-rc2
Linux Kernel=6.8-rc3
Linux Kernel=6.8-rc4
Linux Kernel=6.8-rc5
Linux Kernel=6.8-rc6
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-35790?

    CVE-2024-35790 has a severity rating that necessitates attention due to the potential impact on the Linux kernel's handling of sysfs nodes.

  • How do I fix CVE-2024-35790?

    To fix CVE-2024-35790, upgrade the Linux kernel to version 6.6.24, 6.7.12, or 6.8 as appropriate for your system.

  • What versions of the Linux kernel are affected by CVE-2024-35790?

    CVE-2024-35790 affects Linux kernel versions from 4.19 up to but not including 6.6.24, and 6.7.0 to 6.7.12.

  • Is there a workaround for CVE-2024-35790?

    There are no documented workarounds for CVE-2024-35790; applying the provided updates is the recommended course of action.

  • Which products may be impacted by CVE-2024-35790?

    CVE-2024-35790 may impact products including IBM Security Verify Governance and associated components.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203