CVE-2024-50201

drm/radeon: Fix encoder->possible_clones

State
Published
Severity
5.5 Medium
Published
Nov 8, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/radeon: Fix encoder->possible_clones

Include the encoder itself in its possible_clones bitmask. In the past nothing validated that drivers were populating possible_clones correctly, but that changed in commit 74d2aacbe840 ("drm: Validate encoder->possible_clones"). Looks like radeon never got the memo and is still not following the rules 100% correctly.

This results in some warnings during driver initialization: Bogus possible_clones: [ENCODER:46:TV-46] possible_clones=0x4 (full encoder mask=0x7) WARNING: CPU: 0 PID: 170 at drivers/gpu/drm/drm_mode_config.c:615 drm_mode_config_validate+0x113/0x39c ...

(cherry picked from commit 3b6e7d40649c0d75572039aff9d0911864c689db)

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before df75c78bfeff99f9b4815c3e79e2b1b1e34fe264Affected
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before fda5dc80121b12871dc343ab37e0c3f0d138825dAffected
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before c3cd27d85f0778f4ec07384d7516b33153759b8eAffected
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before 1a235af0216411a32ab4db54f7bd19020b46c86dAffected
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before 68801730ebb9393460b30cd3885e407f15da27a9Affected
  • 74d2aacbe84042d89f572a3112a146fca05bfcb1 to before 28127dba64d8ae1a0b737b973d6d029908599611Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.10.228 through 5.10.*Not affected
  • 5.15.169 through 5.15.*Not affected
  • 6.1.114 through 6.1.*Not affected
  • 6.6.58 through 6.6.*Not affected
  • 6.11.5 through 6.11.*Not affected
  • 6.12 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.