# CVE-2025-38391: usb: typec: altmodes/displayport: do not index invalid pin_assignments

Status: published. Published: 2025-07-25. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < c93bc959788ed9a1af7df57cb539837bdf790cee (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 114a977e0f6bf278e05eade055e13fc271f69cf7 (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 621d5a3ef0231ab242f2d31eecec40c38ca609c5 (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 2f535517b5611b7221ed478527e4b58e29536ddf (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 45e9444b3b97eaf51a5024f1fea92f44f39b50c6 (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 5581e694d3a1c2f32c5a51d745c55b107644e1f8 (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < 47cb5d26f61d80c805d7de4106451153779297a1 (affected, git); ≥ 0e3bb7d6894d9b6e67d6382bb03a46a1dc989588; < af4db5a35a4ef7a68046883bfd12468007db38f1 (affected, git). Source: CNA: Linux
- Linux / Linux: 4.19 (affected); ≥ 0; < 4.19 (unaffected, semver); ≥ 5.4.296; ≤ 5.4.* (unaffected, semver); ≥ 5.10.240; ≤ 5.10.* (unaffected, semver); ≥ 5.15.187; ≤ 5.15.* (unaffected, semver); ≥ 6.1.144; ≤ 6.1.* (unaffected, semver); ≥ 6.6.97; ≤ 6.6.* (unaffected, semver); ≥ 6.12.37; ≤ 6.12.* (unaffected, semver); ≥ 6.15.6; ≤ 6.15.* (unaffected, semver); ≥ 6.16; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.21% as of 2026-11-05; percentile 11.28%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/c93bc959788ed9a1af7df57cb539837bdf790cee (CNA: Linux)

- https://git.kernel.org/stable/c/114a977e0f6bf278e05eade055e13fc271f69cf7 (CNA: Linux)

- https://git.kernel.org/stable/c/621d5a3ef0231ab242f2d31eecec40c38ca609c5 (CNA: Linux)

- https://git.kernel.org/stable/c/2f535517b5611b7221ed478527e4b58e29536ddf (CNA: Linux)

- https://git.kernel.org/stable/c/45e9444b3b97eaf51a5024f1fea92f44f39b50c6 (CNA: Linux)

- https://git.kernel.org/stable/c/5581e694d3a1c2f32c5a51d745c55b107644e1f8 (CNA: Linux)

- https://git.kernel.org/stable/c/47cb5d26f61d80c805d7de4106451153779297a1 (CNA: Linux)

- https://git.kernel.org/stable/c/af4db5a35a4ef7a68046883bfd12468007db38f1 (CNA: Linux)

- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (ADP: CVE)

- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html (ADP: CVE)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2025-38391; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-38391; retrieved 2026-11-05; source updated Not reported

Revision: c017b1a060c5b98a3064f7c2a564cb20784df05f211ddfe830f9c9d65d3db34a

Canonical: https://y2.dev/cve/CVE-2025-38391

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.