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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **Published:** 2024-05-20T09:41:45.333Z
- **Modified:** 2026-10-15T01:17:54.920Z

## Who should check

- Anyone running Linux \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 41586487769eede64ab1aa6c65c74cbf76c12ef0; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 18c8cc6680ce938d0458859b6a08b4d34f7d8055; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 04e018bd913d3d3336ab7d21c2ad31a9175fe984; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 8ceb873d816786a7c8058f50d903574aff8d3764; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 3eadd887dbac1df8f25f701e5d404d1b90fd0fea
- Anyone running Linux 4.14

## 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.

## Affected and fixed versions

- Linux: \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 41586487769eede64ab1aa6c65c74cbf76c12ef0; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 18c8cc6680ce938d0458859b6a08b4d34f7d8055; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 04e018bd913d3d3336ab7d21c2ad31a9175fe984; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 8ceb873d816786a7c8058f50d903574aff8d3764; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 3eadd887dbac1df8f25f701e5d404d1b90fd0fea (cvelist)
- Linux: 4.14 (cvelist)

## Mitigation

- Upgrade Linux to 3eadd887dbac1df8f25f701e5d404d1b90fd0fea or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-35950. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35950.md
Affected: Linux >= e13a058310509b22b2b45cbdd82d8797e173c3db, < 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; >= e13a058310509b22b2b45cbdd82d8797e173c3db, < 41586487769eede64ab1aa6c65c74cbf76c12ef0; >= e13a058310509b22b2b45cbdd82d8797e173c3db, < d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; >= e13a058310509b22b2b45cb…
Fixed in: Linux 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e, Linux 41586487769eede64ab1aa6c65c74cbf76c12ef0, Linux 18c8cc6680ce938d0458859b6a08b4d34f7d8055, Linux 04e018bd913d3d3336ab7d21c2ad31a9175fe984, Linux 8ceb873d816786a7c8058f50d903574aff8d3764, Linux 3eadd887dbac1df8f25f701e5d404d1b90fd0fea

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-35950 being exploited?

There is no confirmed exploitation: CVE-2024-35950 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-35950?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-35950?

Linux \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 41586487769eede64ab1aa6c65c74cbf76c12ef0; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 18c8cc6680ce938d0458859b6a08b4d34f7d8055; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 04e018bd913d3d3336ab7d21c2ad31a9175fe984; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 8ceb873d816786a7c8058f50d903574aff8d3764; \>= e13a058310509b22b2b45cbdd82d8797e173c3db, \< 3eadd887dbac1df8f25f701e5d404d1b90fd0fea; Linux 4.14.

### Is there a fix for CVE-2024-35950?

Yes. Fixed in Linux 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e, Linux 41586487769eede64ab1aa6c65c74cbf76c12ef0, Linux 18c8cc6680ce938d0458859b6a08b4d34f7d8055, Linux 04e018bd913d3d3336ab7d21c2ad31a9175fe984, Linux 8ceb873d816786a7c8058f50d903574aff8d3764, Linux 3eadd887dbac1df8f25f701e5d404d1b90fd0fea. Upgrade Linux to 3eadd887dbac1df8f25f701e5d404d1b90fd0fea or later.

### How do I check if I'm affected by CVE-2024-35950?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-35950>

HTML: <https://flawdb.com/CVE-2024-35950> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-35950>
