CVE-2026-97910

ASoC: sprd: validate compress buffer sizes against fixed allocations

7.8 high EPSS 0.17%

Published 25 Sep 2026 Updated 19 Oct 2026 CNA: Linux

Check your servers for CVE-2026-97910

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97910 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.40% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 2fada8276117215407afd1f59de5d2fe22aff01f
affected from cce1396936ef2b347d622b4d49718818eb32029d, before ad796a1bc1875da2ebb616ea9bc1f2994273fd02
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 1467e3989c6edf79d3898c78aa47027f31ee5acb
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 38a9bb5221bcdece5507299f739c6751d8fc16b2
affected from cce1396936ef2b347d622b4d49718818eb32029d, before ff63b0adc4f6a5b61c8393d204fac44c594c4d39
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 8064b73997f137c00a7e2e38295a763f9423928b
affected from cce1396936ef2b347d622b4d49718818eb32029d, before 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751
Other versions: unaffected
Linux
affected 5.2
unaffected before 5.2
unaffected from 5.10.271 up to and including 5.10.*
unaffected from 5.15.222 up to and including 5.15.*
unaffected from 6.1.189 up to and including 6.1.*
unaffected from 6.6.158 up to and including 6.6.*
unaffected from 6.12.111 up to and including 6.12.*
unaffected from 6.18.53 up to and including 6.18.*
unaffected from 7.2.7 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97910 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97910

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-97910
trivy image --scanners vuln IMAGE | grep CVE-2026-97910

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-97910 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.