{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-138880",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.900Z",
        "datePublished": "2026-11-30T13:25:50.986Z",
        "dateUpdated": "2026-11-30T13:25:50.986Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:25:50.986Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI/sysfs: Pass the device name length in UTF-16 code units\n\nCurrently, dsm_label_utf16s_to_utf8s() passes the ACPI buffer length to\nutf16s_to_utf8s() unchanged.  The Device Name _DSM may return the device\nname as a buffer holding a UTF-16 string, and the ACPI length counts bytes\nwhile the converter counts wchar_t elements.  The converter therefore\nreceives a count twice the number of code units the buffer holds, and that\ncount is its only bound on the input.\n\nA NUL code unit ends the conversion early, so a name that carries one is\nconverted correctly and the error stays hidden.  ACPICA zeroes the entire\nresult allocation, and the padding placed after the buffer supplies that\nNUL for most lengths.  Lengths that leave no padding, or a single byte of\nit, do not, and the conversion then runs up to its own length in bytes past\nthe end of the allocation.  The bytes beyond the allocation are decoded\ninto the \"label\" attribute, which is world readable.\n\nDivide the buffer length by the size of wchar_t so that the converter\nreceives a count of code units.  The division truncates, so the converter\nis never told to read more bytes than the buffer holds, including for an\nodd length.\n\nReaching the out of bounds read needs firmware that returns the name as a\nbuffer and omits the terminator."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/pci/pci-label.c"
                    ],
                    "versions": [
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "bb986cea6055849390980a380c27ac7d70cb782c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "2d14662a22b1c9d675e3a768f9933505f3377e1c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "2e3cab69425d17e8024d6c45f79c8abd56fd0fd8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6058989bad05b82e78baacce69ec14f27a11b5fd",
                            "lessThan": "af5ca2d75147bf283239e8ef0fbf6e5e0488ca91",
                            "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/pci/pci-label.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.39",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.39",
                            "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.117",
                            "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": "2.6.39",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.39",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271"
                },
                {
                    "url": "https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91"
                }
            ],
            "title": "PCI/sysfs: Pass the device name length in UTF-16 code units",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}