CVE-2025-40354: Linux kernel · drm/amd/display: increase max link count and fix link->enc NULL pointer access
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 6.17.0-1007.7~24.04.1 : patch Linux kernel soon.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.17.0-1007.7~24.04.1, 6.17.0-1008.8~24.04.1, 6.17.0-1008.8 +7
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied by updating to Linux kernel versions 6.17.0-1007.7~24.04.1 or later as provided by the vendor. The Ubuntu security advisory USN-8029-1 confirms that this and other kernel vulnerabilities have been fixed. Users should apply these official updates to remediate the issue.
Description
A vulnerability in the Linux kernel's AMD display driver was resolved by increasing the maximum link count and fixing a NULL pointer access in the link->enc field. The issue involved the dc->links array size being smaller than needed and a null pointer dereference during hardware initialization. This flaw was addressed in kernel versions 6.17.0-1007.7~24.04.1 and later. The vulnerability has a CVSS score of 7.8, indicating a high impact on confidentiality, integrity, and availability. A patch is available and included in official Linux kernel updates.
References
- ubuntu.com/security/CVE-2025-40354 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-40354 (opens in a new tab)
- git.kernel.org/linus/bec947cbe9a65783adb475a5fb47980d7b4f4796 (opens in a new tab)
- git.kernel.org/stable/c/a3fc0d36cfb927f8986b83bf5fba47dbedad3c63 (opens in a new tab)
- git.kernel.org/stable/c/bec947cbe9a65783adb475a5fb47980d7b4f4796 (opens in a new tab)
- git.kernel.org/stable/c/f28092be4e12b7df9e4f415d25bf0d767bc2d9ed (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8030-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8048-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8029-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8781-1 (opens in a new tab)