CVE-2024-35950

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

State
Published
Severity
7.8 High
Published
May 20, 2024
Updated
Oct 15, 2026
Reserved
May 17, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 5a2f957e3c4553bbb100504a1acfeaeb33f4ca4eAffected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 41586487769eede64ab1aa6c65c74cbf76c12ef0Affected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before d2dc6600d4e3e1453e3b1fb233e9f97e2a1ae949Affected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 18c8cc6680ce938d0458859b6a08b4d34f7d8055Affected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 04e018bd913d3d3336ab7d21c2ad31a9175fe984Affected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 8ceb873d816786a7c8058f50d903574aff8d3764Affected
  • e13a058310509b22b2b45cbdd82d8797e173c3db to before 3eadd887dbac1df8f25f701e5d404d1b90fd0feaAffected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.4.275 through 5.4.*Not affected
  • 5.10.216 through 5.10.*Not affected
  • 5.15.156 through 5.15.*Not affected
  • 6.1.87 through 6.1.*Not affected
  • 6.6.28 through 6.6.*Not affected
  • 6.8.7 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.