CVE Catalog

CVE-2025-38330

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, a fix was made for an out-of-bounds (OOB) memory read access in the KUnit test (ctl cache) within the firmware: cs_dsp component. The code used `mock_coeff_template.length_bytes` (4 bytes) for register value allocations, but later this length was set to 8 bytes, causing test failures. The fix removes the length override, keeping the original value 4 for all operations.

Risk Assessment

The vulnerability exists only in KUnit test code and therefore does not affect production environments. The risk is limited to test failures or false alarms in the CI process.

Recommendation

Update the Linux kernel to a version containing the fix. In production environments, no immediate action is required as the issue only affects tests.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS