# CVE-2026-45856: RDMA/uverbs: Validate wqe\_size before using it in ib\_uverbs\_post\_send

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-05-27T12:15:33.209Z
- **Modified:** 2026-10-19T20:18:19.787Z

## Who should check

- Anyone running Linux \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9b5ac1c15334d46c0dbd49d64a2257b929500163; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 01c9b152647dc70dc06a4a2eff86ebb3b3c76075; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf1feed1a7886af945f92890493aefd2b5c9928a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< d533425ac1f2925b4fc3e4ed9b9d72362cb23475; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf4454da8b1e712714628c0a0d6e7845bb40790a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bef70ff9841990658610512b4a18e4a88c9b4df6; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0
- Anyone running Linux 5.0

## Description

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).

## Affected and fixed versions

- Linux: \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9b5ac1c15334d46c0dbd49d64a2257b929500163; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 01c9b152647dc70dc06a4a2eff86ebb3b3c76075; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf1feed1a7886af945f92890493aefd2b5c9928a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< d533425ac1f2925b4fc3e4ed9b9d72362cb23475; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf4454da8b1e712714628c0a0d6e7845bb40790a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bef70ff9841990658610512b4a18e4a88c9b4df6; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0 (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- Upgrade Linux to 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-45856. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45856.md
Affected: Linux >= c3bea3d2dc5358e05541527283279102383b0231, < 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7; >= c3bea3d2dc5358e05541527283279102383b0231, < 9b5ac1c15334d46c0dbd49d64a2257b929500163; >= c3bea3d2dc5358e05541527283279102383b0231, < 01c9b152647dc70dc06a4a2eff86ebb3b3c76075; >= c3bea3d2dc5358e05541527…
Fixed in: Linux 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7, Linux 9b5ac1c15334d46c0dbd49d64a2257b929500163, Linux 01c9b152647dc70dc06a4a2eff86ebb3b3c76075, Linux 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-45856 being exploited?

There is no confirmed exploitation: CVE-2026-45856 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-45856?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-45856?

Linux \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 9b5ac1c15334d46c0dbd49d64a2257b929500163; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 01c9b152647dc70dc06a4a2eff86ebb3b3c76075; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf1feed1a7886af945f92890493aefd2b5c9928a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< d533425ac1f2925b4fc3e4ed9b9d72362cb23475; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bf4454da8b1e712714628c0a0d6e7845bb40790a; \>= c3bea3d2dc5358e05541527283279102383b0231, \< bef70ff9841990658610512b4a18e4a88c9b4df6; \>= c3bea3d2dc5358e05541527283279102383b0231, \< 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0; Linux 5.0.

### Is there a fix for CVE-2026-45856?

Yes. Fixed in Linux 9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7, Linux 9b5ac1c15334d46c0dbd49d64a2257b929500163, Linux 01c9b152647dc70dc06a4a2eff86ebb3b3c76075, Linux 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0. Upgrade Linux to 1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0 or later.

### How do I check if I'm affected by CVE-2026-45856?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9c15ec4cd4e7f57c6bbcb4e73e99290f150dd2a7>
- patch: <https://git.kernel.org/stable/c/9b5ac1c15334d46c0dbd49d64a2257b929500163>
- patch: <https://git.kernel.org/stable/c/01c9b152647dc70dc06a4a2eff86ebb3b3c76075>
- patch: <https://git.kernel.org/stable/c/bf1feed1a7886af945f92890493aefd2b5c9928a>
- patch: <https://git.kernel.org/stable/c/d533425ac1f2925b4fc3e4ed9b9d72362cb23475>
- patch: <https://git.kernel.org/stable/c/bf4454da8b1e712714628c0a0d6e7845bb40790a>
- patch: <https://git.kernel.org/stable/c/bef70ff9841990658610512b4a18e4a88c9b4df6>
- patch: <https://git.kernel.org/stable/c/1956f0a74ccf5dc9c3ef717f2985c3ed3400aab0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-45856>

HTML: <https://flawdb.com/CVE-2026-45856> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-45856>
