CVE-2025-40354
JSON

7.8high

drm/amd/display: increase max link count and fix link->enc NULL pointer access

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: increase max link count and fix link->enc NULL pointer access [why] 1.) dc->links[MAX_LINKS] array size smaller than actual requested. max_connector + max_dpia + 4 virtual = 14. increase from 12 to 14. 2.) hw_init() access null LINK_ENC for dpia non display_endpoint. (cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)

Affected

Product or packageVersionsReported by
Linux Linuxfrom 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before f28092be4e12b7df9e4f415d25bf0d767bc2d9ed, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before a3fc0d36cfb927f8986b83bf5fba47dbedad3c63, from 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c before bec947cbe9a65783adb475a5fb47980d7b4f4796, 4.15
Not affected: before 4.15, from 6.12.56 up to 6.12.*, from 6.17.6 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: increase max link count and fix link->enc NULL pointer access [why] 1.) dc->links[MAX_LINKS] array size smaller than actual requested. max_connector + max_dpia + 4 virtual = 14. increase from 12 to 14. 2.) hw_init() access null LINK_ENC for dpia non display_endpoint. (cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: drm/amd/display: incrementar el conteo máximo de enlaces y corregir el acceso de puntero nulo a link -> enc [por qué] 1.) Tamaño de array dc -> links[MAX_LINKS] menor que el realmente solicitado. max_connector + max_dpia + 4 virtuales = 14. aumento de 12 a 14. 2.) Acceso de hw_init() a LINK_ENC nulo para dpia no display_endpoint. (extraído del commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40354 changed 2026-08-05CVE Terms of Use
NVDCVE-2025-40354 changed 2026-10-14Public domain