8.4

CVE-2026-93190

platform/chrome: cros_ec_typec: Reject out-of-bounds PD cap count

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

platform/chrome: cros_ec_typec: Reject out-of-bounds PD cap count

cros_typec_register_partner_pdos() copies the partner PDOs from the EC
TYPEC_STATUS response into the fixed caps_desc.pdo[PDO_MAX_OBJECTS] array.

	memcpy(caps_desc.pdo, resp->source_cap_pdos,
	       sizeof(u32) * resp->source_cap_count);
	...
	memcpy(caps_desc.pdo, resp->sink_cap_pdos,
	       sizeof(u32) * resp->sink_cap_count);

PDO_MAX_OBJECTS is 7. source_cap_count and sink_cap_count are u8 fields
from the EC. The only check is that they are not both zero. If either is
larger than 7, the memcpy writes past the end of the array on the stack.
A count of 255 overflows it by about 1 KB. The EC source arrays are only
seven entries wide. A larger count reads past them too.

The ChromeOS EC firmware caps these counts today, so a compliant setup
does not hit this. The kernel should still validate these values rather
than trust them.

Validate the counts in cros_typec_register_partner_pdos() next to the
memcpy. Skip the PDO registration if either count is above PDO_MAX_OBJECTS.
The rest of cros_typec_handle_status() still runs so events are handled
and cleared.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < 7617b210a2200b76d8f171819390468c7d189c80
Status affected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < 4e37371cb4e3b8ff564d7760029236a7bd614562
Status affected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < 2a7a4e45a3aa4f4ef7013eb64649f6184b76a293
Status affected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < e4728288473a5024a8bdba7d43f346719606fea0
Status affected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < 54d6b0ee9b8ba434089b11843effc111dc2e6ead
Status affected
Version 348a2e8c93d3ca622cf1b293cd2f597c9db74d9d
Version < a0a8cd9fc9c48b95095bcec4b146f7a99486f58e
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 6.1
Status affected
Version 0
Version < 6.1
Status unaffected
Version <= 6.1.*
Version 6.1.188
Status unaffected
Version <= 6.6.*
Version 6.6.157
Status unaffected
Version <= 6.12.*
Version 6.12.110
Status unaffected
Version <= 6.18.*
Version 6.18.52
Status unaffected
Version <= 7.2.*
Version 7.2.6
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.067
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 8.4 2.5 5.9
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/7617b210a2200b76d8f171819390468c7d189c80
https://git.kernel.org/stable/c/4e37371cb4e3b8ff564d7760029236a7bd614562
https://git.kernel.org/stable/c/2a7a4e45a3aa4f4ef7013eb64649f6184b76a293
https://git.kernel.org/stable/c/e4728288473a5024a8bdba7d43f346719606fea0
https://git.kernel.org/stable/c/54d6b0ee9b8ba434089b11843effc111dc2e6ead
https://git.kernel.org/stable/c/a0a8cd9fc9c48b95095bcec4b146f7a99486f58e