{"id":"CVE-2026-64487","summary":"ALSA: caiaq: fix out-of-bounds read in the Traktor Kontrol S4 input parser","details":"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-\u003eactual_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-\u003eactual_length before dispatching.","modified":"2026-07-27T04:03:22.658253154Z","published":"2026-07-25T08:51:46.711Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64487.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/05df59b9a61f7ca66548df079d306c41da23845d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0680413f2f10aab43878dd3db711a6a9e45bab7c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3cad86197c7bf8b45bb1d8adc1099d0913e80469"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334"},{"type":"WEB","url":"https://git.kernel.org/stable/c/884f575cc6acb136eb4a161d925147f85b59c27e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5fd3122283bf75c04f6414bf610100beb0565b0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/de5f9edc705497b1b2c6b173b22f283486d2fd91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64487.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64487"},{"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":"15c5ab607045e278ebf4d2ca4aea2250617d50ca"},{"fixed":"de5f9edc705497b1b2c6b173b22f283486d2fd91"},{"fixed":"70d6d4cfa4ad09688aed2ec8a0cfa72c31f60334"},{"fixed":"884f575cc6acb136eb4a161d925147f85b59c27e"},{"fixed":"05df59b9a61f7ca66548df079d306c41da23845d"},{"fixed":"3cad86197c7bf8b45bb1d8adc1099d0913e80469"},{"fixed":"a5fd3122283bf75c04f6414bf610100beb0565b0"},{"fixed":"0680413f2f10aab43878dd3db711a6a9e45bab7c"},{"fixed":"f7f3f9fd81e7adbaa12c2e62ee07f0e094a543fd"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64487.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.37"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64487.json"}}],"schema_version":"1.7.5"}