{"id":"CVE-2026-139548","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:33.550","lastModified":"2026-11-30T14:19:33.550","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nplatform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data\n\ncros_typec_register_altmodes() iterates over sop_disc->svid_count and\nsop_disc->svids[i].mode_count from the EC_CMD_TYPEC_DISCOVERY response\nwithout validating their bounds.\n\nport->disc_data is allocated as a buffer of EC_PROTO2_MAX_RESPONSE_SIZE\nbytes, and each SVID entry contains a fixed mode_vdo[6] array. If the EC\nreturns an out-of-bounds svid_count or mode_count, the loops read past\nthe end of the mode_vdo array or the disc_data buffer.\n\nValidate that the discovery response with svid_count entries fits within\nEC_PROTO2_MAX_RESPONSE_SIZE using struct_size(), and ensure each SVID's\nmode_count does not exceed ARRAY_SIZE(sop_disc->svids[i].mode_vdo)\nbefore registering altmodes."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/platform/chrome/cros_ec_typec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"e561f3b727e14ec087bb15d6d3c9b6c66468c048","versionType":"git","status":"affected"},{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"22050deecab9a0a65676aaeafc277e923c8e8c5c","versionType":"git","status":"affected"},{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"ac2f3341c459468f25865180b626ba9447173366","versionType":"git","status":"affected"},{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"833e3837354ac3d553d14a19eefffc323ee291c0","versionType":"git","status":"affected"},{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"834847b5a34047e84bc5be2909ab3588876314e0","versionType":"git","status":"affected"},{"version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","lessThan":"317e7abcaf60b79765dcf35c014edac8b9d37a6e","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/platform/chrome/cros_ec_typec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","versionType":"semver","status":"unaffected"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/22050deecab9a0a65676aaeafc277e923c8e8c5c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/317e7abcaf60b79765dcf35c014edac8b9d37a6e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/833e3837354ac3d553d14a19eefffc323ee291c0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/834847b5a34047e84bc5be2909ab3588876314e0","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/ac2f3341c459468f25865180b626ba9447173366","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e561f3b727e14ec087bb15d6d3c9b6c66468c048","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}