CVE-2026-23243

RDMA/umad: Reject negative data_len in ib_umad_write

HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound
  • CWE-787 — Out-of-bounds Write

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 2be8e3ee8efd6f99ce454115c29d09750915021a < 1371ef6b1ecf3676b8942f5dfb3634fb0648128e ; affected 2be8e3ee8efd6f99ce454115c29d09750915021a < 362e45fd9069ffa1523f9f1633b606ebf72060d7 ; affected 2be8e3ee8efd6f99ce454115c29d09750915021a < 6eb2919474ca105c5b13d19574e25f0ddcf19ca2 ; affected 2be8e3ee8efd6f99ce454115c29d09750915021a < a6a3e4af10993cb9e4b8f0548680aba0ab5f3b0d ; affected 2be8e3ee8efd6f99ce454115c29d09750915021a < 9c80d688f402539dfc8f336de1380d6b4ee14316 ; affected 2be8e3ee8efd6f99ce454115c29d09750915021a < 205955f29c26330b1dc7fdeadd5bb97c38e26f56
Linux · Linuxaffected 2.6.24 ; unaffected 0 < 2.6.24 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD