CVE-2024-50201 drm/radeon: Fix encoder->possible_clones
A bug in the Radeon DRM driver causes kernel warnings during initialization due to incorrect encoder clone bitmask validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-50201?
CVE-2024-50201 is a medium-severity vulnerability in Linux kernel, published on 8 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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)
Which versions are affected by CVE-2024-50201?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-50201?
Apply the vendor's patch.
Is CVE-2024-50201 being exploited?
There is no known exploitation of CVE-2024-50201 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-53310, AZL-53364, BELL-CVE-2024-50201, DEBIAN-CVE-2024-50201, GHSA-vfhj-c5g9-3c9h, UBUNTU-CVE-2024-50201.