Skip to main content

Linux Kernel CVE-2025-38391

MEDIUM
Out-of-bounds Read (CWE-125)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attach malicious USB-C DisplayPort partner
  2. Delivery
    Device advertises pin assignment above DP_PIN_ASSIGN_F
  3. Exploit
    Read pin_assignment sysfs attribute
  4. Execution
    Out-of-bounds array index in pin_assignment_show
  5. Impact
    BRK exception crashes kernel (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK

1 technique across 1 tactic: Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a USB-C DisplayPort Alt Mode port partner (a connected display/dock/dongle) that reports pin-assignment capabilities exceeding the maximum DP_PIN_ASSIGN_F, combined with a local read of the driver's pin_assignment sysfs attribute, which invokes the vulnerable pin_assignment_show loop. Limiting factors: the attacker must supply or induce the non-compliant/malicious hardware partner (not present in normal compliant hardware), must have local access to read the sysfs node, and is confined to the altmodes/displayport typec driver being active - i.e. a system with USB-C DisplayPort Alt Mode support. Per the CVSS vector (PR:L) this is an authenticated local user; impact is a kernel crash only, with no confidentiality or integrity effect.

Impact

All signals point to a genuinely low-priority, local-only availability bug rather than an urgent threat. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) describes a locally-reachable issue requiring an already-authenticated low-privileged user, with impact confined to availability (C:N/I:N/A:H) - i.e. a kernel crash, not data exposure or code execution. EPSS reinforces this: 0.21% probability at the 11th percentile indicates very low expected exploitation. There is no CISA KEV listing (not actively exploited) and no PoC or exploit reference in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' The vendor-assigned priority is 'this_month,' consistent with a routine hardening fix rather than act_now/emergency. One cross-source conflict should be noted explicitly: the input Tags include 'Information Disclosure,' but the CVSS vector sets C:N (no confidentiality impact) and the description states the effect is a BRK exception from out-of-bounds array access - i.e. a crash/denial-of-service, not disclosure; the availability-only impact should be treated as authoritative over the tag. CWE-125 (out-of-bounds read) is accurate for the mechanism, but here the read terminates in a fault rather than leaking memory contents.

Exploit ScenarioDerived

A local authenticated user attaches a poorly implemented or deliberately malicious USB-C DisplayPort Alt Mode port partner that advertises a pin-assignment capability value greater than DP_PIN_ASSIGN_F, then reads the pin_assignment sysfs attribute. The pin_assignment_show loop indexes past the end of the pin_assignments array, triggering a BRK exception and crashing the kernel (denial of service). No public exploit identified at time of analysis; the attack requires physical attachment of the rogue device plus local read access to sysfs.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

A kernel crash (BRK exception) in the Linux kernel's USB Type-C DisplayPort Alt Mode driver results from an out-of-bounds read when a connected port partner advertises pin-assignment capabilities beyond DP_PIN_ASSIGN_F and the pin_assignment_show sysfs attribute is read. The assessed vector requires physical access to attach the malicious or non-compliant USB-C DisplayPort Alt Mode partner and local authenticated access to read that sysfs node; impact is availability-only, with no confidentiality or integrity effect. No public exploit identified at time of analysis, and EPSS is 0.21% (11th percentile), consistent with a low-priority, local-only bug.

RemediationAI

Apply the upstream Linux kernel stable fix containing the DisplayPort altmode change; the patch commits are https://git.kernel.org/stable/c/114a977e0f6bf278e05eade055e13fc271f69cf7, https://git.kernel.org/stable/c/2f535517b5611b7221ed478527e4b58e29536ddf, https://git.kernel.org/stable/c/45e9444b3b97eaf51a5024f1fea92f44f39b50c6, https://git.kernel.org/stable/c/47cb5d26f61d80c805d7de4106451153779297a1, https://git.kernel.org/stable/c/5581e694d3a1c2f32c5a51d745c55b107644e1f8, https://git.kernel.org/stable/c/621d5a3ef0231ab242f2d31eecec40c38ca609c5, https://git.kernel.org/stable/c/af4db5a35a4ef7a68046883bfd12468007db38f1, and https://git.kernel.org/stable/c/c93bc959788ed9a1af7df57cb539837bdf790cee. Debian LTS users should follow https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html and https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html. The provided data does not give exact released kernel version numbers, so verify that the chosen stable or distribution kernel includes the fix; updating is the complete fix. Because the trigger requires an untrusted or non-compliant USB-C DisplayPort Alt Mode partner and local access to the pin_assignment sysfs attribute, systems that cannot update immediately can reduce exposure by avoiding untrusted DisplayPort Alt Mode devices and restricting local read access to that attribute, with the trade-off of reduced docking/display functionality and less diagnostic visibility.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is in the Linux kernel typec DisplayPort alternate-mode driver, which exposes pin assignment information through the pin_assignment_show sysfs attribute. The driver loops over the pin_assignments array using a value supplied by the connected DisplayPort Alt Mode port partner; a partner can report a value greater than the maximum defined DP_PIN_ASSIGN_F, causing the loop to index past the end of the array, producing a CWE-125 out-of-bounds read and a BRK exception. The fix defines DP_PIN_ASSIGN_MAX in typec_dp.h and changes the loop bound to i < DP_PIN_ASSIGN_MAX so pin_assignment_show cannot index invalid entries. Affected CPE entries identify the Linux kernel, including 6.16-rc1 through 6.16-rc3 and multiple earlier stable version ranges, with fixes delivered through kernel.org stable commits. The supplied tags mention buffer overflow and information disclosure, but the independent assessment bounds impact to availability (kernel crash) with no confidentiality or integrity effect.

Know when Debian Linux gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.3 MEDIUM

A physically-attached rogue USB-C partner must supply the oversized capability value (AV:P), a local user reads sysfs (PR:L), and the only impact is a kernel crash (C:N/I:N/A:H).

3.1 AV:P/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:P/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.2 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: altmodes/displayport: do not index invalid pin_assignments

A poorly implemented DisplayPort Alt Mode port partner can indicate that its pin assignment capabilities are greater than the maximum value, DP_PIN_ASSIGN_F. In this case, calls to pin_assignment_show will cause a BRK exception due to an out of bounds array access.

Prevent for loop in pin_assignment_show from accessing invalid values in pin_assignments by adding DP_PIN_ASSIGN_MAX value in typec_dp.h and using i < DP_PIN_ASSIGN_MAX as a loop condition.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel runs across the vast majority of server, cloud, and device environments
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy