CVE-2024-26647

drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'

State
Published
Severity
Not scored
Published
Mar 26, 2024
Updated
May 11, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

Description

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

drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'

In link_set_dsc_pps_packet(), 'struct display_stream_compressor *dsc' was dereferenced in a DC_LOGGER_INIT(dsc->ctx->logger); before the 'dsc' NULL pointer check.

Fixes the below: drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_dpms.c:905 link_set_dsc_pps_packet() warn: variable dereferenced before check 'dsc' (see line 903)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6ca7415f11af5200ab10bd420b513f846e9bfb99 to before 6aa5ede6665122f4c8abce3c6eba06b49e54d25cAffected
  • 6ca7415f11af5200ab10bd420b513f846e9bfb99 to before cf656fc7276e5b3709a81bc9d9639459be2b2647Affected
  • 6ca7415f11af5200ab10bd420b513f846e9bfb99 to before 3bb9b1f958c3d986ed90a3ff009f1e77e9553207Affected
LinuxLinux
  • 6.3Affected
  • before 6.3Not affected
  • 6.6.15 through 6.6.*Not affected
  • 6.7.3 through 6.7.*Not affected
  • 6.8 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.