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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linuxUpgrade linux-6.12 | Sep 30, 2026 | Sep 25, 2026 |
| Ubuntu | — | Upgrade linux-azure-fipsUpgrade linux-azure-fdeUpgrade linux-oracle-5.15Upgrade linux-oem-7.0Upgrade linux-azure-5.15Upgrade linux-gkeUpgrade linux-lowlatencyUpgrade linux-gcpUpgrade linux-riscv-5.15Upgrade linux-ibm-5.15Upgrade linux-azure-fde-5.15Upgrade linux-gkeopUpgrade linux-intel-iotgUpgrade linux-riscvUpgrade linux-aws-5.15Upgrade linux-gcp-5.15Upgrade linux-nvidiaUpgrade linux-nvidia-tegraUpgrade linux-fipsUpgrade linux-riscv-7.0Upgrade linux-realtimeUpgrade linux-kvmUpgrade linux-nvidia-tegra-5.15Upgrade linux-oracleUpgrade linux-azureUpgrade linux-hwe-5.15Upgrade linux-hwe-7.0Upgrade linux-intel-iotg-5.15Upgrade linux-intel-iot-realtimeUpgrade linux-gcp-fipsUpgrade linux-bluefieldUpgrade linux-awsUpgrade linux-ibmUpgrade linux-lowlatency-hwe-5.15Upgrade linuxUpgrade linux-nvidia-tegra-igxUpgrade linux-aws-fips | Nov 3, 2026 | Sep 25, 2026 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Oct 13, 2026 | Sep 25, 2026 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub