{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138878",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.900Z",
        "datePublished": "2026-11-30T13:25:49.876Z",
        "dateUpdated": "2026-11-30T13:25:49.876Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:25:49.876Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn\n\nhdmi_add_cvt() stores each converter's NID into the fixed-size\nspec->cvt_nids[] array (used only by the Intel Haswell pin-connection\nfixup), but only when spec->num_cvts is still within\nARRAY_SIZE(cvt_nids); the num_cvts counter itself is incremented\nunconditionally regardless of whether the store happened. A codec\nthat reports more converters than cvt_nids[] can hold therefore ends\nup with num_cvts > ARRAY_SIZE(cvt_nids).\n\nhdmi_read_pin_conn(), on the intel_hsw_fixup path, copies num_cvts\nelements from cvt_nids[] with memcpy(), so once num_cvts exceeds the\narray size this reads past cvt_nids[] and writes the resulting\ngarbage NIDs into per_pin->mux_nids[].\n\nClamp the copy length to the actual size of cvt_nids[] instead of\ntrusting num_cvts, which is also used unbounded as the size of the\nseparate, dynamically-sized spec->cvts array and must not be\ntruncated at the source."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/hda/codecs/hdmi/hdmi.c"
                    ],
                    "versions": [
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "0b2a74faca57f3eee030d6bbe73de9b5307550e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "3dade2925a2c827bc882fa786d6f18028d290503",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "38438672a7568a889a326d8251af834653bc2aae",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "d08e4c84102e314cfdc902749bb8c94a20fc583a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "c149718773b4291ca8968487a0cb7a3926a79432",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "d37861288c5de3c3041ef1890e22a0fab70d0b8f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "d68390d9859cc5dc91eb26a1570ce3a86a5d88c0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bce0d2a80e428aac3b39bf19675f1f57126f9cb6",
                            "lessThan": "6cf3ab38b0d53d41f00fe594b2986849bdf994ae",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/hda/codecs/hdmi/hdmi.c"
                    ],
                    "versions": [
                        {
                            "version": "3.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "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.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "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": "3.10",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.10",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/0b2a74faca57f3eee030d6bbe73de9b5307550e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3dade2925a2c827bc882fa786d6f18028d290503"
                },
                {
                    "url": "https://git.kernel.org/stable/c/38438672a7568a889a326d8251af834653bc2aae"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d08e4c84102e314cfdc902749bb8c94a20fc583a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c149718773b4291ca8968487a0cb7a3926a79432"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d37861288c5de3c3041ef1890e22a0fab70d0b8f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d68390d9859cc5dc91eb26a1570ce3a86a5d88c0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6cf3ab38b0d53d41f00fe594b2986849bdf994ae"
                }
            ],
            "title": "ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}