Bug 2379229 (CVE-2025-38330) - CVE-2025-38330 kernel: firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)
Summary: CVE-2025-38330 kernel: firmware: cs_dsp: Fix OOB memory read access in KUnit ...
Keywords:
Status: NEW
Alias: CVE-2025-38330
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-10 09:01 UTC by OSIDB Bzimport
Modified: 2025-07-11 07:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-10 09:01:27 UTC
In the Linux kernel, the following vulnerability has been resolved:

firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)

KASAN reported out of bounds access - cs_dsp_ctl_cache_init_multiple_offsets().
The code uses mock_coeff_template.length_bytes (4 bytes) for register value
allocations. But later, this length is set to 8 bytes which causes
test code failures.

As fix, just remove the lenght override, keeping the original value 4
for all operations.

Comment 1 Avinash Hanwate 2025-07-11 06:51:21 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025071033-CVE-2025-38330-bc1d@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.