{"id":"CVE-2025-38330","summary":"firmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware: cs_dsp: Fix OOB memory read access in KUnit test (ctl cache)\n\nKASAN reported out of bounds access - cs_dsp_ctl_cache_init_multiple_offsets().\nThe code uses mock_coeff_template.length_bytes (4 bytes) for register value\nallocations. But later, this length is set to 8 bytes which causes\ntest code failures.\n\nAs fix, just remove the lenght override, keeping the original value 4\nfor all operations.","modified":"2026-03-20T12:42:48.292006Z","published":"2025-07-10T08:15:03.579Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38330.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/e3dafc64b90546eb769f33333afabd9e3e915757"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f4ba2ea57da51d616b689c4b8826c517ff5a8523"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38330.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38330"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9b33a4fc500cedc1adc9c0ee01e30ffd50e5887a"},{"fixed":"e3dafc64b90546eb769f33333afabd9e3e915757"},{"fixed":"f4ba2ea57da51d616b689c4b8826c517ff5a8523"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38330.json"}}],"schema_version":"1.7.5"}