CVE-2026-97910
In the Linux kernel, the following vulnerability has been resolved:
ASoC: sprd: validate compress buffer sizes against fixed allocations
sprd_platform_compr_open() allocates the stage 0 IRAM buffer (32K data area) and the stage 1 DDR buffer (2M data area) with fixed sizes, but sprd_platform_compr_copy() derives all copy lengths from the user controlled runtime->fragment_size and the write() count, never comparing them against the physical buffer sizes. The compress core only checks fragment_size * fragments for an u32 overflow in snd_compress_check_input(), so a local user can configure a logical buffer of up to ~4GB via SNDRV_COMPRESS_SET_PARAMS, far exceeding the fixed allocations.
Leer descripción completaMostrar menos
A fragment_size larger than the 32K IRAM data area makes the stage 0 copy_from_user() overflow past the IRAM allocation, and a buffer_size larger than the 2M DDR buffer makes the wrapping copy at the end of sprd_platform_compr_copy() write fully user controlled data past the buffer. No SNDRV_PCM_TRIGGER_START is needed, a write() in SETUP state reaches the copy callback directly.
Reject parameters that do not fit into the fixed buffers in set_params(), and fix the advertised max fragment size: 128K never fitted into the 32K IRAM buffer. The caps values may have been carried over from the qdsp6 driver, which allocates its buffers according to the advertised maxima, unlike this driver. With 32K as max fragment size the advertised limits are self-consistent: 32K * 64 = 2M equals the DDR buffer size.
Discovered by Atuin - Automated Vulnerability Discovery Engine.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 7.8
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.16%
- Percentil entre todas las CVEs puntuadas: 4
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1068Exploitation for Privilege Escalationprivilege escalation95 % - Impacto principal
T1499.004Application or System Exploitationimpact85 % - Impacto secundario
T1005Data from Local Systemcollection80 % - Impacto secundario
T1565.001Stored Data Manipulationimpact75 %
Vulnerabilidad de desbordamiento de búfer local en kernel Linux sin privilegios requeridos (PR:L). Permite DoS por corrupción de memoria, lectura de datos y manipulación de buffers de audio mediante parámetros SNDRV_COMPRESS_SET_PARAMS no validados.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Referencias
- https://git.kernel.org/stable/c/1467e3989c6edf79d3898c78aa47027f31ee5acb
- https://git.kernel.org/stable/c/2e27144ba4b98bb3eb14aaccd4b088e2e69844e3
- https://git.kernel.org/stable/c/2fada8276117215407afd1f59de5d2fe22aff01f
- https://git.kernel.org/stable/c/38a9bb5221bcdece5507299f739c6751d8fc16b2
- https://git.kernel.org/stable/c/7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751
- https://git.kernel.org/stable/c/8064b73997f137c00a7e2e38295a763f9423928b
- https://git.kernel.org/stable/c/ad796a1bc1875da2ebb616ea9bc1f2994273fd02
- https://git.kernel.org/stable/c/ff63b0adc4f6a5b61c8393d204fac44c594c4d39
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-97910",
"cveTags": [],
"metrics": {
"cvssMetricV31": [
{
"type": "Secondary",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 1.8
}
]
},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "2fada8276117215407afd1f59de5d2fe22aff01f",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "ad796a1bc1875da2ebb616ea9bc1f2994273fd02",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "2e27144ba4b98bb3eb14aaccd4b088e2e69844e3",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "1467e3989c6edf79d3898c78aa47027f31ee5acb",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "38a9bb5221bcdece5507299f739c6751d8fc16b2",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "ff63b0adc4f6a5b61c8393d204fac44c594c4d39",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "8064b73997f137c00a7e2e38295a763f9423928b",
"versionType": "git"
},
{
"status": "affected",
"version": "cce1396936ef2b347d622b4d49718818eb32029d",
"lessThan": "7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751",
"versionType": "git"
}
],
"programFiles": [
"sound/soc/sprd/sprd-pcm-compress.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.2"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.2",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3-rc3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"sound/soc/sprd/sprd-pcm-compress.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-09-25T11:17:17.957",
"references": [
{
"url": "https://git.kernel.org/stable/c/1467e3989c6edf79d3898c78aa47027f31ee5acb",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2e27144ba4b98bb3eb14aaccd4b088e2e69844e3",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/2fada8276117215407afd1f59de5d2fe22aff01f",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/38a9bb5221bcdece5507299f739c6751d8fc16b2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8064b73997f137c00a7e2e38295a763f9423928b",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ad796a1bc1875da2ebb616ea9bc1f2994273fd02",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ff63b0adc4f6a5b61c8393d204fac44c594c4d39",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: sprd: validate compress buffer sizes against fixed allocations\n\nsprd_platform_compr_open() allocates the stage 0 IRAM buffer (32K data\narea) and the stage 1 DDR buffer (2M data area) with fixed sizes, but\nsprd_platform_compr_copy() derives all copy lengths from the user\ncontrolled runtime->fragment_size and the write() count, never\ncomparing them against the physical buffer sizes. The compress core\nonly checks fragment_size * fragments for an u32 overflow in\nsnd_compress_check_input(), so a local user can configure a logical\nbuffer of up to ~4GB via SNDRV_COMPRESS_SET_PARAMS, far exceeding the\nfixed allocations.\n\nA fragment_size larger than the 32K IRAM data area makes the stage 0\ncopy_from_user() overflow past the IRAM allocation, and a buffer_size\nlarger than the 2M DDR buffer makes the wrapping copy at the end of\nsprd_platform_compr_copy() write fully user controlled data past the\nbuffer. No SNDRV_PCM_TRIGGER_START is needed, a write() in SETUP\nstate reaches the copy callback directly.\n\nReject parameters that do not fit into the fixed buffers in\nset_params(), and fix the advertised max fragment size: 128K never\nfitted into the 32K IRAM buffer. The caps values may have been carried over\nfrom the qdsp6 driver, which allocates its buffers according to the\nadvertised maxima, unlike this driver. With 32K as max fragment size\nthe advertised limits are self-consistent: 32K * 64 = 2M equals the\nDDR buffer size.\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine."
}
],
"lastModified": "2026-10-03T11:18:09.290",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}