PoC Monitor
← All CVEs
CVE-2025-40354published 16 Dec 2025 13:30 UTCData: JSON · API

Linux

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

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)

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < f28092be4e12b7df9e4f415d25bf0d767bc2d9ed
  • >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < a3fc0d36cfb927f8986b83bf5fba47dbedad3c63
  • >= 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < bec947cbe9a65783adb475a5fb47980d7b4f4796

Fixed in f28092be4e12b7df9e4f415d25bf0d767bc2d9ed, a3fc0d36cfb927f8986b83bf5fba47dbedad3c63, bec947cbe9a65783adb475a5fb47980d7b4f4796

Linux Linux
  • 4.15

Fixed in 0, 6.12.56, 6.17.6, 6.18

Mitigation

Upgrade Linux to f28092be4e12b7df9e4f415d25bf0d767bc2d9ed or a3fc0d36cfb927f8986b83bf5fba47dbedad3c63 or bec947cbe9a65783adb475a5fb47980d7b4f4796 or later.

Upgrade Linux to 0 or 6.12.56 or 6.17.6 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published16 Dec 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.