Cloudanix VulnDB

CVE-2024-49916

None

CVSS

—

EPSS

0.2%

Published

Oct 21, 2024

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in the Linux graphics driver for certain AMD hardware could cause computers to crash if a required piece of information is missing during startup.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Null pointer dereference in dcn401_init_hw when dc->clk_mgr or dc->clk_mgr->funcs is null before function pointer access.

Why it matters to the business

Potential system instability or crash on affected AMD graphics hardware running vulnerable Linux kernels, disrupting user sessions and workloads until patched.

How an attack unfolds

An attacker with local access crafts conditions during display hardware initialization that leave clk_mgr uninitialized, triggering the dereference and resulting in a kernel panic or denial of service; listed threat actors have targeted similar kernel resource issues in broader campaigns.

How to fix it

Apply the fix from commit ac1c41e318074d8a9ea925787e366be15d7645e8 or upgrade to a kernel containing the patch; affected packages such as vinagre on Rocky Linux 8 should be updated to 3.22.0-23.el8 or later.

How to confirm the fix worked

Confirm the presence of the NULL check for clk_mgr and clk_mgr->funcs in dcn401_hwseq.c around line 416; recompile and test initialization paths under conditions that previously assumed non-null values.

Typical attack path

  1. Obtain local access on a Linux system with AMD display hardware using the dcn401 code path.
  2. Trigger display driver initialization or mode-setting operations that reach dcn401_init_hw with clk_mgr unset.
  3. Cause the unchecked access to clk_mgr->funcs, resulting in a null dereference and kernel fault.

How to detect it

Review kernel logs for null pointer dereference oops messages referencing dcn401_init_hw or clk_mgr; correlate with display driver load events in dmesg or journalctl on systems running vulnerable kernels.

What your security team should do

  • Prioritize kernel updates on all AMD-based Linux systems within standard patch windows given low EPSS but broad kernel exposure.
  • Monitor for related kernel oops reports in system logs after applying changes.
  • Review downstream dependents of the stable Linux GIT repository for coordinated updates.

The record

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn401_init_hw This commit addresses a potential null pointer dereference issue in the `dcn401_init_hw` function. The issue could occur when `dc->clk_mgr` or `dc->clk_mgr->funcs` is null. The fix adds a check to ensure `dc->clk_mgr` and `dc->clk_mgr->funcs` is not null before accessing its functions. This prevents a potential null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c:416 dcn401_init_hw() error: we previously assumed 'dc->clk_mgr' could be null (see line 225)

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix
Linux Kernel 4.15.0 6.11.3
Ubuntu:24.04:LTS linux-oem-6.11 0 6.11.0-1010.10
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