CVE-2024-35950: drm/client: Fully protect modes[] with dev->mode_config.mutex

Published May 20, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/client: Fully protect modes[] with dev->modeconfig.mutex

The Linux kernel CVE team has assigned CVE-2024-35950 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024052015-CVE-2024-35950-41bf@gregkh/T

Other sources

In the Linux kernel, the following vulnerability has been resolved:

drm/client: Fully protect modes[] with dev->modeconfig.mutex

The modes[] array contains pointers to modes on the connectors' mode lists, which are protected by dev->modeconfig.mutex. Thus we need to extend modes[] the same protection or by the time we use it the elements may already be pointing to freed/reused memory.

NVD

Affected Software

18 affected componentsFixes available
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<5.4.275
5.4.275
redhat/kernel<5.10.216
5.10.216
redhat/kernel<5.15.156
5.15.156
redhat/kernel<6.1.87
6.1.87
redhat/kernel<6.6.28
6.6.28
redhat/kernel<6.8.7
6.8.7
redhat/kernel<6.9
6.9
Linux Linux kernel<5.4.275
Linux Linux kernel>=5.5<5.10.216
Linux Linux kernel>=5.11<5.15.156
Linux Linux kernel>=5.16<6.1.87
Linux Linux kernel>=6.2<6.6.28
Linux Linux kernel>=6.7<6.8.7
Linux Linux kernel=6.9-rc1
Linux Linux kernel=6.9-rc2
Linux Linux kernel=6.9-rc3
Debian Debian Linux=10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.4.275
  3. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.10.216
  4. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.15.156
  5. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.1.87
  6. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.6.28
  7. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8.7
  8. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.9

Event History

May 20, 2024
CVE Published
via MITRE·09:41 AM
Data Sourced
via MITRE·09:41 AM
DescriptionSeverity
Data Sourced
via NVD·10:15 AM
Description
Data Sourced
via NVD·10:15 AM
RemedySeverityAffected Software
Data Sourced
via Red Hat·05:24 PM
DescriptionSeverityAffected Software
Jul 11, 2024
Data Sourced
via Launchpad·07:47 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·12:23 AM
RemedyDescriptionSeverityAffected Software
Dec 29, 58560
Event
via MITRE·10:23 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-35950?

CVE-2024-35950 has been assigned a medium severity rating.

2

How do I fix CVE-2024-35950?

To mitigate CVE-2024-35950, upgrade to the kernel versions 5.4.275, 5.10.216, 5.15.156, 6.1.87, 6.6.28, 6.8.7, or 6.9 as appropriate.

3

Which Linux kernel versions are affected by CVE-2024-35950?

CVE-2024-35950 affects Linux kernel versions prior to 5.4.275, 5.10.216, 5.15.156, 6.1.87, 6.6.28, and 6.9.

4

What is the impact of CVE-2024-35950?

CVE-2024-35950 could potentially allow attackers to exploit weaknesses related to the DRM client modes in the Linux kernel.

5

Is there a workaround for CVE-2024-35950?

There is no specific workaround for CVE-2024-35950; updating to a patched kernel is the recommended solution.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203