drm/client: Fully protect modes[] with dev->mode_config.mutex
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e13a058310509b22b2b45cbdd82d8797e173c3db · < 8ceb873d816786a7c8058f50d903574aff8d3764| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel DRM client does not fully protect its modes[] array with dev->mode_config.mutex. Connector mode changes can leave the array pointing to freed or reused memory when its entries are used. The input does not specify attacker capabilities, authentication requirements, or user interaction.
Engineers running the Linux kernel should check their affected versions; no version range is provided.