Skip to contentSkip to conversation

CVE-2026-53151: rxrpc: Fix the ACK parser to extract the SACK table for parsing

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 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: Fix the ACK parser to extract the SACK table for parsing

Fix modification of the received skbuff in rxrpc_input_soft_acks() and a potential incorrect access of the buffer in a fragmented UDP packet (the packet would probably have to be deliberately pre-generated as fragmented) when AF_RXRPC tries to extract the contents of the SACK table by copying out the contents of the SACK table into a buffer before attempting to parse

AF_RXRPC assumes that it can just call skb_condense() and then validly access the SACK table from skb->data and that it will be a flat buffer - but skb_condense() can silently fail to do anything under some circumstances.

Note that whilst rxrpc_input_soft_acks() should be able to parse extended ACKs, the rest of AF_RXRPC doesn't currently support that.

Further, there's then no need to call skb_condense() in rxrpc_input_ack(), so don't.

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

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

	Issue introduced in 6.2 with commit d57a3a151660902091491ac2633134e1be92557f and fixed in 6.18.36 with commit 566c4c1244de50fbff1f89ff93c9d7b0fc256db4
	Issue introduced in 6.2 with commit d57a3a151660902091491ac2633134e1be92557f and fixed in 7.0.13 with commit 224298450be5c04d2a6ea1c2a94669d7ebf65d00
	Issue introduced in 6.2 with commit d57a3a151660902091491ac2633134e1be92557f and fixed in 7.1 with commit 333b6d5bb9f87827ac2639c737bf9613dbae7253

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-53151

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/input.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/566c4c1244de50fbff1f89ff93c9d7b0fc256db4
	https://git.kernel.org/stable/c/224298450be5c04d2a6ea1c2a94669d7ebf65d00
	https://git.kernel.org/stable/c/333b6d5bb9f87827ac2639c737bf9613dbae7253