{"api_version":"1","generated_at":"2026-11-30T18:38:07+00:00","cve":"CVE-2026-139548","urls":{"html":"https://cve.report/CVE-2026-139548","api":"https://cve.report/api/cve/CVE-2026-139548.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139548","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139548"},"summary":{"title":"platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:33","updated_at":"2026-11-30 14:19:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ac2f3341c459468f25865180b626ba9447173366","name":"https://git.kernel.org/stable/c/ac2f3341c459468f25865180b626ba9447173366","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/834847b5a34047e84bc5be2909ab3588876314e0","name":"https://git.kernel.org/stable/c/834847b5a34047e84bc5be2909ab3588876314e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e561f3b727e14ec087bb15d6d3c9b6c66468c048","name":"https://git.kernel.org/stable/c/e561f3b727e14ec087bb15d6d3c9b6c66468c048","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/833e3837354ac3d553d14a19eefffc323ee291c0","name":"https://git.kernel.org/stable/c/833e3837354ac3d553d14a19eefffc323ee291c0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/317e7abcaf60b79765dcf35c014edac8b9d37a6e","name":"https://git.kernel.org/stable/c/317e7abcaf60b79765dcf35c014edac8b9d37a6e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/22050deecab9a0a65676aaeafc277e923c8e8c5c","name":"https://git.kernel.org/stable/c/22050deecab9a0a65676aaeafc277e923c8e8c5c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139548","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139548","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 e561f3b727e14ec087bb15d6d3c9b6c66468c048 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 22050deecab9a0a65676aaeafc277e923c8e8c5c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 ac2f3341c459468f25865180b626ba9447173366 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 833e3837354ac3d553d14a19eefffc323ee291c0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 834847b5a34047e84bc5be2909ab3588876314e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de0f49487db3667f5204dcec6d3482c9bd1a0a30 317e7abcaf60b79765dcf35c014edac8b9d37a6e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/platform/chrome/cros_ec_typec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e561f3b727e14ec087bb15d6d3c9b6c66468c048","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"},{"lessThan":"22050deecab9a0a65676aaeafc277e923c8e8c5c","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"},{"lessThan":"ac2f3341c459468f25865180b626ba9447173366","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"},{"lessThan":"833e3837354ac3d553d14a19eefffc323ee291c0","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"},{"lessThan":"834847b5a34047e84bc5be2909ab3588876314e0","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"},{"lessThan":"317e7abcaf60b79765dcf35c014edac8b9d37a6e","status":"affected","version":"de0f49487db3667f5204dcec6d3482c9bd1a0a30","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/platform/chrome/cros_ec_typec.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.11"},{"lessThan":"5.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:35:46.822Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e561f3b727e14ec087bb15d6d3c9b6c66468c048"},{"url":"https://git.kernel.org/stable/c/22050deecab9a0a65676aaeafc277e923c8e8c5c"},{"url":"https://git.kernel.org/stable/c/ac2f3341c459468f25865180b626ba9447173366"},{"url":"https://git.kernel.org/stable/c/833e3837354ac3d553d14a19eefffc323ee291c0"},{"url":"https://git.kernel.org/stable/c/834847b5a34047e84bc5be2909ab3588876314e0"},{"url":"https://git.kernel.org/stable/c/317e7abcaf60b79765dcf35c014edac8b9d37a6e"}],"title":"platform/chrome: cros_ec_typec: Validate SVID and mode counts in discovery data","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139548","datePublished":"2026-11-30T13:35:46.822Z","dateReserved":"2026-11-30T13:22:15.940Z","dateUpdated":"2026-11-30T13:35:46.822Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:33","lastModifiedDate":"2026-11-30 14:19:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139548","Ordinal":"1","Title":"platform/chrome: cros_ec_typec: Validate SVID and mode counts in","CVE":"CVE-2026-139548","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139548","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"platform/chrome: cros_ec_typec: Validate SVID and mode counts in"}]}}}