{"id":"CVE-2026-80583","aliases":["CVE-2026-80583"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses\n\nThe \"DEC0 MODE\" to \"DEC7 MODE\" controls are enumerated, but\ntx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their\nvalue through ucontrol->value.integer.value[0] (a long) instead of\nucontrol->value.enumerated.item[0] (an unsigned int).\n\nThis same pattern was fixed in the sibling drivers by\ncommit bcfe5f76cc40 (\"ASoC: codecs: rx-macro: fix accessing array\nout of bounds for enum type\") and\ncommit 0ea5eff7c606 (\"ASoC: codecs: va-macro: fix accessing array\nout of bounds for enum type\"), but tx-macro was missed.\n\nOn 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value\nsanity check catches the 4 bytes written past the enumerated item\nand every read of these controls fails with -EINVAL:\n\n  snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses\n\nThe \"DEC0 MODE\" to \"DEC7 MODE\" controls are enumerated, but\ntx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their\nvalue through ucontrol->value.integer.value[0] (a long) instead of\nucontrol->value.enumerated.item[0] (an unsigned int).\n\nThis same pattern was fixed in the sibling drivers by\ncommit bcfe5f76cc40 (\"ASoC: codecs: rx-macro: fix accessing array\nout of bounds for enum type\") and\ncommit 0ea5eff7c606 (\"ASoC: codecs: va-macro: fix accessing array\nout of bounds for enum type\"), but tx-macro was missed.\n\nOn 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value\nsanity check catches the 4 bytes written past the enumerated item\nand every read of these controls fails with -EINVAL:\n\n  snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow","source":"cvelist"}],"published":"2026-08-26T14:37:39.704Z","modified":"2026-08-27T13:18:40.937Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"dbc81b518f6936131bfd858be71cd4295136809c","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"f84f2c81d792cf1e65571108a3bdd2c29e09e995","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"48b76879f5bfc8584b99052510ac645c6ade8d2b","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"b6baab796d11fb84c0e9444ffca91af5eab22c25","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"3ee3c26ceee562079596abc9bc3307dd56dab4ed","status":"affected"},{"type":"git","introduced":"c39667ddcfc516fee084e449179d54430a558298","fixed":"1ba381759e45d5d0442452cfa5c42e836191a568","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.218","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.185","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.154","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.106","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.47","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.10","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/dbc81b518f6936131bfd858be71cd4295136809c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f84f2c81d792cf1e65571108a3bdd2c29e09e995","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48b76879f5bfc8584b99052510ac645c6ade8d2b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b6baab796d11fb84c0e9444ffca91af5eab22c25","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ee3c26ceee562079596abc9bc3307dd56dab4ed","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1ba381759e45d5d0442452cfa5c42e836191a568","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80583","url":"https://www.cve.org/CVERecord?id=CVE-2026-80583","licence":"CVE Terms of Use","modified":"2026-08-27T12:40:21.902Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80583","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80583","licence":"Public domain","modified":"2026-08-27T13:18:40.937Z"}],"updatedAt":"2026-11-25T22:59:35.404Z","epss":{"score":0.0012,"percentile":0.02031,"date":"2026-12-01T12:00:22.000Z"}}