CVE-2026-97910
Last modified
CVE-2026-97910 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.
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.
Metrics
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= cce1396936ef2b347d622b4d49718818eb32029d, < 38a9bb5221bcdece5507299f739c6751d8fc16b2; >= cce1396936ef2b347d622b4d49718818eb32029d, < ff63b0adc4f6a5b61c8393d204fac44c594c4d39; >= cce1396936ef2b347d622b4d49718818eb32029d, < 8064b73997f137c00a7e2e38295a763f9423928b; >= cce1396936ef2b347d622b4d49718818eb32029d, < 7a4ce92d150b9e7ecf1a710a34d8cdeb590d3751 |
| Linux | Linux | 5.2 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-97910?
How severe is CVE-2026-97910?
How do I fix CVE-2026-97910?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-97905In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97906In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97907In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97908In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97909In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9791A flaw was found in Keycloak. An authenticated user with exi…4.3
- CVE-2026-97911In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-97912In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97913In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97914In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97915In the Linux kernel, the following vulnerability has been re…
- CVE-2026-97916In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-97910?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
