CVE-2024-49920

drm/amd/display: Check null pointers before multiple uses

State
Published
Severity
Not scored
Published
Oct 21, 2024
Updated
Oct 30, 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: Check null pointers before multiple uses

[WHAT & HOW] Poniters, such as stream_enc and dc->bw_vbios, are null checked previously in the same function, so Coverity warns "implies that stream_enc and dc->bw_vbios might be null". They are used multiple times in the subsequent code and need to be checked.

This fixes 10 FORWARD_NULL issues reported by Coverity.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 7dc67992b35bc11895149b4261c4ad745312a18dAffected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 4f51f6d23c5856f105110531f81d84e78e462005Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before 26787fb6c2b2ee0d1a7e1574b36f4711ae40fe27Affected
  • 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c to before fdd5ecbbff751c3b9061d8ebb08e5c96119915b4Affected
LinuxLinux
  • 4.15Affected
  • before 4.15Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*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.