FKIE_CVE-2026-138880

Vulnerability from fkie_nvd - Published: 2026-11-30 14:17 - Updated: 2026-11-30 14:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Pass the device name length in UTF-16 code units Currently, dsm_label_utf16s_to_utf8s() passes the ACPI buffer length to utf16s_to_utf8s() unchanged. The Device Name _DSM may return the device name as a buffer holding a UTF-16 string, and the ACPI length counts bytes while the converter counts wchar_t elements. The converter therefore receives a count twice the number of code units the buffer holds, and that count is its only bound on the input. A NUL code unit ends the conversion early, so a name that carries one is converted correctly and the error stays hidden. ACPICA zeroes the entire result allocation, and the padding placed after the buffer supplies that NUL for most lengths. Lengths that leave no padding, or a single byte of it, do not, and the conversion then runs up to its own length in bytes past the end of the allocation. The bytes beyond the allocation are decoded into the "label" attribute, which is world readable. Divide the buffer length by the size of wchar_t so that the converter receives a count of code units. The division truncates, so the converter is never told to read more bytes than the buffer holds, including for an odd length. Reaching the out of bounds read needs firmware that returns the name as a buffer and omits the terminator.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "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"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "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."
    }
  ],
  "id": "CVE-2026-138880",
  "lastModified": "2026-11-30T14:17:45.243",
  "metrics": {},
  "published": "2026-11-30T14:17:45.243",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.