Skip to contentSkip to conversation

CVE-2026-31676: rxrpc: only handle RESPONSE during service challenge

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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