From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 493DF30BF70 for ; Wed, 24 Jun 2026 16:32:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318747; cv=none; b=NUnXImwMAzn7WJ9k1dJIh1+gqpcNILVgErV0x4t/dRCrLVxFzhXmQwVsM+FY3/lgfI4JFf52JyjFF4W2DQnsBeGFkmSE+na3gfcysJ6lCDeHTaROryPMgJ+Kmzx5VzqN3Yqh7pzEwsrBkIKFV0xdTMWR4QBFHYzw6AicG7S69L8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782318747; c=relaxed/simple; bh=IlBfEhCiEHTJDbKFDIStHwqp1+ctrT0RNUI9YkAWHd0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eIFwm9JSU4MuiPEfA/K8Ta2Zibfk6zhd+fdMoMF3MhM9BUTsghcAjOdNYwR2S5dyXQcX2E4pG77O8Itx5G07evP1zUatRH0QuWR9JS/pTSfJaUutRomxHMXnNWa2nagLeMAfmLQ8ondePhR00tVpQuQkZoYUnAa8EI2xPcjNaKw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=eSkHQYRZ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="eSkHQYRZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5901F1F000E9; Wed, 24 Jun 2026 16:32:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782318746; bh=39uy242YLmmsvU83CZUmnqADoigTQCA5UKAUWL13p7A=; h=From:To:Cc:Subject:Date:Reply-To; b=eSkHQYRZLw+DH7sixrB6tXNiWM3vbCu2B7Y4pSd3X4bfto1n0+IXhOe8fPAQ8CUge LPGxWQ3HlzzYBo0w9z2bpkxARrNIQFeONDYiM0jUsPhyxWPeRrLHGMKylPwk7j+pjN Y6k/TCEFwwnHTsBLC5CIdB5mALvOcRgMH3W8dKoI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-52964: ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans Date: Wed, 24 Jun 2026 17:29:48 +0100 Message-ID: <2026062437-CVE-2026-52964-695e@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2881; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NIWrphbaR4ANwMEkCDAM4OOlp+tjBgmbeAPkmGfEkhA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2rB/V1B01mJQZi+S1LhlLhXkn7n1yoDG/QKTjw/yOn Q6C27Z0xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwETUvjMsmLSRNenmqc/v5vQd 3id7quxccODdEob5EewFG6ebLm7atcN9Uvadb3sdXUvWAgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Bound MIDI 2.0 endpoint descriptor scans The USB MIDI 2.0 endpoint parser has the same descriptor walking pattern as the legacy MIDI parser. It validates bLength against bNumGrpTrmBlock before reading baAssoGrpTrmBlkID[], but not against the remaining bytes in the endpoint-extra scan. A malformed device can therefore make later baAssoGrpTrmBlkID[] reads consume bytes past the walked descriptor. Reject zero-length and overlong descriptors while walking endpoint extras. The Linux kernel CVE team has assigned CVE-2026-52964 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit ff49d1df79aef7580fe3ac99d17c3f886655d080 and fixed in 6.6.141 with commit fafc97bd01e4c737eaeafadfdadb1af4bbfa7307 Issue introduced in 6.5 with commit ff49d1df79aef7580fe3ac99d17c3f886655d080 and fixed in 6.12.91 with commit a310b4bebda5e4a1b26520c0cc5145ccd6d617e2 Issue introduced in 6.5 with commit ff49d1df79aef7580fe3ac99d17c3f886655d080 and fixed in 6.18.33 with commit f9c184a83574549a36ea69b755f650e57d164c78 Issue introduced in 6.5 with commit ff49d1df79aef7580fe3ac99d17c3f886655d080 and fixed in 7.0.10 with commit 17e76b19de1aff5ff4de64d269290bd1b07a01d3 Issue introduced in 6.5 with commit ff49d1df79aef7580fe3ac99d17c3f886655d080 and fixed in 7.1 with commit 918be519c7876329e1b6e2ea1c59f0b75e792dca Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-52964 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: sound/usb/midi2.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/fafc97bd01e4c737eaeafadfdadb1af4bbfa7307 https://git.kernel.org/stable/c/a310b4bebda5e4a1b26520c0cc5145ccd6d617e2 https://git.kernel.org/stable/c/f9c184a83574549a36ea69b755f650e57d164c78 https://git.kernel.org/stable/c/17e76b19de1aff5ff4de64d269290bd1b07a01d3 https://git.kernel.org/stable/c/918be519c7876329e1b6e2ea1c59f0b75e792dca