CVE-2026-138878

Not scored yetLast modified Nov 30, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-138879In the Linux kernel, the following vulnerability has been resolved: crypto: algif_skcipher - rewind rounded output bytes af_alg_get_rsgl()CVE-2026-138888.8Use after free in Extensions in Google Chrome prior to 150.0.7871.47 allowed a remote attacker to execute arbitrary code inside a sandbox viCVE-2026-138880In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Pass the device name length in UTF-16 code units Currently,CVE-2026-138881In the Linux kernel, the following vulnerability has been resolved: aoe: pull in the headers each received packet type reads aoenet_rcv() CVE-2026-138882In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: fix PCI device reference leak in mt7996_pci_init_hiCVE-2026-138883In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7615: cancel reset work during unregister The MCU error CVE-2026-138884In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: cancel mlo_pm_work on the USB stop path Every otheCVE-2026-1388857.5In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: take rcu_read_lock in the USB/SDIO tx completion path The CVE-2026-138886In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: fix memory leak in USB TX path When errors occur in mt76u_CVE-2026-1388877.5In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt792x: fix UAF in SDIO TX path when out of memory Using _CVE-2026-138888In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7615: do not tear down BSS/STA state for monitor vifs TeCVE-2026-1388897.5In the Linux kernel, the following vulnerability has been resolved: ocfs2: restrict OCFS2_INVALID_SLOT suballoc slot to system inodes Patc
CVE-2026-138878: Unscored | Vulnix