What’s Vulnerable › Vulnerabilities
CVE-2024-26647: drm/amd/display: Fix late derefrence 'dsc' check in 'link_set_dsc_pps_packet()'
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-03-26 · updated 2026-06-17
- Weakness: CWE-476
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)
Affected products
- Linux kernel: before 6.6.15; from 6.7 before 6.7.3 — fixed in 6.6.15, 6.7.3
How to fix
Upgrade to a fixed version: Linux kernel 6.6.15, 6.7.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3bb9b1f958c3d986ed90a3ff009f1e77e9553207
- https://git.kernel.org/stable/c/6aa5ede6665122f4c8abce3c6eba06b49e54d25c
- https://git.kernel.org/stable/c/cf656fc7276e5b3709a81bc9d9639459be2b2647
- https://git.kernel.org/stable/c/3bb9b1f958c3d986ed90a3ff009f1e77e9553207
- https://git.kernel.org/stable/c/6aa5ede6665122f4c8abce3c6eba06b49e54d25c
- https://git.kernel.org/stable/c/cf656fc7276e5b3709a81bc9d9639459be2b2647
Get alerted when CVE-2024-26647 or the next vulnerability affects your stack