{"id":"CVE-2026-64487","state":"PUBLISHED","title":"ALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser\n\nsnd_usb_caiaq_tks4_dispatch() decodes the Traktor Kontrol S4 input\nstream in fixed 16-byte (TKS4_MSGBLOCK_SIZE) message blocks. On every\niteration it advances buf and subtracts the block size while looping on\n\"while (len)\".\n\nlen is urb->actual_length. That value is supplied by the device and is\nnot guaranteed to be a multiple of 16. When a final short block leaves\nlen between 1 and 15, the loop runs once more, reads up to buf[15], and\nthen does \"len -= TKS4_MSGBLOCK_SIZE\". As len is unsigned this underflows\nto a huge value. The loop then keeps iterating and walking buf far past\nthe end of the 512-byte ep4_in_buf, reading out of bounds until a bogus\nblock id happens to be hit.\n\nIterate only while a full message block is available. This stops the\nunsigned underflow and silently drops any trailing partial block, which\ncarries no complete control value anyway.\n\nThe sibling endpoint-4 parsers are not affected. The Traktor Kontrol X1\nand Maschine arms in snd_usb_caiaq_ep4_reply_dispatch() floor\nurb->actual_length before dispatching.","publishedAt":"2026-07-25T08:51:46.711Z","updatedAt":"2026-08-17T04:56:34.866Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"de5f9edc705497b1b2c6b173b22f283486d2fd91","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"884f575cc6acb136eb4a161d925147f85b59c27e","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"05df59b9a61f7ca66548df079d306c41da23845d","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"3cad86197c7bf8b45bb1d8adc1099d0913e80469","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"a5fd3122283bf75c04f6414bf610100beb0565b0","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"0680413f2f10aab43878dd3db711a6a9e45bab7c","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/caiaq/input.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/caiaq/input.c"]}],"references":["https://git.kernel.org/stable/c/de5f9edc705497b1b2c6b173b22f283486d2fd91","https://git.kernel.org/stable/c/70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334","https://git.kernel.org/stable/c/884f575cc6acb136eb4a161d925147f85b59c27e","https://git.kernel.org/stable/c/05df59b9a61f7ca66548df079d306c41da23845d","https://git.kernel.org/stable/c/3cad86197c7bf8b45bb1d8adc1099d0913e80469","https://git.kernel.org/stable/c/a5fd3122283bf75c04f6414bf610100beb0565b0","https://git.kernel.org/stable/c/0680413f2f10aab43878dd3db711a6a9e45bab7c","https://git.kernel.org/stable/c/f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64487.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64487","state":"PUBLISHED","datePublished":"2026-07-25T08:51:46.711Z","dateUpdated":"2026-08-17T04:56:34.866Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-19T15:36:31.792Z"},"containers":{"cna":{"title":"ALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser\n\nsnd_usb_caiaq_tks4_dispatch() decodes the Traktor Kontrol S4 input\nstream in fixed 16-byte (TKS4_MSGBLOCK_SIZE) message blocks. On every\niteration it advances buf and subtracts the block size while looping on\n\"while (len)\".\n\nlen is urb->actual_length. That value is supplied by the device and is\nnot guaranteed to be a multiple of 16. When a final short block leaves\nlen between 1 and 15, the loop runs once more, reads up to buf[15], and\nthen does \"len -= TKS4_MSGBLOCK_SIZE\". As len is unsigned this underflows\nto a huge value. The loop then keeps iterating and walking buf far past\nthe end of the 512-byte ep4_in_buf, reading out of bounds until a bogus\nblock id happens to be hit.\n\nIterate only while a full message block is available. This stops the\nunsigned underflow and silently drops any trailing partial block, which\ncarries no complete control value anyway.\n\nThe sibling endpoint-4 parsers are not affected. The Traktor Kontrol X1\nand Maschine arms in snd_usb_caiaq_ep4_reply_dispatch() floor\nurb->actual_length before dispatching."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"de5f9edc705497b1b2c6b173b22f283486d2fd91","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"884f575cc6acb136eb4a161d925147f85b59c27e","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"05df59b9a61f7ca66548df079d306c41da23845d","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"3cad86197c7bf8b45bb1d8adc1099d0913e80469","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"a5fd3122283bf75c04f6414bf610100beb0565b0","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"0680413f2f10aab43878dd3db711a6a9e45bab7c","versionType":"git"},{"version":"15c5ab607045e278ebf4d2ca4aea2250617d50ca","status":"affected","lessThan":"f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/caiaq/input.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.37","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.37","versionType":"semver"},{"version":"5.10.261","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.212","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.178","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.145","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.96","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.39","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.1.4","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/usb/caiaq/input.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/de5f9edc705497b1b2c6b173b22f283486d2fd91"},{"url":"https://git.kernel.org/stable/c/70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334"},{"url":"https://git.kernel.org/stable/c/884f575cc6acb136eb4a161d925147f85b59c27e"},{"url":"https://git.kernel.org/stable/c/05df59b9a61f7ca66548df079d306c41da23845d"},{"url":"https://git.kernel.org/stable/c/3cad86197c7bf8b45bb1d8adc1099d0913e80469"},{"url":"https://git.kernel.org/stable/c/a5fd3122283bf75c04f6414bf610100beb0565b0"},{"url":"https://git.kernel.org/stable/c/0680413f2f10aab43878dd3db711a6a9e45bab7c"},{"url":"https://git.kernel.org/stable/c/f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T04:56:34.866Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.10.261"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.15.212"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.1.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.6.145"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.12.96"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.18.39"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.1.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}