{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "6058989bad05b82e78baacce69ec14f27a11b5fd"
            },
            {
              "fixed": "bb986cea6055849390980a380c27ac7d70cb782c"
            },
            {
              "fixed": "2d14662a22b1c9d675e3a768f9933505f3377e1c"
            },
            {
              "fixed": "e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b"
            },
            {
              "fixed": "f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a"
            },
            {
              "fixed": "2e3cab69425d17e8024d6c45f79c8abd56fd0fd8"
            },
            {
              "fixed": "3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2"
            },
            {
              "fixed": "f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271"
            },
            {
              "fixed": "af5ca2d75147bf283239e8ef0fbf6e5e0488ca91"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.39"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138880.json"
  },
  "details": "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.",
  "id": "CVE-2026-138880",
  "modified": "2026-12-01T20:46:02.325042047Z",
  "published": "2026-11-30T13:25:50.986Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138880.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138880"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "PCI/sysfs: Pass the device name length in UTF-16 code units"
}