Cloudanix VulnDB

CVE-2024-49971

None

CVSS

—

EPSS

0.2%

Published

Oct 21, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A mistake in the Linux graphics code could let a local attacker damage system memory and potentially gain higher access.

Exploitation
Local Privilege
Attacker needs
Local User
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Buffer Overflow
Remediation
Patch
Effort
Low
Patch risk
Low

What it actually does

Out-of-bounds write due to accessing index 2 of a 2-element dummy_boolean array in dml2_core_shared_mode_support and dml_core_mode_support, causing an OVERRUN on assignment to hw_debug5.

Why it matters to the business

Kernel memory corruption risk in AMD display subsystem on Linux systems may lead to crashes, instability, or potential privilege escalation; widespread impact across distributions requires prioritized patching.

How an attack unfolds

An attacker triggers display mode support calculations in the AMD DRM driver to reach the erroneous array access, resulting in memory corruption that could be leveraged for further attacks.

How to fix it

Upgrade to Linux kernel 6.11.3 or apply the git fix commit e9e48b7bb9cf3b78f0305ef0144aaf61da0a83d8; for Rocky Linux 8 nginx package use 1:1.16.1-2.module+el8.4.0+543+efbf198b.1 or newer equivalent.

How to confirm the fix worked

Confirm kernel version >= 6.11.3; verify presence of the array size increase to 3 in drm/amd/display code and absence of Coverity OVERRUN reports.

Typical attack path

  1. Gain local execution context on affected Linux kernel
  2. Invoke AMD display driver mode support functions
  3. Trigger access to dummy_boolean[2] causing overrun
  4. Exploit resulting memory corruption

How to detect it

Search kernel logs and crash dumps for AMD display driver faults around dml mode support calls; check for unexpected memory access violations in drm/amd/display.

What your security team should do

  • Apply kernel updates to 6.11.3 or later immediately
  • Prioritize systems with AMD GPUs running vulnerable kernels
  • Monitor for post-patch stability in display subsystem
  • Review logs for prior display-related crashes

The record

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Increase array size of dummy_boolean [WHY] dml2_core_shared_mode_support and dml_core_mode_support access the third element of dummy_boolean, i.e. hw_debug5 = &s->dummy_boolean[2], when dummy_boolean has size of 2. Any assignment to hw_debug5 causes an OVERRUN. [HOW] Increase dummy_boolean's array size to 3. This fixes 2 OVERRUN issues reported by Coverity.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix
Debian:13 linux 0 6.11.4-1
Linux Kernel 6.11.0 6.11.3
Ubuntu:24.10 linux 0 6.11.0-18.18
Ubuntu:24.10 linux-aws 0 6.11.0-1009.10
Ubuntu:24.10 linux-azure 0 6.11.0-1009.9
Ubuntu:24.10 linux-gcp 0 6.11.0-1009.9
Ubuntu:24.10 linux-lowlatency 0 6.11.0-1010.11
Ubuntu:24.10 linux-oracle 0 6.11.0-1011.12
Ubuntu:24.10 linux-raspi 0 6.11.0-1008.8
Ubuntu:24.10 linux-realtime 0 6.11.0-1005.5
openSUSE:Tumbleweed kernel-source 0 6.11.8-1.1
openSUSE:Tumbleweed kernel-source-longterm 0 6.12.11-1.1

Related vulnerabilities