CVE-2024-49912

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
May 11, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

Description

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

drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'

This commit adds a null check for 'stream_status' in the function 'planes_changed_for_existing_stream'. Previously, the code assumed 'stream_status' could be null, but did not handle the case where it was actually null. This could lead to a null pointer dereference.

Reported by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:3784 planes_changed_for_existing_stream() error: we previously assumed 'stream_status' could be null (see line 3774)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before c4b699b93496c423b0e5b584d4eb4ab849313bcfAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 4778982c73d6c9f3fdbdbc6b6c8aa18df98251afAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before ec6c32b58e6c4e87760e797c525e99a460c82bcbAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 0ffd9fb03bbc99ed1eb5dc989d5c7da2faac0659Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 8141f21b941710ecebe49220b69822cab3abd23dAffected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 6.1.113 through 6.1.*Not affected
  • 6.6.55 through 6.6.*Not affected
  • 6.10.14 through 6.10.*Not affected
  • 6.11.3 through 6.11.*Not affected
  • 6.12 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.