drm/client: Fully protect modes[] with dev->mode_config.mutex
Summary
| CVE | CVE-2024-35950 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-20 10:15:10 UTC |
| Updated | 2026-05-12 12:16:42 UTC |
| 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. |
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
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.