CVE-2026-43337

drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()

State
Published
Severity
Not scored
Published
May 8, 2026
Updated
Oct 21, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

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

drm/amd/display: Fix NULL pointer dereference in dcn401_init_hw()

dcn401_init_hw() assumes that update_bw_bounding_box() is valid when entering the update path. However, the existing condition:

((!fams2_enable && update_bw_bounding_box) || freq_changed)

does not guarantee this, as the freq_changed branch can evaluate to true independently of the callback pointer.

This can result in calling update_bw_bounding_box() when it is NULL.

Fix this by separating the update condition from the pointer checks and ensuring the callback, dc->clk_mgr, and bw_params are validated before use.

Fixes the below: ../dc/hwss/dcn401/dcn401_hwseq.c:367 dcn401_init_hw() error: we previously assumed 'dc->res_pool->funcs->update_bw_bounding_box' could be null (see line 362)

(cherry picked from commit 86117c5ab42f21562fedb0a64bffea3ee5fcd477)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4 to before fcc51c81cb472eb460310c477460356dc4845ff7Affected
  • ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4 to before 10c13c111d0d7f8e101c742feff264fc98e3f9f7Affected
  • ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4 to before 2d4a6f0702c5211e0be8b688c5fc24f082ec74d6Affected
  • ca0fb243c3bb53dbbd71d16c76f319bf923ee3d4 to before e927b36ae18b66b49219eaa9f46edc7b4fdbb25eAffected
  • e13689793b9c0e7b5749954e77f5f85e68fe7138Affected
  • 6.11.3 to before 6.12Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 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.