CVE-2024-35950

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

MEDIUM
5.5
CVSS Score
Published: May 20, 2024 at 09:41 AM UTC
Updated: October 15, 2026 at 01:17 AM UTC
3 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2755.11 ≤ v < 5.15.1565.16 ≤ v < 6.1.875.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.286.7 ≤ v < 6.8.76.96.9 rc16.9 rc26.9 rc3e13a058310509b22b2b45cbdd82d8797e173c3db
Vendor states this is fixed in 04e018bd913d3d3336ab7d21c2ad31a9175fe984 (fixed)
Vendor states this is fixed in 18c8cc6680ce938d0458859b6a08b4d34f7d8055 (fixed)
Vendor states this is fixed in 3eadd887dbac1df8f25f701e5d404d1b90fd0fea (fixed)
Vendor states this is fixed in 41586487769eede64ab1aa6c65c74cbf76c12ef0 (fixed)
Vendor states this is fixed in 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e (fixed)
Vendor states this is fixed in 8ceb873d816786a7c8058f50d903574aff8d3764 (fixed)
Vendor states this is fixed in d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949 (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.156 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.87 (unaffected)
Vendor states this is fixed in 6.6.28 (unaffected)
Vendor states this is fixed in 6.8.7 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949
Mailing ListThird Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card