Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 266B13C3BFF for ; Fri, 1 May 2026 14:19:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645148; cv=none; b=hJF7OZ3HgcKqlc9yPmSyJDzCYjxA+DiM1aP+EkJQrW9YpAlxbHV5FkevPc8JHOEvVSlsegFN9driJQRJ1L3KtvBnkw4yiyJ+Fke/61ZwdGALKII8Gpky3ommti9TKo5TIJ+HndnPE/JNVeoSN+NHH5WRUh0++msbkfOpeZvhQlU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645148; c=relaxed/simple; bh=FYQcTI1kF+IdVOSJC5XNZ5v3SF89Fn+0WPzC8IPvI9I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zse6AJQb2ZAWORGT9T4W5jKFdr8nyX4g/4x8NQ/UAC3YK/qp8thgBFPKjLhIhJ6eKtqsUSVSTk4qfpwd6Ef4qMcEiXoAFxPvZzcrb3eMO57+Mcx9o4/FypRUSEJyqaqaVpa/rAM4o9Zly1G2IM7iX7vBARreGGkt1msAVrjXpM0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Om9qoNia; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Om9qoNia" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A9485C2BCB4; Fri, 1 May 2026 14:19:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645148; bh=FYQcTI1kF+IdVOSJC5XNZ5v3SF89Fn+0WPzC8IPvI9I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Om9qoNiaxnMzcXEzZxu6AKq3usXm56kF01ECmGrMMUVwjCbOaH+J+uZtHoeaB9zhN uG2HQzSh9xPbeyU0fvrNOa+wjK0gBjtmVpdrR+miafHuUMU9AUKlVnXIAUfAj4TyxW gD6syS7YLeBvrOpaNJrqFzuzjKFrm9T+cZWWSmXk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31776: ALSA: ctxfi: Fix missing SPDIFI1 index handling Date: Fri, 1 May 2026 16:15:27 +0200 Message-ID: <2026050150-CVE-2026-31776-8e0f@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=2704; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s/GUU5/EGJaNxOS0sjvpx8rplbRfpPtc0BXHRm41AO0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftkbJaPzZs8JBbNGiGXrmH1N3Pl3wW3XfhyVH+PZ/V Il6uvvu9Y5YFgZBJgZZMUWWL9t4ju6vOKToZWh7GmYOKxPIEAYuTgGYSLMZw4IJjvPWW5366v/p qDKjTMiMZBHdRgOGBecL7AQ+bgjx/72/KeyZ6eUWh9KmvwA= 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: ctxfi: Fix missing SPDIFI1 index handling SPDIF1 DAIO type isn't properly handled in daio_device_index() for hw20k2, and it returned -EINVAL, which ended up with the out-of-bounds array access. Follow the hw20k1 pattern and return the proper index for this type, too. The Linux kernel CVE team has assigned CVE-2026-31776 to this issue. Affected and fixed versions =========================== Fixed in 5.10.253 with commit a3b0e5f84058a9c3d0542a71c2b3a7801e4ee26a Fixed in 5.15.203 with commit 28222e13666b5d26bf66563c056069ed32f87b33 Fixed in 6.1.168 with commit 5b39985303a639b159dea306a032c08ef22f029d Fixed in 6.6.134 with commit c8859675f1cf92fe2eb25ef525440702140a0b55 Fixed in 6.12.81 with commit a0b45bdfffce9894b39392d061c14fda24de8b67 Fixed in 6.18.22 with commit 57698f184e1afbe054b3cd30e2c43a67c11d7f5e Fixed in 6.19.12 with commit 950decf59d4e978b60a792ce0b3e1555a608f489 Fixed in 7.0 with commit b045ab3dff97edae6d538eeff900a34c098761f8 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-31776 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/pci/ctxfi/ctdaio.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/a3b0e5f84058a9c3d0542a71c2b3a7801e4ee26a https://git.kernel.org/stable/c/28222e13666b5d26bf66563c056069ed32f87b33 https://git.kernel.org/stable/c/5b39985303a639b159dea306a032c08ef22f029d https://git.kernel.org/stable/c/c8859675f1cf92fe2eb25ef525440702140a0b55 https://git.kernel.org/stable/c/a0b45bdfffce9894b39392d061c14fda24de8b67 https://git.kernel.org/stable/c/57698f184e1afbe054b3cd30e2c43a67c11d7f5e https://git.kernel.org/stable/c/950decf59d4e978b60a792ce0b3e1555a608f489 https://git.kernel.org/stable/c/b045ab3dff97edae6d538eeff900a34c098761f8