# CVE-2024-26647: drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2024-03-26T17:50:01.057Z
- Modified: 2026-06-17T07:17:59.860Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 6ca7415f11af5200ab10bd420b513f846e9bfb99 before 6aa5ede6665122f4c8abce3c6eba06b49e54d25c; from 6ca7415f11af5200ab10bd420b513f846e9bfb99 before cf656fc7276e5b3709a81bc9d9639459be2b2647; from 6ca7415f11af5200ab10bd420b513f846e9bfb99 before 3bb9b1f958c3d986ed90a3ff009f1e77e9553207; 6.3 (not affected: before 6.3; from 6.6.15 up to 6.6.*; from 6.7.3 up to 6.7.*; from 6.8 up to *)
- linux linux_kernel: before 6.6.15; from 6.7 before 6.7.3

## References

- <https://git.kernel.org/stable/c/6aa5ede6665122f4c8abce3c6eba06b49e54d25c> (patch)
- <https://git.kernel.org/stable/c/cf656fc7276e5b3709a81bc9d9639459be2b2647> (patch)
- <https://git.kernel.org/stable/c/3bb9b1f958c3d986ed90a3ff009f1e77e9553207> (patch)

## Sources

- CVE List: [CVE-2024-26647](https://www.cve.org/CVERecord?id=CVE-2024-26647), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-26647](https://nvd.nist.gov/vuln/detail/CVE-2024-26647), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-26647 · Whole record: https://cve.day/CVE-2024-26647.json · Rebuilt by cve.day 2026-11-25T22:58:37.918Z
