{"id":"CVE-2026-31776","state":"PUBLISHED","title":"ALSA: ctxfi: Fix missing SPDIFI1 index handling","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Fix missing SPDIFI1 index handling\n\nSPDIF1 DAIO type isn't properly handled in daio_device_index() for\nhw20k2, and it returned -EINVAL, which ended up with the out-of-bounds\narray access.  Follow the hw20k1 pattern and return the proper index\nfor this type, too.","publishedAt":"2026-05-01T14:15:04.423Z","updatedAt":"2026-05-11T22:15:35.385Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16","status":"affected","lessThan":"950decf59d4e978b60a792ce0b3e1555a608f489","versionType":"git"},{"version":"a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16","status":"affected","lessThan":"b045ab3dff97edae6d538eeff900a34c098761f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/ctxfi/ctdaio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/ctxfi/ctdaio.c"]}],"references":["https://git.kernel.org/stable/c/950decf59d4e978b60a792ce0b3e1555a608f489","https://git.kernel.org/stable/c/b045ab3dff97edae6d538eeff900a34c098761f8"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31776.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31776","state":"PUBLISHED","datePublished":"2026-05-01T14:15:04.423Z","dateUpdated":"2026-05-11T22:15:35.385Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.140Z"},"containers":{"cna":{"title":"ALSA: ctxfi: Fix missing SPDIFI1 index handling","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Fix missing SPDIFI1 index handling\n\nSPDIF1 DAIO type isn't properly handled in daio_device_index() for\nhw20k2, and it returned -EINVAL, which ended up with the out-of-bounds\narray access.  Follow the hw20k1 pattern and return the proper index\nfor this type, too."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16","status":"affected","lessThan":"950decf59d4e978b60a792ce0b3e1555a608f489","versionType":"git"},{"version":"a2dbaeb5c61ef110ceefe0d48fe94d428d3bcf16","status":"affected","lessThan":"b045ab3dff97edae6d538eeff900a34c098761f8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/ctxfi/ctdaio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"6.19.12","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/ctxfi/ctdaio.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/950decf59d4e978b60a792ce0b3e1555a608f489"},{"url":"https://git.kernel.org/stable/c/b045ab3dff97edae6d538eeff900a34c098761f8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:15:35.385Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}