Skip to main content
← All vulnerabilities
CVE-2024-49919

drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.79, 6.10.14, 6.11.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer This commit addresses a potential null pointer dereference issue in the `dcn201_acquire_free_pipe_for_layer` function. The issue could occur when `head_pipe` is null. The fix adds a check to ensure `head_pipe` is not null before asserting it. If `head_pipe` is null, the function returns NULL to prevent a potential null pointer dereference. Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn201/dcn201_resource.c:1016 dcn201_acquire_free_pipe_for_layer() error: we previously assumed 'head_pipe' could be null (see line 1010)

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    Version range not reported

  • Linux Linux

    4.15

  • KernelLinux

    From 4.15.0 · fixed in 6.6.79; From 6.7.0 · fixed in 6.10.14; From 6.11.0 · fixed in 6.11.3

References 5

git.kernel.org