# CVE-2026-138877: ALSA: hda/hdmi: clamp sad\_count in ELD proc write handler

- 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-12-03
- Aliases: DEBIAN-CVE-2026-138877, UBUNTU-CVE-2026-138877
- Record: https://cvemate.com/vulnerability/CVE-2026-138877 · JSON: https://cvemate.com/vulnerability/CVE-2026-138877/json

## Description

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

ALSA: hda/hdmi: clamp sad_count in ELD proc write handler

snd_hdmi_write_eld_info() parses a "sad_count N" line from the
root-writable ELD proc interface and assigns N directly to
e->sad_count with no upper bound, unlike the per-index "sadN_*" lines
a few lines below which are already bounded to ELD_MAX_SAD.

snd_hdmi_eld_update_pcm_info() later iterates
"for (i = 0; i < e->sad_count; i++)" over the fixed
e->sad[ELD_MAX_SAD] array, so an oversized sad_count read from the
proc file causes it to walk past the array.

Reject sad_count values above ELD_MAX_SAD, matching the existing
per-index guard.
```

## 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/fd72f1b3b57d0591127e2e9a45018705fd4618ec>
- <https://git.kernel.org/stable/c/c027b3048ffccc1d3b92afc9f5b45f52e6d16c00>
- <https://git.kernel.org/stable/c/0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd>
- <https://git.kernel.org/stable/c/19fbb9e447e39bd877901425ab66cb5d43d2366d>
- <https://git.kernel.org/stable/c/9abc067fc83711ac417359df3cf613cbe3b0ab77>
- <https://git.kernel.org/stable/c/4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3>
- <https://git.kernel.org/stable/c/dcdfd7ae6ad12886fbdf8027304a8b38e0a32749>
- <https://git.kernel.org/stable/c/b3e7ddd694f8429217ba509b55b910a0e4361dfb>
- <https://security-tracker.debian.org/tracker/CVE-2026-138877>
- <https://ubuntu.com/security/CVE-2026-138877>
- <https://www.cve.org/CVERecord?id=CVE-2026-138877>

---

Data as of 2026-12-05T03:57:22.268Z. 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
