# CVE-2026-23243: RDMA/umad: Reject negative data_len in ib_umad_write

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-03-18T10:05:05.826Z
- Modified: 2026-11-10T13:18:37.183Z
- Weaknesses: CWE-190, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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

(As written by CVE List.)

## Affected

- Linux Linux: from 2be8e3ee8efd6f99ce454115c29d09750915021a before 1371ef6b1ecf3676b8942f5dfb3634fb0648128e; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 362e45fd9069ffa1523f9f1633b606ebf72060d7; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 6eb2919474ca105c5b13d19574e25f0ddcf19ca2; from 2be8e3ee8efd6f99ce454115c29d09750915021a before a6a3e4af10993cb9e4b8f0548680aba0ab5f3b0d; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 9c80d688f402539dfc8f336de1380d6b4ee14316; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 205955f29c26330b1dc7fdeadd5bb97c38e26f56; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 52ab82cc5cf8ada5c3fb6ffe8f32fdb2fc27a34b; from 2be8e3ee8efd6f99ce454115c29d09750915021a before 5551b02fdbfd85a325bb857f3a8f9c9f33397ed2; 2.6.24 (not affected: before 2.6.24; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.14 up to 6.18.*; from 6.19.4 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 2.6.24.1 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.14; from 6.19 before 6.19.4; 2.6.24

## References

- <https://git.kernel.org/stable/c/1371ef6b1ecf3676b8942f5dfb3634fb0648128e> (patch)
- <https://git.kernel.org/stable/c/362e45fd9069ffa1523f9f1633b606ebf72060d7> (patch)
- <https://git.kernel.org/stable/c/6eb2919474ca105c5b13d19574e25f0ddcf19ca2> (patch)
- <https://git.kernel.org/stable/c/a6a3e4af10993cb9e4b8f0548680aba0ab5f3b0d> (patch)
- <https://git.kernel.org/stable/c/9c80d688f402539dfc8f336de1380d6b4ee14316> (patch)
- <https://git.kernel.org/stable/c/205955f29c26330b1dc7fdeadd5bb97c38e26f56> (patch)
- <https://git.kernel.org/stable/c/52ab82cc5cf8ada5c3fb6ffe8f32fdb2fc27a34b> (patch)
- <https://git.kernel.org/stable/c/5551b02fdbfd85a325bb857f3a8f9c9f33397ed2> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-23243](https://www.cve.org/CVERecord?id=CVE-2026-23243), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-23243](https://nvd.nist.gov/vuln/detail/CVE-2026-23243), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2026-23243 · Whole record: https://cve.day/CVE-2026-23243.json · Rebuilt by cve.day 2026-11-25T22:59:16.099Z
