Skip to main content
← All vulnerabilities
CVE-2026-23243

RDMA/umad: Reject negative data_len in ib_umad_write

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.10.252, 5.15.202, 6.1.165, 6.6.128, 6.12.75, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 1371ef6b1ecf3676b8942f5dfb3634fb0648128e; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 362e45fd9069ffa1523f9f1633b606ebf72060d7; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 6eb2919474ca105c5b13d19574e25f0ddcf19ca2; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in a6a3e4af10993cb9e4b8f0548680aba0ab5f3b0d; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 9c80d688f402539dfc8f336de1380d6b4ee14316; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 205955f29c26330b1dc7fdeadd5bb97c38e26f56; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 52ab82cc5cf8ada5c3fb6ffe8f32fdb2fc27a34b; From 2be8e3ee8efd6f99ce454115c29d09750915021a · fixed in 5551b02fdbfd85a325bb857f3a8f9c9f33397ed2

  • Linux Linux

    2.6.24

  • KernelLinux

    From 2.6.24 · fixed in 5.10.252; From 5.11.0 · fixed in 5.15.202; From 5.16.0 · fixed in 6.1.165; From 6.2.0 · fixed in 6.6.128; From 6.7.0 · fixed in 6.12.75; From 6.13.0 · fixed in 6.18.14; From 6.19.0 · fixed in 6.19.4

References 8

git.kernel.org