{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139548",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.940Z",
        "datePublished": "2026-11-30T13:35:46.822Z",
        "dateUpdated": "2026-11-30T13:35:46.822Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:35:46.822Z"
            },
            "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": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/platform/chrome/cros_ec_typec.c"
                    ],
                    "versions": [
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "e561f3b727e14ec087bb15d6d3c9b6c66468c048",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "22050deecab9a0a65676aaeafc277e923c8e8c5c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "ac2f3341c459468f25865180b626ba9447173366",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "833e3837354ac3d553d14a19eefffc323ee291c0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "834847b5a34047e84bc5be2909ab3588876314e0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de0f49487db3667f5204dcec6d3482c9bd1a0a30",
                            "lessThan": "317e7abcaf60b79765dcf35c014edac8b9d37a6e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/platform/chrome/cros_ec_typec.c"
                    ],
                    "versions": [
                        {
                            "version": "5.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.11",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}