CVE-2026-23243 In the Linux kernel, the following vulnerability has been resolved: RDMA/umad: Reject negative data_len in ib_umad_write…
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/umad: Reject negative data_len in ib_umad_write ib_umad_write computes data_len from user-controlled count and the MAD header sizes. With a mismatched user MAD header size and RMPP header length, data_len can become negative and reach ib_create_send_mad(). This can make the padding calculation exceed the segment size and trigger an out-of-bounds memset in alloc_send_rmpp_list(). Add an explicit check to reject negative data_len before creating the send buffer. KASAN splat: [ 211.363464] BUG: KASAN: slab-out-of-bounds in ib_create_send_mad+0xa01/0x11b0 [ 211.364077] Write of size 220 at addr ffff88800c3fa1f8 by task spray_thread/102 [ 211.365867] ib_create_send_mad+0xa01/0x11b0 [ 211.365887] ib_umad_write+0x853/0x1c80
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.0 | earliest → < 7.0 | 7.0 |
| Linux 6.19 | earliest → < 6.19.4 | 6.19.4 |
| Linux 6.18 | earliest → < 6.18.14 | 6.18.14 |
| Linux 6.12 | earliest → < 6.12.75 | 6.12.75 |
| Linux 6.6 | earliest → < 6.6.128 | 6.6.128 |
| Linux 6.1 | earliest → < 6.1.165 | 6.1.165 |
| Linux 5.15 | earliest → < 5.15.202 | 5.15.202 |
| Linux 5.10 | earliest → < 5.10.252 | 5.10.252 |
| Linux | 2.6.24 | No fix stated |
Show the 3 other branches Hide the 3 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |
| SIPLUS S7-1500 CPU 1518-4 PN/DP MFP 3.1 | 3.1.7 → latest | No fix stated |