VDB

CVE-2026-45856

CVE-2026-45856 PUBLISHED CVSS 7.1 HIGH

RDMA/uverbs: Validate wqe_size before using it in ib_uverbs_post_send

Reported by linux · Published May 27, 2026

In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Validate wqe_size before using it in ib_uverbs_post_send ib_uverbs_post_send() uses cmd.wqe_size from userspace without any validation before passing it to kmalloc() and using the allocated buffer as struct ib_uverbs_send_wr. If a user provides a small wqe_size value (e.g., 1), kmalloc() will succeed, but subsequent accesses to user_wr->opcode, user_wr->num_sge, and other fields will read beyond the allocated buffer, resulting in an out-of-bounds read from kernel heap memory. This could potentially leak sensitive kernel information to userspace. Additionally, providing an excessively large wqe_size can trigger a WARNING in the memory allocation path, as reported by syzkaller. This is inconsistent with ib_uverbs_unmarshall_recv() which properly validates that wqe_size >= sizeof(struct ib_uverbs_recv_wr) before proceeding. Add the same validation for ib_uverbs_post_send() to ensure wqe_size is at least sizeof(struct ib_uverbs_send_wr).

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-coreerrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
libperf-debuginfoerrata.rockylinux.org5.14.0-687.54.1.el9
kernel-abi-stablelistserrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
kernel-rt-debug-modules-extraerrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.rt7.512.el8
kernel-debug-coreerrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
kernel-devel-matchederrata.rockylinux.org5.14.0-687.54.1.el9
kernel-rt-modules-extraerrata.rockylinux.org5.14.0-687.54.1.el9
kernel-debugerrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
kernel-debuginfo-common-x86_64errata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
kernel-develerrata.rockylinux.org5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8
bpftool-debuginfoerrata.rockylinux.org4.18.0-553.171.1.el8
kernel-rt-debug-coreerrata.rockylinux.org5.14.0-687.54.1.el9

52 more packages have a fixed version. See every fix in Lookup.

Risk scores

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

Affected products

VendorProductVersions
LinuxLinuxc3bea3d2dc5358e05541527283279102383b0231, c3bea3d2dc5358e05541527283279102383b0231, c3bea3d2dc5358e05541527283279102383b0231
LinuxLinux5.0, 0, 5.10.252
amazon:2023kernel6.18-libbpf0
amazon:2023kernel-livepatch-6.18.15-14.2170
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.12-libbpf0
amazon:2023kernel-devel0
amazon:2023perf6.120
amazon:2023perf6.180
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-libbpf-static0
amazon:2023kernel6.18-modules-extra0
linuxlinux_kernel5.0, 5.0, 5.0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023bpftool6.120
LinuxLinux7.0, *, *
amazon:2023kernel-livepatch-6.1.166-197.3050
amazon:2023python3-perf6.120

…and 26 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (19 in total, the first dated here)
  • May 29, 2026 Security Advisory (134 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (134 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-45856
vulnetix vdb fixes CVE-2026-45856

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-45856/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›