CVE-2026-138880
PCI/sysfs: Pass the device name length in UTF-16 code units
Check your servers for CVE-2026-138880
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138880 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.50% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before bb986cea6055849390980a380c27ac7d70cb782c affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before 2d14662a22b1c9d675e3a768f9933505f3377e1c affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before 2e3cab69425d17e8024d6c45f79c8abd56fd0fd8 affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before 3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2 affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271 affected from 6058989bad05b82e78baacce69ec14f27a11b5fd, before af5ca2d75147bf283239e8ef0fbf6e5e0488ca91
Other versions: unaffected
|
| Linux |
affected 2.6.39 unaffected before 2.6.39 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.117 up to and including 6.12.* unaffected from 6.18.63 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138880 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138880
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-138880
trivy image --scanners vuln IMAGE | grep CVE-2026-138880
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/bb986cea6055849390980a380c27ac7d70cb782c git.kernel.org
- https://git.kernel.org/stable/c/2d14662a22b1c9d675e3a768f9933505f3377e1c git.kernel.org
- https://git.kernel.org/stable/c/e52428ea01924ff9b6dae8b19bf1f7b4f9dcbe8b git.kernel.org
- https://git.kernel.org/stable/c/f8392b4ecd9fbefbc6be78cd4c4f876e30927c5a git.kernel.org
- https://git.kernel.org/stable/c/2e3cab69425d17e8024d6c45f79c8abd56fd0fd8 git.kernel.org
- https://git.kernel.org/stable/c/3d1e0085b5d24cb1053cf9ccb915376f15f6a4b2 git.kernel.org
- https://git.kernel.org/stable/c/f014772e79ccf8e8f3fa7d6047c93aa0bb8b7271 git.kernel.org
- https://git.kernel.org/stable/c/af5ca2d75147bf283239e8ef0fbf6e5e0488ca91 git.kernel.org
Source: the record CVE-2026-138880 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse