CVE-2026-138878: Linux kernel · ALSA: hda/hdmi: clamp num_cvts against cvt_nids[] in hdmi_read_pin_conn
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in d37861288c5de3c3041ef1890e22a0fab70d0b8f : update Linux kernel when convenient.
Data as of 30 Nov 2026, 13:46 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in d37861288c5de3c3041ef1890e22a0fab70d0b8f, d68390d9859cc5dc91eb26a1570ce3a86a5d88c0, d08e4c84102e314cfdc902749bb8c94a20fc583a +5
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
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.
References
- git.kernel.org/stable/c/0b2a74faca57f3eee030d6bbe73de9b5307550e2 (opens in a new tab)
- git.kernel.org/stable/c/3dade2925a2c827bc882fa786d6f18028d290503 (opens in a new tab)
- git.kernel.org/stable/c/38438672a7568a889a326d8251af834653bc2aae (opens in a new tab)
- git.kernel.org/stable/c/d08e4c84102e314cfdc902749bb8c94a20fc583a (opens in a new tab)
- git.kernel.org/stable/c/c149718773b4291ca8968487a0cb7a3926a79432 (opens in a new tab)
- git.kernel.org/stable/c/d37861288c5de3c3041ef1890e22a0fab70d0b8f (opens in a new tab)
- git.kernel.org/stable/c/d68390d9859cc5dc91eb26a1570ce3a86a5d88c0 (opens in a new tab)
- git.kernel.org/stable/c/6cf3ab38b0d53d41f00fe594b2986849bdf994ae (opens in a new tab)