{"api_version":"1","generated_at":"2026-12-03T04:50:26+00:00","cve":"CVE-2026-142836","urls":{"html":"https://cve.report/CVE-2026-142836","api":"https://cve.report/api/cve/CVE-2026-142836.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142836","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142836"},"summary":{"title":"ALSA: cs46xx: fix unit mismatch in DSP code area bounds check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: cs46xx: fix unit mismatch in DSP code area bounds check\n\nins->code.offset and code->size are measured in 32-bit words, while\nDSP_CODE_BYTE_SIZE is the size of the DSP code area in bytes. The\ncheck ins->code.offset + code->size > DSP_CODE_BYTE_SIZE in\ncs46xx_dsp_load_module() therefore allowed up to four times more code\nthan the code area can hold.\n\nThe shadow buffer ins->code.data is allocated with\nkmalloc(DSP_CODE_BYTE_SIZE), i.e. it holds DSP_CODE_BYTE_SIZE/4\nwords. A firmware file with a code segment larger than\nDSP_CODE_BYTE_SIZE/4 words (28 KiB) passed the check and caused an\nout-of-bounds write in shadow_and_reallocate_code() and an\nout-of-bounds read in snd_cs46xx_download().\n\nCompare the sum in words against DSP_CODE_BYTE_SIZE/4 and cast it to\nu64 so that the sum cannot wrap for large code->size values.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 04:18:19","updated_at":"2026-12-03 04:18:19"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/15e36dc9be7b6050045de4b44ab518f3eec8ad3d","name":"https://git.kernel.org/stable/c/15e36dc9be7b6050045de4b44ab518f3eec8ad3d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fd65108f5001ffb416dc9bd37ec1893f55cff24a","name":"https://git.kernel.org/stable/c/fd65108f5001ffb416dc9bd37ec1893f55cff24a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/183cc1c1c47d095513d1ab43aacba9771d8ab5e6","name":"https://git.kernel.org/stable/c/183cc1c1c47d095513d1ab43aacba9771d8ab5e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/295716aa9efe5169dd7cb8d4434a2f4d89d68ea3","name":"https://git.kernel.org/stable/c/295716aa9efe5169dd7cb8d4434a2f4d89d68ea3","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e2604712a9cbbdddeba1be02dcb86ff87972c52c","name":"https://git.kernel.org/stable/c/e2604712a9cbbdddeba1be02dcb86ff87972c52c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/842c4f3e448ea6fff3be6730f94690927a294c2c","name":"https://git.kernel.org/stable/c/842c4f3e448ea6fff3be6730f94690927a294c2c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7f0c621d6a94dcf65c9af9af37063f5235170714","name":"https://git.kernel.org/stable/c/7f0c621d6a94dcf65c9af9af37063f5235170714","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/579f615bd0f7e38b12a5de5615ca671aca030fc7","name":"https://git.kernel.org/stable/c/579f615bd0f7e38b12a5de5615ca671aca030fc7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142836","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142836","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 295716aa9efe5169dd7cb8d4434a2f4d89d68ea3 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 842c4f3e448ea6fff3be6730f94690927a294c2c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 e2604712a9cbbdddeba1be02dcb86ff87972c52c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 579f615bd0f7e38b12a5de5615ca671aca030fc7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 183cc1c1c47d095513d1ab43aacba9771d8ab5e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 15e36dc9be7b6050045de4b44ab518f3eec8ad3d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 7f0c621d6a94dcf65c9af9af37063f5235170714 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 fd65108f5001ffb416dc9bd37ec1893f55cff24a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.12","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.12 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["sound/pci/cs46xx/dsp_spos.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"295716aa9efe5169dd7cb8d4434a2f4d89d68ea3","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"842c4f3e448ea6fff3be6730f94690927a294c2c","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"e2604712a9cbbdddeba1be02dcb86ff87972c52c","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"579f615bd0f7e38b12a5de5615ca671aca030fc7","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"183cc1c1c47d095513d1ab43aacba9771d8ab5e6","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"15e36dc9be7b6050045de4b44ab518f3eec8ad3d","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"7f0c621d6a94dcf65c9af9af37063f5235170714","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"},{"lessThan":"fd65108f5001ffb416dc9bd37ec1893f55cff24a","status":"affected","version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["sound/pci/cs46xx/dsp_spos.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.12"},{"lessThan":"2.6.12","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"2.6.12","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"2.6.12","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: cs46xx: fix unit mismatch in DSP code area bounds check\n\nins->code.offset and code->size are measured in 32-bit words, while\nDSP_CODE_BYTE_SIZE is the size of the DSP code area in bytes. The\ncheck ins->code.offset + code->size > DSP_CODE_BYTE_SIZE in\ncs46xx_dsp_load_module() therefore allowed up to four times more code\nthan the code area can hold.\n\nThe shadow buffer ins->code.data is allocated with\nkmalloc(DSP_CODE_BYTE_SIZE), i.e. it holds DSP_CODE_BYTE_SIZE/4\nwords. A firmware file with a code segment larger than\nDSP_CODE_BYTE_SIZE/4 words (28 KiB) passed the check and caused an\nout-of-bounds write in shadow_and_reallocate_code() and an\nout-of-bounds read in snd_cs46xx_download().\n\nCompare the sum in words against DSP_CODE_BYTE_SIZE/4 and cast it to\nu64 so that the sum cannot wrap for large code->size values.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"providerMetadata":{"dateUpdated":"2026-12-03T03:20:49.879Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/295716aa9efe5169dd7cb8d4434a2f4d89d68ea3"},{"url":"https://git.kernel.org/stable/c/842c4f3e448ea6fff3be6730f94690927a294c2c"},{"url":"https://git.kernel.org/stable/c/e2604712a9cbbdddeba1be02dcb86ff87972c52c"},{"url":"https://git.kernel.org/stable/c/579f615bd0f7e38b12a5de5615ca671aca030fc7"},{"url":"https://git.kernel.org/stable/c/183cc1c1c47d095513d1ab43aacba9771d8ab5e6"},{"url":"https://git.kernel.org/stable/c/15e36dc9be7b6050045de4b44ab518f3eec8ad3d"},{"url":"https://git.kernel.org/stable/c/7f0c621d6a94dcf65c9af9af37063f5235170714"},{"url":"https://git.kernel.org/stable/c/fd65108f5001ffb416dc9bd37ec1893f55cff24a"}],"title":"ALSA: cs46xx: fix unit mismatch in DSP code area bounds check","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-142836","datePublished":"2026-12-03T03:20:49.879Z","dateReserved":"2026-12-03T03:10:28.332Z","dateUpdated":"2026-12-03T03:20:49.879Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 04:18:19","lastModifiedDate":"2026-12-03 04:18:19","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142836","Ordinal":"1","Title":"ALSA: cs46xx: fix unit mismatch in DSP code area bounds check","CVE":"CVE-2026-142836","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142836","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: cs46xx: fix unit mismatch in DSP code area bounds check\n\nins->code.offset and code->size are measured in 32-bit words, while\nDSP_CODE_BYTE_SIZE is the size of the DSP code area in bytes. The\ncheck ins->code.offset + code->size > DSP_CODE_BYTE_SIZE in\ncs46xx_dsp_load_module() therefore allowed up to four times more code\nthan the code area can hold.\n\nThe shadow buffer ins->code.data is allocated with\nkmalloc(DSP_CODE_BYTE_SIZE), i.e. it holds DSP_CODE_BYTE_SIZE/4\nwords. A firmware file with a code segment larger than\nDSP_CODE_BYTE_SIZE/4 words (28 KiB) passed the check and caused an\nout-of-bounds write in shadow_and_reallocate_code() and an\nout-of-bounds read in snd_cs46xx_download().\n\nCompare the sum in words against DSP_CODE_BYTE_SIZE/4 and cast it to\nu64 so that the sum cannot wrap for large code->size values.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","Type":"Description","Title":"ALSA: cs46xx: fix unit mismatch in DSP code area bounds check"}]}}}