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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-05-20T09:41:45.333Z
- Modified: 2026-10-15T01:17:54.920Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e13a058310509b22b2b45cbdd82d8797e173c3db before 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; from e13a058310509b22b2b45cbdd82d8797e173c3db before 41586487769eede64ab1aa6c65c74cbf76c12ef0; from e13a058310509b22b2b45cbdd82d8797e173c3db before d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; from e13a058310509b22b2b45cbdd82d8797e173c3db before 18c8cc6680ce938d0458859b6a08b4d34f7d8055; from e13a058310509b22b2b45cbdd82d8797e173c3db before 04e018bd913d3d3336ab7d21c2ad31a9175fe984; from e13a058310509b22b2b45cbdd82d8797e173c3db before 8ceb873d816786a7c8058f50d903574aff8d3764; from e13a058310509b22b2b45cbdd82d8797e173c3db before 3eadd887dbac1df8f25f701e5d404d1b90fd0fea; 4.14 (not affected: before 4.14; from 5.4.275 up to 5.4.*; from 5.10.216 up to 5.10.*; from 5.15.156 up to 5.15.*; from 6.1.87 up to 6.1.*; from 6.6.28 up to 6.6.*; from 6.8.7 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: before 5.4.275; from 5.5 before 5.10.216; from 5.11 before 5.15.156; from 5.16 before 6.1.87; from 6.2 before 6.6.28; from 6.7 before 6.8.7; 6.9
- debian debian_linux: 10.0

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e> (patch)
- <https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0> (patch)
- <https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949> (patch)
- <https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055> (patch)
- <https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984> (patch)
- <https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764> (patch)
- <https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea> (patch)
- <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2024-35950](https://www.cve.org/CVERecord?id=CVE-2024-35950), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-35950](https://nvd.nist.gov/vuln/detail/CVE-2024-35950), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-35950 · Whole record: https://cve.day/CVE-2024-35950.json · Rebuilt by cve.day 2026-11-25T22:58:40.632Z
