CVE-2026-45856
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-core | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| libperf-debuginfo | errata.rockylinux.org | 5.14.0-687.54.1.el9 |
| kernel-abi-stablelists | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| kernel-rt-debug-modules-extra | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.rt7.512.el8 |
| kernel-debug-core | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| kernel-devel-matched | errata.rockylinux.org | 5.14.0-687.54.1.el9 |
| kernel-rt-modules-extra | errata.rockylinux.org | 5.14.0-687.54.1.el9 |
| kernel-debug | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| kernel-debuginfo-common-x86_64 | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| kernel-devel | errata.rockylinux.org | 5.14.0-687.54.1.el9, 4.18.0-553.171.1.el8 |
| bpftool-debuginfo | errata.rockylinux.org | 4.18.0-553.171.1.el8 |
| kernel-rt-debug-core | errata.rockylinux.org | 5.14.0-687.54.1.el9 |
52 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | c3bea3d2dc5358e05541527283279102383b0231, c3bea3d2dc5358e05541527283279102383b0231, c3bea3d2dc5358e05541527283279102383b0231 |
| Linux | Linux | 5.0, 0, 5.10.252 |
| amazon:2023 | kernel6.18-libbpf | 0 |
| amazon:2023 | kernel-livepatch-6.18.15-14.217 | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.18-libbpf-static | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| linux | linux_kernel | 5.0, 5.0, 5.0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| Linux | Linux | 7.0, *, * |
| amazon:2023 | kernel-livepatch-6.1.166-197.305 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
…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