CVE-2026-138877

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

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-138877

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138877 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.4% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before fd72f1b3b57d0591127e2e9a45018705fd4618ec
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before c027b3048ffccc1d3b92afc9f5b45f52e6d16c00
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before 0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before 19fbb9e447e39bd877901425ab66cb5d43d2366d
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before 9abc067fc83711ac417359df3cf613cbe3b0ab77
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before 4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before dcdfd7ae6ad12886fbdf8027304a8b38e0a32749
affected from acb05993881005cdaf5f8291491b4edcb8f60ef3, before b3e7ddd694f8429217ba509b55b910a0e4361dfb
Other versions: unaffected
Linux
affected 2.6.29
unaffected before 2.6.29
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138877 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138877

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138877
trivy image --scanners vuln IMAGE | grep CVE-2026-138877

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138877 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.