CVE-2026-139548

Not scored yetLast modified Nov 30, 2026

Description

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

platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data

cros_typec_register_altmodes() iterates over sop_disc->svid_count and sop_disc->svids[i].mode_count from the EC_CMD_TYPEC_DISCOVERY response without validating their bounds.

port->disc_data is allocated as a buffer of EC_PROTO2_MAX_RESPONSE_SIZE bytes, and each SVID entry contains a fixed mode_vdo[6] array. If the EC returns an out-of-bounds svid_count or mode_count, the loops read past the end of the mode_vdo array or the disc_data buffer.

Validate that the discovery response with svid_count entries fits within EC_PROTO2_MAX_RESPONSE_SIZE using struct_size(), and ensure each SVID's mode_count does not exceed ARRAY_SIZE(sop_disc->svids[i].mode_vdo) before registering altmodes.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < e561f3b727e14ec087bb15d6d3c9b6c66468c048; >= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < 22050deecab9a0a65676aaeafc277e923c8e8c5c; >= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < ac2f3341c459468f25865180b626ba9447173366; >= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < 833e3837354ac3d553d14a19eefffc323ee291c0; >= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < 834847b5a34047e84bc5be2909ab3588876314e0; >= de0f49487db3667f5204dcec6d3482c9bd1a0a30, < 317e7abcaf60b79765dcf35c014edac8b9d37a6e
LinuxLinux5.11

References

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139549In the Linux kernel, the following vulnerability has been resolved: nvdimm/pmem: Release gendisk on probe failure pmem_attach_disk() allocCVE-2026-139553.3Insufficient validation of untrusted input in CustomTabs in Google Chrome on Android prior to 150.0.7871.47 allowed a local attacker to perfCVE-2026-139550In the Linux kernel, the following vulnerability has been resolved: fbnic: Rework the BMC state pulled from the capabilities message The BCVE-2026-139551In the Linux kernel, the following vulnerability has been resolved: drm/tegra: Drop reference on postfence drm_syncobj_replace_fence() calCVE-2026-139552In the Linux kernel, the following vulnerability has been resolved: drm/tegra: Don't pass an ERR_PTR to drm_syncobj_replace_fence() When hCVE-2026-139553In the Linux kernel, the following vulnerability has been resolved: mm/memory_hotplug: fix missing rollback in __add_pages() __add_pages()CVE-2026-139554In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: fix reading the WPTR at a non-zero BO offset The useCVE-2026-139555In the Linux kernel, the following vulnerability has been resolved: soundwire: debugfs: replace writable string helper debugfs_create_str(CVE-2026-139556In the Linux kernel, the following vulnerability has been resolved: mei: vsc-tp: initialize IRQ state before requesting interrupt request_CVE-2026-139557In the Linux kernel, the following vulnerability has been resolved: misc: enclosure: fix UAF on device_register() failure After device_regCVE-2026-139558In the Linux kernel, the following vulnerability has been resolved: sched: Set TIF_NEED_RESCHED before calling __trace_set_need_resched() CVE-2026-139559In the Linux kernel, the following vulnerability has been resolved: seg6: fix HMAC validation when an extension header precedes the SRH se
CVE-2026-139548: Unscored | Vulnix