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

CVE-2026-138877
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < fd72f1b3b57d0591127e2e9a45018705fd4618ec
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < c027b3048ffccc1d3b92afc9f5b45f52e6d16c00
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < 0dc2bca7fa4141b965f028f0d4b69b7eaa5577bd
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < 19fbb9e447e39bd877901425ab66cb5d43d2366d
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < 9abc067fc83711ac417359df3cf613cbe3b0ab77
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < 4bc8cef2303f0a3097ddbf30e037e9b93a2be4b3
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < dcdfd7ae6ad12886fbdf8027304a8b38e0a32749
affected : ≥ acdda7915eb5dae20b6e43b8b772b712b1ed32c3 < b3e7ddd694f8429217ba509b55b910a0e4361dfb
Other versions : unaffected
Linux · Linux
affected : 2.6.29
unaffected : ≥ 0 < 2.6.29
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.63 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD