---
id: CVE-2024-35950
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

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

  The modes[] array contains pointers to modes on the connectors'
  mode lists, which are protected by dev->m…
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

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

  The modes[] array contains pointers to modes on the connectors'
  mode lists, which are protected by dev->m…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.4.275
  - 'linux_kernel >= 5.5, < 5.10.216'
  - 'linux_kernel >= 5.11, < 5.15.156'
  - 'linux_kernel >= 5.16, < 6.1.87'
  - 'linux_kernel >= 6.2, < 6.6.28'
  - 'linux_kernel >= 6.7, < 6.8.7'
  - linux_kernel = 6.9
  - debian_linux = 10.0
patched:
  - linux_kernel 6.8.7
published: '2024-05-20'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:17:54.920'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-35950'
references:
  - url: 'https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00259
epssPercentile: 0.17442
ingestedAt: '2026-10-15T03:30:12.691Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2024-05-20T15:10:23.377799Z'
---

## Overview

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

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

The modes[] array contains pointers to modes on the connectors'
mode lists, which are protected by dev->mode_config.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.

## Affected

- `linux_kernel < 5.4.275`
- `linux_kernel >= 5.5, < 5.10.216`
- `linux_kernel >= 5.11, < 5.15.156`
- `linux_kernel >= 5.16, < 6.1.87`
- `linux_kernel >= 6.2, < 6.6.28`
- `linux_kernel >= 6.7, < 6.8.7`
- `linux_kernel = 6.9`
- `debian_linux = 10.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.8.7`
