{"id":"CVE-2026-31777","state":"PUBLISHED","title":"ALSA: ctxfi: Check the error for index mapping","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Check the error for index mapping\n\nThe ctxfi driver blindly assumed a proper value returned from\ndaio_device_index(), but it's not always true.  Add a proper error\ncheck to deal with the error from the function.","publishedAt":"2026-05-01T14:15:05.127Z","updatedAt":"2026-10-15T10:07:04.688Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"971854e7b6ddda78669d3d0cf6566c7b8aca1fdb","versionType":"git"},{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc","versionType":"git"},{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"277c6960d4ddb94d16198afd70c92c3d4593d131","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":"2.6.31","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.31","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","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/971854e7b6ddda78669d3d0cf6566c7b8aca1fdb","https://git.kernel.org/stable/c/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc","https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31777.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31777","state":"PUBLISHED","datePublished":"2026-05-01T14:15:05.127Z","dateUpdated":"2026-10-15T10:07:04.688Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.140Z"},"containers":{"cna":{"title":"ALSA: ctxfi: Check the error for index mapping","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: ctxfi: Check the error for index mapping\n\nThe ctxfi driver blindly assumed a proper value returned from\ndaio_device_index(), but it's not always true.  Add a proper error\ncheck to deal with the error from the function."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"971854e7b6ddda78669d3d0cf6566c7b8aca1fdb","versionType":"git"},{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc","versionType":"git"},{"version":"8cc72361481f00253f1e468ade5795427386d593","status":"affected","lessThan":"277c6960d4ddb94d16198afd70c92c3d4593d131","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":"2.6.31","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.31","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","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/971854e7b6ddda78669d3d0cf6566c7b8aca1fdb"},{"url":"https://git.kernel.org/stable/c/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc"},{"url":"https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-15T10:07:04.688Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"6.19.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.31","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}