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 906F63C3C0C for ; Fri, 1 May 2026 14:19:10 +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=1777645150; cv=none; b=FfajebqpUC8zShNoZrC5XVYAF4DX1Ui+bDl1NhXd8kVd1YcaM0Cnd73PkIFkcEmFFiOzWyjy7bxocmPoLPzhIUSXywj1z9MWmrISW4aq4SKvgLyi2CKVg6YiksWiktsImLDaJHSgIuF5LdzSyFazU2Jvk3Vw87bSUqz0qMnlI2k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777645150; c=relaxed/simple; bh=aj3TiN250Gy+tiXqf01HfyFWI/P6mBf1G7d8V3LFYtY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XE0MGUxJT5XSoOR2xFMH0eyWMxlXBPrwiFMX7xpvvvo9DeNgPgBkKxts8oaagabEBl2drp9FUioFYoweW+iLq6NlY0g6tBdrNI0cemrpz62zeTxqODavfx4FT1AVXSrwFwBW0E1O3c4ERxEZ2JdKcUPkkmcIxe/ys2Vh8riPxd4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WRcCmEWP; 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="WRcCmEWP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B137C2BCB4; Fri, 1 May 2026 14:19:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777645150; bh=aj3TiN250Gy+tiXqf01HfyFWI/P6mBf1G7d8V3LFYtY=; h=From:To:Cc:Subject:Date:Reply-To:From; b=WRcCmEWPdp+8mfwD8tjF35g/r5pUzGAv6c1FRawv4/U6VUsL28BnzKphx5jUay6cX yw0otViRlM1sKynLttTBlRsIEM+h0KaJkw8NMs1oI9KlU0WRQJB0afWCEvqDW/4yck YZgmuEbLs3222dLf4zhf+DXNdEvXLOgIxgcwSTC4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31777: ALSA: ctxfi: Check the error for index mapping Date: Fri, 1 May 2026 16:15:28 +0200 Message-ID: <2026050150-CVE-2026-31777-20f9@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=1768; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=M3kmTirIfWD+bFJVazaBXFQpOTnYsJer3lk7+uxPNZs=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlftkZpv1j+xtfgvM082xbFEEVvnyt+Z5KnvQmI9eDct rpIY4pTRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwk8y3DgmnP48T/H1kWq7/K 7NCU/0wFfxeuimSYX2iyVF0s4U3K3cN1zraJvsG5V0KWAwA= 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: Check the error for index mapping The ctxfi driver blindly assumed a proper value returned from daio_device_index(), but it's not always true. Add a proper error check to deal with the error from the function. The Linux kernel CVE team has assigned CVE-2026-31777 to this issue. Affected and fixed versions =========================== Fixed in 6.19.12 with commit d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc Fixed in 7.0 with commit 277c6960d4ddb94d16198afd70c92c3d4593d131 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-31777 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/d4d3b8cbb70a2de247cbfe99bdb232aef9ed59bc https://git.kernel.org/stable/c/277c6960d4ddb94d16198afd70c92c3d4593d131