Bug 2379256 (CVE-2025-38340)

Summary: CVE-2025-38340 kernel: Linux kernel: Information disclosure or Denial of Service due to out-of-bounds read in cs_dsp firmware
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rhel-process-autobot, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel. A local user could exploit an out-of-bounds memory read vulnerability in the `cs_dsp` firmware component. This occurs because the `cs_dsp_mock_bin_add_name_or_info()` function incorrectly calculates the length of a source string, leading to access beyond allocated memory. This memory corruption could result in information disclosure or a denial of service (DoS) on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2025-07-10 09:03:18 UTC
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.

Comment 1 Avinash Hanwate 2025-07-10 10:51:20 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071034-CVE-2025-38340-bd10@gregkh/T