CVE-2026-138877
publishedALSA: hda/hdmi: clamp sad_count in ELD proc write handler
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxacb05993881005cdaf5f8291491b4edcb8f60ef3 to < fd72f1b3b57d0591127e2e9a45018705fd4618ec · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < c027b3048ffccc1d3b92afc9f5b45f52e6d16c00 · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 19fbb9e447e39bd877901425ab66cb5d43d2366d · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 9abc067fc83711ac417359df3cf613cbe3b0ab77 · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3 · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < dcdfd7ae6ad12886fbdf8027304a8b38e0a32749 · acb05993881005cdaf5f8291491b4edcb8f60ef3 to < b3e7ddd694f8429217ba509b55b910a0e4361dfb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.29 (affected) · 0 to < 2.6.29 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | acb05993881005cdaf5f8291491b4edcb8f60ef3 to < fd72f1b3b57d0591127e2e9a45018705fd4618ec (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < c027b3048ffccc1d3b92afc9f5b45f52e6d16c00 (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 19fbb9e447e39bd877901425ab66cb5d43d2366d (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 9abc067fc83711ac417359df3cf613cbe3b0ab77 (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < 4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3 (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < dcdfd7ae6ad12886fbdf8027304a8b38e0a32749 (affected · git)acb05993881005cdaf5f8291491b4edcb8f60ef3 to < b3e7ddd694f8429217ba509b55b910a0e4361dfb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.29 (affected)0 to < 2.6.29 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd
- https://git.kernel.org/stable/c/19fbb9e447e39bd877901425ab66cb5d43d2366d
- https://git.kernel.org/stable/c/4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3
- https://git.kernel.org/stable/c/9abc067fc83711ac417359df3cf613cbe3b0ab77
- https://git.kernel.org/stable/c/b3e7ddd694f8429217ba509b55b910a0e4361dfb
- https://git.kernel.org/stable/c/c027b3048ffccc1d3b92afc9f5b45f52e6d16c00
- https://git.kernel.org/stable/c/dcdfd7ae6ad12886fbdf8027304a8b38e0a32749
- https://git.kernel.org/stable/c/fd72f1b3b57d0591127e2e9a45018705fd4618ec
Provider assertions
1Linux · cna
ALSA: hda/hdmi: clamp sad_count in ELD proc write handler
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c15a36ed0b7d86c92d92db8363e8aa17ce56d9e394efe5a05848a7505e2dd3b6
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record