Linux
rxrpc: Fix the ACK parser to extract the SACK table for parsing
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= d57a3a151660902091491ac2633134e1be92557f, < 5d1ae4e17a3ecd8561cdb4f4f70152f41039c4e1
- >= d57a3a151660902091491ac2633134e1be92557f, < 775c5e89272a2615b72bb84f611ba66fa3b7493e
- >= d57a3a151660902091491ac2633134e1be92557f, < 566c4c1244de50fbff1f89ff93c9d7b0fc256db4
- >= d57a3a151660902091491ac2633134e1be92557f, < 224298450be5c04d2a6ea1c2a94669d7ebf65d00
- >= d57a3a151660902091491ac2633134e1be92557f, < 333b6d5bb9f87827ac2639c737bf9613dbae7253
Fixed in 5d1ae4e17a3ecd8561cdb4f4f70152f41039c4e1, 775c5e89272a2615b72bb84f611ba66fa3b7493e, 566c4c1244de50fbff1f89ff93c9d7b0fc256db4, 224298450be5c04d2a6ea1c2a94669d7ebf65d00, 333b6d5bb9f87827ac2639c737bf9613dbae7253
- 6.2
Fixed in 0, 6.6.144, 6.12.95, 6.18.36, 7.0.13, 7.1
Mitigation
Upgrade Linux to 5d1ae4e17a3ecd8561cdb4f4f70152f41039c4e1 or 775c5e89272a2615b72bb84f611ba66fa3b7493e or 566c4c1244de50fbff1f89ff93c9d7b0fc256db4 or 224298450be5c04d2a6ea1c2a94669d7ebf65d00 or 333b6d5bb9f87827ac2639c737bf9613dbae7253 or later.
Upgrade Linux to 0 or 6.6.144 or 6.12.95 or 6.18.36 or 7.0.13 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.