# CVE-2026-139448: RDMA/core: Clear driver_udata before destroying objects in rdma_core

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:50.976Z
- Modified: 2026-11-30T14:19:15.713Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/core: Clear driver_udata before destroying objects in rdma_core

When uobject creation fails while copying user output data (i.e.,
after the HW object has been created), it calls
rdma_alloc_abort_uobject() with hw_obj_valid=true which then
invokes the object's destroy callback, but passes the
uverbs_attr_bundle from the original creation command.

The issue is that drivers are expected to validate the udata
and return an error if there's unexpected content, and data from
the wrong command counts as "unexpected content", so this ends
up causing the driver's destroy call to fail.

A similar issue exists in the rereg_mr path when a new MR
is created and the old one is destroyed.

Fix this by clearing driver_udata before invoking the driver's
destroy method.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ac8903cbbe618d947b5815d6e0f7b044ee83aa3 before 9db91db448c23dea4764471ce305299f41f73f08; from 0ac8903cbbe618d947b5815d6e0f7b044ee83aa3 before 9f3ec4b8c4fece57789f518a8fd299640cb24504; from 0ac8903cbbe618d947b5815d6e0f7b044ee83aa3 before a6f4d3fc198f8ba5fbffb3421b98c889968db7bc; from 0ac8903cbbe618d947b5815d6e0f7b044ee83aa3 before d37e98844afea39a9614cac0de837701263c90f7; 5.8 (not affected: before 5.8; from 6.12.120 up to 6.12.*; from 6.18.66 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/9db91db448c23dea4764471ce305299f41f73f08>
- <https://git.kernel.org/stable/c/9f3ec4b8c4fece57789f518a8fd299640cb24504>
- <https://git.kernel.org/stable/c/a6f4d3fc198f8ba5fbffb3421b98c889968db7bc>
- <https://git.kernel.org/stable/c/d37e98844afea39a9614cac0de837701263c90f7>

## Sources

- CVE List: [CVE-2026-139448](https://www.cve.org/CVERecord?id=CVE-2026-139448), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139448](https://nvd.nist.gov/vuln/detail/CVE-2026-139448), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139448 · Whole record: https://cve.day/CVE-2026-139448.json · Rebuilt by cve.day 2026-11-30T14:33:03.559Z
