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 7C24C563FCD for ; Fri, 11 Sep 2026 19:47:10 +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=1789156041; cv=none; b=AhpNg/LJUgXmhqchVhayl5h4HNpFqg77F9xqswWzti4rbUj0FiPMedmeb5Ikjotz2b0DAM3u7kAUPWOqx37FRVN2U+5TGX40mEXLUT20BwXncz8lG+6HWjsI0soHpOWserWA586BM7etJVo2cuUWusDbulZVMbYnJPDT1I+7bd0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156041; c=relaxed/simple; bh=5GKT06pcs3n7fNwMckVgadYW9T7S+pajXGvxs8h3VJ8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Tk5BtZwdBZZoAkh8+dRyuAiBWQULFSYWqVPjg3SDcUUsQ5Ix+Zyhr/YW8LZIGay0Tl+kYm+1rMIdlMiKPIXIHBCsl1kZDgl2lW0bhLCmrpUGRZiX8XDhvVIVB/3XsXuJ3zoutJDTtrsSe9WYL1v0Bip8sOGyOsViZTXcH7aK9bY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h+ZF87YZ; 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="h+ZF87YZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F31E11F00899; Fri, 11 Sep 2026 19:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156028; bh=SDAqPhgDueX2bXnToGeWHRqUXr9+3SgLgFyPe8n4c+8=; h=From:To:Cc:Subject:Date:Reply-To; b=h+ZF87YZnnpXAGrasHO4cGjo+lKbLO+vmCOYDcsF21RvciFpNo5YwSD5P0UtBWzcK pL8yA6hX2uoWwB8ps6u9AGGqpmK+G359lcuDXpyJqzzo/uHwGYWeq0FsDONzYXpexy pQ2oiIvpsGHsZauoA1LcjBBAnW3/kSUL6IJzdlRo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80964: ALSA: virmidi: Check card index validity at probe Date: Fri, 11 Sep 2026 21:41:10 +0200 Message-ID: <2026091142-CVE-2026-80964-b496@gregkh> X-Mailer: git-send-email 2.55.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=2323; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=C13G7ogFNqxpznbDzHcSN9/isDcGp68dWzF98eYyGVo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIq1+1uhrd8/3SN4dmfIo67tV5bdcw3UGGo/Mp9/JT 7jwZ61JRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyks5phfkyUb7BY0Tq2l1VK eVkHZ2k8//uMmWG+02KLzicx59mNHz4OctHozt4XfCkZAA== 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: virmidi: Check card index validity at probe virmidi driver blindly trusts that the given devptr->id value is within the proper card index range at probe. It's OK for the devices the driver itself creates at the module probe time, but if the device is bound manually via sysfs interface, this could be -1 as "none", and this leads to OOB access for index[] and other parameters. Add a sanity check for the card index and warn/correct it if it's a value out of the range. The Linux kernel CVE team has assigned CVE-2026-80964 to this issue. Affected and fixed versions =========================== Fixed in 6.12.109 with commit 43f161c53279adac0517cf1c443e531e738b54ce Fixed in 6.18.50 with commit 40ee4224e2fe24c05b92e4d37476adb6e83f10e9 Fixed in 7.2.4 with commit f48c5f3b03afdb795e5f448a1d53d912d5b09f2e Fixed in 7.3-rc1 with commit b65d5182ecd6b7a24a83d980a0d06e809ef876c5 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-80964 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/drivers/virmidi.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/43f161c53279adac0517cf1c443e531e738b54ce https://git.kernel.org/stable/c/40ee4224e2fe24c05b92e4d37476adb6e83f10e9 https://git.kernel.org/stable/c/f48c5f3b03afdb795e5f448a1d53d912d5b09f2e https://git.kernel.org/stable/c/b65d5182ecd6b7a24a83d980a0d06e809ef876c5