CVE-2025-40354

published 16 Dec 2025 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel a3fc0d36cfb927f8986b83bf5fba47dbedad3c63, Kernel bec947cbe9a65783adb475a5fb47980d7b4f4796 and Kernel f28092be4e12b7df9e4f415d25bf0d767bc2d9ed.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <a3fc0d36cfb927f8986b83bf5fba47dbedad3c63, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <bec947cbe9a65783adb475a5fb47980d7b4f4796, >=4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c <f28092be4e12b7df9e4f415d25bf0d767bc2d9eda3fc0d36cfb927f8986b83bf5fba47dbedad3c63, bec947cbe9a65783adb475a5fb47980d7b4f4796, f28092be4e12b7df9e4f415d25bf0d767bc2d9ed

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40354 severity on Zeptric[![CVE-2025-40354](https://zeptric.io/badge/cve/CVE-2025-40354.svg)](https://zeptric.io/cve/CVE-2025-40354)