Skip to main content
EPSS 0.1%top 96%

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: increase max link count and fix link->enc NULL pointer access… (CVE-2025-40354)

0
High
Published: 12/16/2025 (12/16/2025, 15:30:43 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's AMD display driver (drm/amd/display) was resolved by increasing the maximum link count and fixing a NULL pointer access related to link->enc. The issue involved an array size smaller than required and a null pointer dereference during hardware initialization for certain display endpoints.

CVSS v3.1

Score 7.8high

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:53:36 UTC

Technical Analysis

CVE-2025-40354 addresses a flaw in the Linux kernel's AMD display driver where the dc->links array size was insufficient to handle the actual number of requested links, leading to potential out-of-bounds conditions. Additionally, the hardware initialization function (hw_init) could access a NULL LINK_ENC pointer for dpia non-display endpoints, causing a NULL pointer dereference. The fix involved increasing the maximum link count from 12 to 14 and correcting the pointer access to prevent null dereference.

Potential Impact

The vulnerability has a high severity rating with a CVSS 3.1 vector indicating local attack vector, low attack complexity, low privileges required, no user interaction, and impacts confidentiality, integrity, and availability. Exploitation could lead to system compromise or denial of service due to NULL pointer dereference in kernel space.

Mitigation Recommendations

A fix has been applied in the Linux kernel source code as indicated by the referenced commit. Users should update to the patched kernel version containing this fix. Since this is not a cloud service, remediation depends on applying the official kernel update. Patch status is not explicitly confirmed in the provided data; users should consult the Linux kernel vendor advisory or distribution security updates for the official patch availability and apply it accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-4hhj-gxrr-2grg
Osv Schema Version
1.4.0
Aliases
["CVE-2025-40354"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a6b72d49c2644c7f8478f28

Added to database: 07/30/2026, 15:50:44 UTC

Last enriched: 07/30/2026, 17:53:36 UTC

Last updated: 09/10/2026, 19:26:52 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses