CVE-2026-138878

ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-138878

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-138878 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn

hdmi_add_cvt() stores each converter's NID into the fixed-size spec->cvt_nids[] array (used only by the Intel Haswell pin-connection fixup), but only when spec->num_cvts is still within ARRAY_SIZE(cvt_nids); the num_cvts counter itself is incremented unconditionally regardless of whether the store happened. A codec that reports more converters than cvt_nids[] can hold therefore ends up with num_cvts > ARRAY_SIZE(cvt_nids).

hdmi_read_pin_conn(), on the intel_hsw_fixup path, copies num_cvts elements from cvt_nids[] with memcpy(), so once num_cvts exceeds the array size this reads past cvt_nids[] and writes the resulting garbage NIDs into per_pin->mux_nids[].

Clamp the copy length to the actual size of cvt_nids[] instead of trusting num_cvts, which is also used unbounded as the size of the separate, dynamically-sized spec->cvts array and must not be truncated at the source.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before 0b2a74faca57f3eee030d6bbe73de9b5307550e2
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before 3dade2925a2c827bc882fa786d6f18028d290503
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before 38438672a7568a889a326d8251af834653bc2aae
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before d08e4c84102e314cfdc902749bb8c94a20fc583a
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before c149718773b4291ca8968487a0cb7a3926a79432
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before d37861288c5de3c3041ef1890e22a0fab70d0b8f
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before d68390d9859cc5dc91eb26a1570ce3a86a5d88c0
affected from bce0d2a80e428aac3b39bf19675f1f57126f9cb6, before 6cf3ab38b0d53d41f00fe594b2986849bdf994ae
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
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.118 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-138878 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138878

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-138878
trivy image --scanners vuln IMAGE | grep CVE-2026-138878

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

Source: the record CVE-2026-138878 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.