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 9788F21B9F6 for ; Sat, 25 Apr 2026 08:47:36 +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=1777106856; cv=none; b=E/6AQVbb7LXHEso4vAtKqzfgsLl5RcuMN09YUPsA1qdanmgHT2sRZx3cUOT5tRs955lDTidtHbHimjYhJ3MakEmi7vQIxrOgz0U9L/jVaIoQtOhU0h5fkLgZ0PE6NIuwsCmYM8W0ly4j8RMDPXJiIdBtBZsYjwPa70Pj4RCvpwU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777106856; c=relaxed/simple; bh=5U0s5vhsYU6o1s1ZBrENjdHWgAQIGRUuc+7UDTYhlF8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ItWgh8nyvK0MdgijPnmQU+rZtFnm4sdkZFyCngHhs9iBdG/cmarTXAPO85oGSuP/r2+SvFtPJyBimJhnwndOygXS4gBMioGRnfWNIM64T+jSE42qdESJfLdZAgY5Bla6UdFfaNpDCaZQKbk1NTSnLMmo1a53E2z0EMhBAXY8w0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Lp8/ca59; 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="Lp8/ca59" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CEBE0C2BCB0; Sat, 25 Apr 2026 08:47:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777106856; bh=5U0s5vhsYU6o1s1ZBrENjdHWgAQIGRUuc+7UDTYhlF8=; h=From:To:Cc:Subject:Date:Reply-To:From; b=Lp8/ca59d7AaDe4vBUsbiLCx96zj+g+4O2yssuxE5hprG+bX0E3dNwUmWHybbyhJH YgH+oCAAm3f+eomTggOJfSw7GToMvPrEZw1pfaOH00n4PhEqfXYrCzKiT3de9tUETz QUbqmEk3UkGDCLU6+H7g0rzm7/O77CgLVp4jwht4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-31676: rxrpc: only handle RESPONSE during service challenge Date: Sat, 25 Apr 2026 10:46:43 +0200 Message-ID: <2026042543-CVE-2026-31676-ff79@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=2444; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YvhvLxxozj2wVxz+IKl1GEu04Wkph+Qwu0z63PGAXRg=; b=owGbwMvMwCRo6H6F97bub03G02pJDJlv6ksi/z23OSwqImooFm8Q+PGcle200+1mE6aIejTey /eYInW9I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyO5lhfqVQhVa48ClVY4ub tvt3uB/MfLjyPsOClhQ/xdx6d0mP/Anm4deeXfot96oJAA== 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: rxrpc: only handle RESPONSE during service challenge Only process RESPONSE packets while the service connection is still in RXRPC_CONN_SERVICE_CHALLENGING. Check that state under state_lock before running response verification and security initialization, then use a local secured flag to decide whether to queue the secured-connection work after the state transition. This keeps duplicate or late RESPONSE packets from re-running the setup path and removes the unlocked post-transition state test. The Linux kernel CVE team has assigned CVE-2026-31676 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.18.23 with commit d0035e634dae83237ab7f5681eb52b2f65d0ceb8 Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 6.19.13 with commit 03fd2ef73cb4ffd0af100a95b634af54f474414e Issue introduced in 2.6.22 with commit 17926a79320afa9b95df6b977b40cca6d8713cea and fixed in 7.0 with commit c43ffdcfdbb5567b1f143556df8a04b4eeea041c 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-31676 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: net/rxrpc/conn_event.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/d0035e634dae83237ab7f5681eb52b2f65d0ceb8 https://git.kernel.org/stable/c/03fd2ef73cb4ffd0af100a95b634af54f474414e https://git.kernel.org/stable/c/c43ffdcfdbb5567b1f143556df8a04b4eeea041c