RDS/IB: validate receive fragment completions

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

RDS/IB: validate receive fragment completions

rds_ib_process_recv() accounts every receive fragment as contributing min(i_recv_data_rem, RDS_FRAG_SIZE) bytes, regardless of the completion length. When a completion is shorter than the header-declared amount, receive accounting can advance beyond the payload supplied by the completion.

Only an IB_WC_RECV completion has the buffer layout expected by this receive path. Other successful completion opcodes must not be interpreted as ordinary receive completions.

Reject successful completions with any other opcode before processing their length. For ordinary receive completions, require enough payload to cover the amount accounted to the fragment before linking its page into the incoming message.

This is compatible with the current transmit paths. MSG_ZEROCOPY is restricted to RDS/TCP, while RDS/IB copied and page-vector messages use full-sized non-final scatterlist entries.

Found during an LLM-assisted source audit and validated under KMSAN with a malformed short receive completion.

ProductVersions
Linux Linux1e23b3ee0e943060a2e677cd20ed666b6060e12d to before d968885693074d458d3cac46319bcda9b5c1f8ed Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before 6981ae0240261d1e7fcf7fcd908e60817bf5131f Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before 58c52d9721f717601a6c81873a7cb874ce823697 Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before 72f19e8e0ca567c049b12b0e6555bbcd21381f32 Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before a677ab813e65019351c45641f6cafbee6e9cb491 Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before 4980879032bbc2d63f976f5b7f222105cea20ecb Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before c6adad6d0e4daed47728e1e683122833ef476c67 Affected1e23b3ee0e943060a2e677cd20ed666b6060e12d to before 65cf6863606b0507a7c3bd1711317e4f5d6b8b7e Affected
Linux Linux2.6.30 Affectedbefore 2.6.30 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.