# CVE-2026-97910: ASoC: sprd: validate compress buffer sizes against fixed allocations

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-09-25T10:22:34.043Z
- **Modified:** 2026-10-19T10:17:41.513Z

## Who should check

- Anyone running Linux \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2fada8276117215407afd1f59de5d2fe22aff01f; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ad796a1bc1875da2ebb616ea9bc1f2994273fd02; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 1467e3989c6edf79d3898c78aa47027f31ee5acb; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 38a9bb5221bcdece5507299f739c6751d8fc16b2; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ff63b0adc4f6a5b61c8393d204fac44c594c4d39; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 8064b73997f137c00a7e2e38295a763f9423928b; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751
- Anyone running Linux 5.2

## Description

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.

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.

## Affected and fixed versions

- Linux: \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2fada8276117215407afd1f59de5d2fe22aff01f; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ad796a1bc1875da2ebb616ea9bc1f2994273fd02; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 1467e3989c6edf79d3898c78aa47027f31ee5acb; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 38a9bb5221bcdece5507299f739c6751d8fc16b2; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ff63b0adc4f6a5b61c8393d204fac44c594c4d39; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 8064b73997f137c00a7e2e38295a763f9423928b; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97910. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97910.md
Affected: Linux >= cce1396936ef2b347d622b4d49718818eb32029d, < 2fada8276117215407afd1f59de5d2fe22aff01f; >= cce1396936ef2b347d622b4d49718818eb32029d, < ad796a1bc1875da2ebb616ea9bc1f2994273fd02; >= cce1396936ef2b347d622b4d49718818eb32029d, < 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3; >= cce1396936ef2b347d622b4…
Fixed in: Linux 2fada8276117215407afd1f59de5d2fe22aff01f, Linux 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3, Linux 1467e3989c6edf79d3898c78aa47027f31ee5acb, Linux 38a9bb5221bcdece5507299f739c6751d8fc16b2, Linux 8064b73997f137c00a7e2e38295a763f9423928b, Linux 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97910 being exploited?

There is no confirmed exploitation: CVE-2026-97910 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97910?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-97910?

Linux \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2fada8276117215407afd1f59de5d2fe22aff01f; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ad796a1bc1875da2ebb616ea9bc1f2994273fd02; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 1467e3989c6edf79d3898c78aa47027f31ee5acb; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 38a9bb5221bcdece5507299f739c6751d8fc16b2; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< ff63b0adc4f6a5b61c8393d204fac44c594c4d39; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 8064b73997f137c00a7e2e38295a763f9423928b; \>= cce1396936ef2b347d622b4d49718818eb32029d, \< 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751; Linux 5.2.

### Is there a fix for CVE-2026-97910?

Yes. Fixed in Linux 2fada8276117215407afd1f59de5d2fe22aff01f, Linux 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3, Linux 1467e3989c6edf79d3898c78aa47027f31ee5acb, Linux 38a9bb5221bcdece5507299f739c6751d8fc16b2, Linux 8064b73997f137c00a7e2e38295a763f9423928b, Linux 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751. Upgrade Linux to 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751 or later.

### How do I check if I'm affected by CVE-2026-97910?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/2fada8276117215407afd1f59de5d2fe22aff01f>
- other: <https://git.kernel.org/stable/c/ad796a1bc1875da2ebb616ea9bc1f2994273fd02>
- other: <https://git.kernel.org/stable/c/2e27144ba4b98bb3eb14aaccd4b088e2e69844e3>
- other: <https://git.kernel.org/stable/c/1467e3989c6edf79d3898c78aa47027f31ee5acb>
- other: <https://git.kernel.org/stable/c/38a9bb5221bcdece5507299f739c6751d8fc16b2>
- other: <https://git.kernel.org/stable/c/ff63b0adc4f6a5b61c8393d204fac44c594c4d39>
- other: <https://git.kernel.org/stable/c/8064b73997f137c00a7e2e38295a763f9423928b>
- other: <https://git.kernel.org/stable/c/7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97910>

HTML: <https://flawdb.com/CVE-2026-97910> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97910>
