ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type") and commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array out of bounds for enum type"), but tx-macro was missed. On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value sanity check catches the 4 bytes written past the enumerated item and every read of these controls fails with -EINVAL: snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.15.218, 6.1.185, 6.12.106, 6.18.47, 6.6.154, 7.1.10
- CVEs
- CVE-2026-80583
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 17:19 UTC · Revision 1
Source evidence
ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses
core-osv · Original sourcePublished 26 Aug 2026, 14:37 UTC
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses The "DEC0 MODE" to "DEC7 MODE" controls are enumerated, but tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 ("ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type") and commit 0ea5eff7c606 ("ASoC: codecs: va-macro: fix accessing array out of bounds for enum type"), but tx-macro was missed. On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value sanity check catches the 4 bytes written past the enumerated item and every read of these controls fails with -EINVAL: snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow
osv:CVE-2026-80583
Kernel
Fixed versions: 5.15.218, 6.1.185, 6.6.154, 6.12.106, 6.18.47, 7.1.10
Complete source record
{
"id": "57c91dcb96caadba0b5ff1dac72555cf584694a0036e60ac81224ba4ade19a6e",
"url": "https://osv.dev/vulnerability/CVE-2026-80583",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: lpass-tx-macro: Fix enum kcontrol accesses The \"DEC0 MODE\" to \"DEC7 MODE\" controls are enumerated, but tx_macro_dec_mode_get() and tx_macro_dec_mode_put() access their value through ucontrol->value.integer.value[0] (a long) instead of ucontrol->value.enumerated.item[0] (an unsigned int). This same pattern was fixed in the sibling drivers by commit bcfe5f76cc40 (\"ASoC: codecs: rx-macro: fix accessing array out of bounds for enum type\") and commit 0ea5eff7c606 (\"ASoC: codecs: va-macro: fix accessing array out of bounds for enum type\"), but tx-macro was missed. On 64-bit kernels built with CONFIG_SND_CTL_DEBUG, the elem value sanity check catches the 4 bytes written past the enumerated item and every read of these controls fails with -EINVAL: snd-sm8250 sound: control 2:0:0:DEC0 MODE:0: access overflow",
"evidence": "osv:CVE-2026-80583",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.15.218",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.185",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.154",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.106",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.47",
"evidence": "/affected/1/ranges"
},
{
"value": "7.1.10",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-80583",
"aliases": [
"CVE-2026-80583"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c39667ddcfc516fee084e449179d54430a558298"
},
{
"fixed": "dbc81b518f6936131bfd858be71cd4295136809c"
},
{
"fixed": "f84f2c81d792cf1e65571108a3bdd2c29e09e995"
},
{
"fixed": "48b76879f5bfc8584b99052510ac645c6ade8d2b"
},
{
"fixed": "2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0"
},
{
"fixed": "b6baab796d11fb84c0e9444ffca91af5eab22c25"
},
{
"fixed": "3ee3c26ceee562079596abc9bc3307dd56dab4ed"
},
{
"fixed": "1ba381759e45d5d0442452cfa5c42e836191a568"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80583.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.12.0"
},
{
"fixed": "5.15.218"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.185"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.154"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.106"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.47"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.1.10"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80583.json"
}
}
],
"modified": "2026-10-28T02:30:51.224252013Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1ba381759e45d5d0442452cfa5c42e836191a568",
"https://git.kernel.org/stable/c/2ed3601e9db08fbdb071bd3d7bd8f115d6d871b0",
"https://git.kernel.org/stable/c/3ee3c26ceee562079596abc9bc3307dd56dab4ed",
"https://git.kernel.org/stable/c/48b76879f5bfc8584b99052510ac645c6ade8d2b",
"https://git.kernel.org/stable/c/b6baab796d11fb84c0e9444ffca91af5eab22c25",
"https://git.kernel.org/stable/c/dbc81b518f6936131bfd858be71cd4295136809c",
"https://git.kernel.org/stable/c/f84f2c81d792cf1e65571108a3bdd2c29e09e995",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80583.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-80583",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80583.json"
}
},
"related_cves": [
{
"value": "CVE-2026-80583",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 519971,
"published_at": "2026-08-26T14:37:39.704+00:00"
}