RDMA/srpt: fix integer overflow in immediate data length check
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/srpt: fix integer overflow in immediate data length check imm_buf->len is a user-controlled uint32_t received from the network. Adding it to imm_data_offset without overflow checking allows a malicious initiator to send len=0xFFFFFFFF, causing req_size to wrap around to a small value, bypassing the bounds check, and subsequently passing a ~4GB length to sg_init_one(). Use check_add_overflow() to detect wrapping before the comparison.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in c82c860f8c8e4f4f454c9f14d0ad0c0466965f7d; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in 3efa5301137140a3ca3677a9098c0a93a0acfd49; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in 067b9556eeb007f28b7c2033b4dcde5b6d88418f; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in dcf7a986f377cce0749ed53f1d64195fbd5fdf91; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in 07dec3f6dcb6c6cc891162d252b800eb0e6d5e8e; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in 65572fbd86033ae2370125593d59b8be34253aaf; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in 72497172a4799119a0282a5eb5e2b8ddcc821921; From 5dabcd0456d7ee17c2c7a17d7c2305444d2b9639 · fixed in eb4ecdf631fe00e8020bf461503cb9b7017ed796
- Linux Linux
5.0
- KernelLinux
From 5.0.0 · fixed in 5.10.261; From 5.11.0 · fixed in 5.15.212; From 5.16.0 · fixed in 6.1.178; From 6.2.0 · fixed in 6.6.145; From 6.7.0 · fixed in 6.12.97; From 6.13.0 · fixed in 6.18.40; From 6.19.0 · fixed in 7.1.5
References 8
git.kernel.org
- stable/c/c82c860f8c8e4f4f454c9f14d0ad0c0466965f7d
- stable/c/3efa5301137140a3ca3677a9098c0a93a0acfd49
- stable/c/067b9556eeb007f28b7c2033b4dcde5b6d88418f
- stable/c/dcf7a986f377cce0749ed53f1d64195fbd5fdf91
- stable/c/07dec3f6dcb6c6cc891162d252b800eb0e6d5e8e
- stable/c/65572fbd86033ae2370125593d59b8be34253aaf
- stable/c/72497172a4799119a0282a5eb5e2b8ddcc821921
- stable/c/eb4ecdf631fe00e8020bf461503cb9b7017ed796