CVE 7.8 HIGH

RDMA/umad: Reject negative data_len in ib_umad_write_CVE-2026-23243

7.8 / 10
HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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

Basic Information

ID CVE-2026-23243
Source Linux
Published Mar 18, 2026 at 10:05
Modified Apr 2, 2026 at 14:43

Affected Product

Vendor Linux
Product Linux
Version 2be8e3ee8efd6f99ce454115c29d09750915021a
Affected Versions Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2be8e3ee8efd6f99ce454115c29d09750915021a
Linux Linux 2.6.24

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.