# CVE-2026-138878: ALSA: hda/hdmi: clamp num\_cvts against cvt\_nids\[\] in hdmi\_read\_pin\_conn

- Priority: **Insufficient evidence**
- Reason: No CVSS vector published; no exploitation reported by the 5 checked sources
- Next step: Check the vendor advisory
- Status: published
- Published: 2026-11-30 · Modified: 2026-11-30
- Aliases: DEBIAN-CVE-2026-138878, UBUNTU-CVE-2026-138878
- Record: https://cvemate.com/vulnerability/CVE-2026-138878 · JSON: https://cvemate.com/vulnerability/CVE-2026-138878/json

## Description

```text
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.
```

## Signals

- CVSS: none published
- EPSS: 0.22%, percentile 13.383%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 172)

- debian linux (Debian): All versions (No fix recorded) \| \< 6.12.118-1 \| \< 7.3.4-1
- debian linux-6.12 (Debian): \< 6.12.118-1~deb12u1
- ubuntu linux (Ubuntu): All versions (No fix recorded)
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-7.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded)

## References

- <https://git.kernel.org/stable/c/0b2a74faca57f3eee030d6bbe73de9b5307550e2>
- <https://git.kernel.org/stable/c/3dade2925a2c827bc882fa786d6f18028d290503>
- <https://git.kernel.org/stable/c/38438672a7568a889a326d8251af834653bc2aae>
- <https://git.kernel.org/stable/c/d08e4c84102e314cfdc902749bb8c94a20fc583a>
- <https://git.kernel.org/stable/c/c149718773b4291ca8968487a0cb7a3926a79432>
- <https://git.kernel.org/stable/c/d37861288c5de3c3041ef1890e22a0fab70d0b8f>
- <https://git.kernel.org/stable/c/d68390d9859cc5dc91eb26a1570ce3a86a5d88c0>
- <https://git.kernel.org/stable/c/6cf3ab38b0d53d41f00fe594b2986849bdf994ae>
- <https://security-tracker.debian.org/tracker/CVE-2026-138878>
- <https://ubuntu.com/security/CVE-2026-138878>
- <https://www.cve.org/CVERecord?id=CVE-2026-138878>

---

Data as of 2026-12-05T03:59:27.865Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
