Cloudanix VulnDB

CVE-2025-38340

None

CVSS

—

EPSS

0.2%

Published

Jul 10, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A Linux kernel testing bug could let certain checks read a little too far into memory, and updating to the newest kernel versions removes that problem.

Exploitation
Other
Attacker needs
None
Complexity
Theoretical
Impact
Other
Component
OS kernel
Class
Memory Corruption
Remediation
Patch
Effort
Low
Patch risk
None

What it actually does

Out-of-bounds memory read in cs_dsp_mock_bin_add_name_or_info() caused by source string length being rounded up to allocation size, allowing KASAN-detected access past buffer bounds in KUnit test code.

Why it matters to the business

Potential kernel test instability or crashes during development and validation of firmware DSP components on affected Linux LTS builds; negligible production risk as the flaw is confined to test mocking logic with no known active exploitation.

How an attack unfolds

An attacker would need to compile and execute the vulnerable KUnit test suite on a kernel build that includes the cs_dsp mock functions, triggering the length miscalculation to read beyond allocated memory; no evidence of real-world use by threat actors.

How to fix it

Update to fixed kernel versions: linux-lts (Alpaquita:23) 6.1.81-r0 or newer, linux-lts (Alpaquita:stream) 6.6.58-r0 or 6.12.41-r0 or newer, and GIT commit 8f4cc454a0bb45b800bc7817c09c8f72e31901f3 or equivalent stable backports.

How to confirm the fix worked

Confirm running kernel version matches or exceeds the listed fixed releases; re-execute cs_dsp KUnit tests under KASAN and verify absence of out-of-bounds reports for the mock name/info function.

Typical attack path

  1. Build or boot a vulnerable Linux kernel with KUnit and cs_dsp test support enabled
  2. Invoke the cs_dsp KUnit test that calls cs_dsp_mock_bin_add_name_or_info()
  3. Trigger string allocation path where length rounding exceeds buffer
  4. Observe or exploit resulting out-of-bounds read via KASAN or memory inspection

How to detect it

Search kernel logs and KASAN output for mentions of cs_dsp_mock_bin_add_name_or_info and out-of-bounds read; review test execution artifacts from development builds for signs of the allocation length mismatch.

What your security team should do

  • Prioritize kernel package upgrades on all development and test systems using the listed Alpaquita linux-lts variants
  • Include the specific fixed versions in patch management automation
  • Re-run affected KUnit suites post-update to validate resolution
  • Monitor EPSS and KEV updates given the low but non-zero exploitation probability

The record

In the Linux kernel, the following vulnerability has been resolved: firmware: cs_dsp: Fix OOB memory read access in KUnit test KASAN reported out of bounds access - cs_dsp_mock_bin_add_name_or_info(), because the source string length was rounded up to the allocation size.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 linux 0 No fix
Debian:12 linux 0 No fix
Debian:13 linux 0 No fix
Linux Kernel 6.14.0 6.15.4

Related vulnerabilities