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

Summary

CVECVE-2024-35950
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-05-20 10:15:10 UTC
Updated2026-05-12 12:16:42 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: NVD-CWE-noinfo

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 41586487769eede64ab1aa6c65c74cbf76c12ef0 git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949 git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 18c8cc6680ce938d0458859b6a08b4d34f7d8055 git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 04e018bd913d3d3336ab7d21c2ad31a9175fe984 git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 8ceb873d816786a7c8058f50d903574aff8d3764 git Not specified
CNA Linux Linux affected e13a058310509b22b2b45cbdd82d8797e173c3db 3eadd887dbac1df8f25f701e5d404d1b90fd0fea git Not specified
CNA Linux Linux affected 4.14 Not specified
CNA Linux Linux unaffected 4.14 semver Not specified
CNA Linux Linux unaffected 5.4.275 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.216 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.156 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.87 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.28 6.6.* semver Not specified
CNA Linux Linux unaffected 6.8.7 6.8.* semver Not specified
CNA Linux Linux unaffected 6.9 * original_commit_for_fix Not specified
ADP Siemens SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem affected * custom Not specified

References

ReferenceSourceLinkTags
lists.debian.org/debian-lts-announce/2024/06/msg00017.html af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
git.kernel.org/stable/c/18c8cc6680ce938d0458859b6a08b4d34f7d8055 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
cert-portal.siemens.com/productcert/html/ssa-265688.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.kernel.org/stable/c/3eadd887dbac1df8f25f701e5d404d1b90fd0fea af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/5a2f957e3c4553bbb100504a1acfeaeb33f4ca4e af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/8ceb873d816786a7c8058f50d903574aff8d3764 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/04e018bd913d3d3336ab7d21c2ad31a9175fe984 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
git.kernel.org/stable/c/41586487769eede64ab1aa6c65c74cbf76c12ef0 af854a3a-2127-422b-91ae-364da2661108 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report