CVE-2024-49918

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49918
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49918.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-49918
Downstream
Related
Published
2024-10-21T18:15:14Z
Modified
2025-08-09T19:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

drm/amd/display: Add null check for headpipe in dcn32acquireidlepipeforheadpipein_layer

This commit addresses a potential null pointer dereference issue in the dcn32_acquire_idle_pipe_for_head_pipe_in_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/dcn32/dcn32resource.c:2690 dcn32acquireidlepipeforheadpipeinlayer() error: we previously assumed 'headpipe' could be null (see line 2681)

References

Affected packages