CVE-2026-74431: rxrpc: Fix potential infinite loop in rxrpc_recvmsg()

Greg Kroah-Hartman <[email protected]>
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026081514-CVE-2026-74431-45d4@gregkh>
From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

rxrpc: Fix potential infinite loop in rxrpc_recvmsg()

Fix the wait in rxrpc_recvmsg() also take check the oob queue.

The Linux kernel CVE team has assigned CVE-2026-74431 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 5800b1cf3fd8ccab752a101865be1e76dac33142 and fixed in 6.18.40 with commit 0fc5b37faec26241d3cbee732e29ac35ad3184f8
	Issue introduced in 6.16 with commit 5800b1cf3fd8ccab752a101865be1e76dac33142 and fixed in 7.1.5 with commit da371b003a4a44f44741275d5e8dc74181cbb017
	Issue introduced in 6.16 with commit 5800b1cf3fd8ccab752a101865be1e76dac33142 and fixed in 7.2-rc1 with commit 67a0332f442ef07713cd2d9c13d59db0f1c23648

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-74431
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/recvmsg.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/0fc5b37faec26241d3cbee732e29ac35ad3184f8
	https://git.kernel.org/stable/c/da371b003a4a44f44741275d5e8dc74181cbb017
	https://git.kernel.org/stable/c/67a0332f442ef07713cd2d9c13d59db0f1c23648
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.