Public vulnerability disclosure

CVE-2025-38391

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

published

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.

Technical severityUnscoredNo score in collected sources
Published2025-07-25Source updated 2026-11-05
Collected2026-11-052 attributed sources

Fixes and workarounds

No remediation reported in collected sources.

Missing remediation information is not evidence that no patch exists.

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
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)
Other versions: unaffected
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)
Other versions: affected
CNA: Linux

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

No CVSS assessment reported. An unscored record is not a low-severity determination.

Exploit evidence

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

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide