net/rds: fix tcp stream corruption with large pages
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f4649a716be20ef9272f97a166dea1825ba5b554, Kernel 2ac09b5353fe6858411fdc8c6efa60d832e20f13, Kernel 3230961a72b312d0e47101d1428084d0a02bff52 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=7875e18e09961d29f30424c5e2e48e704dc3789b <f4649a716be20ef9272f97a166dea1825ba5b554, >=7875e18e09961d29f30424c5e2e48e704dc3789b <2ac09b5353fe6858411fdc8c6efa60d832e20f13, >=7875e18e09961d29f30424c5e2e48e704dc3789b <3230961a72b312d0e47101d1428084d0a02bff52, >=7875e18e09961d29f30424c5e2e48e704dc3789b <348492de88bc6ea06b6f3dd544a7a00d908a807b, >=7875e18e09961d29f30424c5e2e48e704dc3789b <7d7705ce73eac1de1146706d887bc969a48ebb6d, >=7875e18e09961d29f30424c5e2e48e704dc3789b <8cbfeb54bf781d9693778aaba133bb58c0285332, >=7875e18e09961d29f30424c5e2e48e704dc3789b <ee74a4b42e3a2f9635ba376be9e58311322eebe4, >=7875e18e09961d29f30424c5e2e48e704dc3789b <ef3565a418b8309589fe9b5df098a892c9146b06, =2.6.30 | f4649a716be20ef9272f97a166dea1825ba5b554, 2ac09b5353fe6858411fdc8c6efa60d832e20f13, 3230961a72b312d0e47101d1428084d0a02bff52, 348492de88bc6ea06b6f3dd544a7a00d908a807b, 7d7705ce73eac1de1146706d887bc969a48ebb6d, 8cbfeb54bf781d9693778aaba133bb58c0285332, ee74a4b42e3a2f9635ba376be9e58311322eebe4, ef3565a418b8309589fe9b5df098a892c9146b06 |
| linux-kernel: Kernel | >=5.11.0 <5.15.222, >=5.16.0 <6.1.189, >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.2.0 <6.6.158, >=6.7.0 <6.12.111, >=2.6.30 <5.10.271 | 5.15.222, 6.1.189, 6.18.53, 7.2.7, 6.6.158, 6.12.111, 5.10.271 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket