7.8

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

Deferred
AliasesUBUNTU-CVE-2025-40354DEBIAN-CVE-2025-40354
Published 16-12-2025Last modified 05-08-2026

Vulnerability summary

CVE-2025-40354 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.15%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 14

Timeline

  1. 16-12-2025
    PublishedVulnerability first disclosed.
  2. 05-08-2026
    Last modifiedVulnerability information updated.

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)

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.15%

Chance of exploitation in the next 30 days

Percentile

4%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.15% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu155 products
  • linuxAll versions (No fix recorded) | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < f28092be4e12b7df9e4f415d25bf0d767bc2d9ed | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < a3fc0d36cfb927f8986b83bf5fba47dbedad3c63 | ≥ 4562236b3bc0a28aeb6ee93b2d8a849a4c4e1c7c, < bec947cbe9a65783adb475a5fb47980d7b4f4796 | 4.15

3 vendors · 157 products

References

13 links
Show all 13 references