All vulnerabilities
CVE-2026-97910

Linux: ASoC: sprd: validate compress buffer sizes against fixed allocations

Linux LinuxOperating systems
CVSS
7.8High
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.16%Chance of exploitation activity in the next 30 days, higher than 4% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed in2fada8276117215407afd1f59de5d2fe22aff01fAlso 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3, 1467e3989c6edf79d3898c78aa47027f31ee5acb and 3 moreCVE List
Published25 Sep 2026Updated 19 Oct 2026CVE List

What fixes it

  • 2fada8276117215407afd1f59de5d2fe22aff01fLinuxCVE List
  • 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3LinuxCVE List
  • 1467e3989c6edf79d3898c78aa47027f31ee5acbLinuxCVE List
  • 38a9bb5221bcdece5507299f739c6751d8fc16b2LinuxCVE List
  • 8064b73997f137c00a7e2e38295a763f9423928bLinuxCVE List
  • 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751LinuxCVE List

A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.

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.

Text from CVE List

Affected versions 18

  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 2fada8276117215407afd1f59de5d2fe22aff01fCVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before ad796a1bc1875da2ebb616ea9bc1f2994273fd02CVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 2e27144ba4b98bb3eb14aaccd4b088e2e69844e3CVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 1467e3989c6edf79d3898c78aa47027f31ee5acbCVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 38a9bb5221bcdece5507299f739c6751d8fc16b2CVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before ff63b0adc4f6a5b61c8393d204fac44c594c4d39CVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 8064b73997f137c00a7e2e38295a763f9423928bCVE List
  • Linuxaffected: cce1396936ef2b347d622b4d49718818eb32029d before 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751CVE List
  • Linuxaffected: 5.2CVE List
  • Linuxunaffected: all versions before 5.2CVE List
  • Linuxunaffected: 5.10.271 through 5.10.*CVE List
  • Linuxunaffected: 5.15.222 through 5.15.*CVE List
  • Linuxunaffected: 6.1.189 through 6.1.*CVE List
  • Linuxunaffected: 6.6.158 through 6.6.*CVE List
  • Linuxunaffected: 6.12.111 through 6.12.*CVE List
  • Linuxunaffected: 6.18.53 through 6.18.*CVE List
  • Linuxunaffected: 7.2.7 through 7.2.*CVE List
  • Linuxunaffected: 7.3CVE List

References 8