CVE-2026-138878: ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn

Published Nov 30, 2026
·
Updated

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

ALSA: hda/hdmi: clamp numcvts against cvtnids[] in hdmireadpinconn

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

hdmireadpinconn(), on the intelhswfixup path, copies numcvts elements from cvtnids[] with memcpy(), so once numcvts exceeds the array size this reads past cvtnids[] and writes the resulting garbage NIDs into perpin->muxnids[].

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

Affected Software

8 affected componentsFixes available
Linux Linux kernel
linux/kernel>=3.10.0<5.10.275
5.10.275
linux/kernel>=5.11.0<5.15.226
5.15.226
linux/kernel>=5.16.0<6.1.193
6.1.193
linux/kernel>=6.2.0<6.6.163
6.6.163
linux/kernel>=6.7.0<6.12.118
6.12.118
linux/kernel>=6.13.0<6.18.63
6.18.63
linux/kernel>=6.19.0<7.3.4
7.3.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.275
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.226
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.1.193
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.6.163
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  6. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.63
  7. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.4
  8. Compensating control

    In Linux kernel ALSA hda/hdmi, clamp the memcpy copy length in hdmi_read_pin_conn() to the actual size of cvt_nids[] (ARRAY_SIZE(cvt_nids)).

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description
Data Sourced
via OSV·01:25 PM
DescriptionAffected Software
Data Sourced
via NVD·02:17 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

The affected code is in the Linux kernel ALSA HDA HDMI path. The out-of-bounds read occurs only when the Intel Haswell pin-connection fixup path is used and a codec reports more converters than the fixed cvt_nids[] array can hold.

2

What must occur for the vulnerable copy to be reached?

A codec must report enough converters for spec->num_cvts to exceed the capacity of cvt_nids[]. On the Intel Haswell fixup path, hdmi_read_pin_conn() then uses that oversized counter as the memcpy() length.

3

What happens if the condition is triggered?

The kernel reads beyond cvt_nids[] and copies garbage converter NIDs into per_pin->mux_nids[]. The provided data does not describe a remote attack vector, required privileges, or a workaround other than applying the resolved fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203