{"api_version":"1","generated_at":"2026-11-30T18:30:36+00:00","cve":"CVE-2026-138880","urls":{"html":"https://cve.report/CVE-2026-138880","api":"https://cve.report/api/cve/CVE-2026-138880.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138880","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138880"},"summary":{"title":"PCI/sysfs: Pass the device name length in UTF-16 code units","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:45","updated_at":"2026-11-30 14:17:45"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a","name":"https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91","name":"https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271","name":"https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c","name":"https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8","name":"https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b","name":"https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c","name":"https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2","name":"https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138880","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138880","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd bb986cea6055849390980a380c27ac7d70cb782c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd 2d14662a22b1c9d675e3a768f9933505f3377e1c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd 2e3cab69425d17e8024d6c45f79c8abd56fd0fd8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd 3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6058989bad05b82e78baacce69ec14f27a11b5fd af5ca2d75147bf283239e8ef0fbf6e5e0488ca91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.39","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.39 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* 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.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 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/pci/pci-label.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bb986cea6055849390980a380c27ac7d70cb782c","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"2d14662a22b1c9d675e3a768f9933505f3377e1c","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"2e3cab69425d17e8024d6c45f79c8abd56fd0fd8","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"},{"lessThan":"af5ca2d75147bf283239e8ef0fbf6e5e0488ca91","status":"affected","version":"6058989bad05b82e78baacce69ec14f27a11b5fd","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/pci/pci-label.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.39"},{"lessThan":"2.6.39","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","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.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","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":"5.10.275","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.39","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.39","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:25:50.986Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138880","datePublished":"2026-11-30T13:25:50.986Z","dateReserved":"2026-11-30T13:22:15.900Z","dateUpdated":"2026-11-30T13:25:50.986Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:45","lastModifiedDate":"2026-11-30 14:17:45","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138880","Ordinal":"1","Title":"PCI/sysfs: Pass the device name length in UTF-16 code units","CVE":"CVE-2026-138880","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138880","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"PCI/sysfs: Pass the device name length in UTF-16 code units"}]}}}