CVE-2026-97954 PUBLISHED

net/rds: fix tcp stream corruption with large pages

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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

net/rds: fix tcp stream corruption with large pages

rds_message_map_pages() assigns PAGE_SIZE bytes to every scatterlist entry, even when total_len ends in a partial page. The RDS congestion map is defined as 8192 bytes, so on systems with PAGE_SIZE greater than 8192 the scatterlist maps bytes beyond the end of the congestion map. RDS-TCP transmits the SG contents according to those lengths, so the extra bytes become part of the TCP RDS stream and are interpreted as subsequent RDS message headers, corrupting the stream.

Limit the final scatterlist mapping to the number of bytes remaining. This has no effect on systems with a 4K page size and allows RDS-TCP to be used on systems with 16K and larger page sizes.

The RDS selftest, which previously hung on 16K pages, now passes.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7875e18e09961d29f30424c5e2e48e704dc3789b to ef3565a418b8309589fe9b5df098a892c9146b06 (excl.)
  • affected from 7875e18e09961d29f30424c5e2e48e704dc3789b to 8cbfeb54bf781d9693778aaba133bb58c0285332 (excl.)
  • affected from 7875e18e09961d29f30424c5e2e48e704dc3789b to f4649a716be20ef9272f97a166dea1825ba5b554 (excl.)
  • affected from 7875e18e09961d29f30424c5e2e48e704dc3789b to 2ac09b5353fe6858411fdc8c6efa60d832e20f13 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.30 is affected
  • unaffected from 0 to 2.6.30 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References