Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-100031

published high CVSS 3.1 · 7.0

RDMA/uverbs: Fix uobject leak in DMABUF release

Published
30 Nov 2026, 13:23:14 UTC
Updated
01 Dec 2026, 05:39:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 to < 28435e18a0dc1316e7b4bd702bfe10457f729c8e · 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 to < 4a953ee228f5544a3e5515eed88bf09d1a5adb94 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: RDMA/uverbs: Fix uobject leak in DMABUF release uverbs_dmabuf_release() treats a NULL uobj->context as an aborted allocation, but normal ufile cleanup also clears it. Closing the uverbs FD before the dma-buf FD therefore skips uverbs_uobject_release() and leaks the uobject and ufile references. Clear dmabuf->priv before dma_buf_put() on allocation failure and use that NULL pointer to identify an abort. Otherwise, always call uverbs_uobject_release(). This also avoids reading a freed uobject if release is deferred until after the allocation has been aborted.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is in uverbs_dmabuf_release() and the UVERBS_METHOD_DMABUF_ALLOC handler, reached only via ioctl(RDMA_VERBS_IOCTL) on /dev/infiniband/uverbsN and close() of the dma-buf fd it returns; no remote peer supplies any data, and the fd-close ordering and mmap pgoff are local syscall inputs. AC:H - The plain leak is deterministic, but the UAF path needs DMABUF_ALLOC to race mlx5 UAR_OBJ_DESTROY (rdma_user_mmap_entry_remove sets driver_removed) to hit err_revoked, and then an RCU grace period plus kvfree_rcu drain must complete before the deferred dma-buf fput task_work runs uverbs_dmabuf_release(); the attacker can only widen that window via preemption. PR:L - uverbs_devnode() creates uverbsN with mode 0666 and ib_uverbs_open() checks only rdma_dev_access_netns(); creating a ucontext, an mlx5 UAR object for the mmap pgoff and a DMABUF object need no capability, so any local user on an mlx5 host (CONFIG_PCI_P2PDMA, pcim_p2pdma_init at probe) can do it. UI:N - The attacker opens the uverbs fd, allocates the dma-buf and closes the two fds in the order they choose (uverbs fd first), or runs the alloc/destroy race from their own threads; no other user has to act. S:U - Both the leaked ib_uverbs_file and the freed ib_uverbs_dmabuf_file are kernel heap objects in the same kernel authority the attacker escalates within; no guest/host, IOMMU or sandbox boundary is involved. C:H - On the err_revoked path rdma_alloc_abort_uobject() frees the uobject via kfree_rcu while dmabuf->priv still points at it, and uverbs_dmabuf_release() reads priv->uobj.context; a reclaimed non-NULL value makes it call uverbs_uobject_release() on sprayed memory, dereferencing fake uobj->ufile and uapi_object pointers. I:H - That call on the reclaimed object does list_del_init on uobj->list, kref_put on the fake ufile->ref, an indirect type_class->destroy_hw call through uobj->uapi_object when uobj->object is set, and kfree_rcu() of the sprayed object, giving write, invalid-free and control-flow primitives. A:H - Closing uverbs before the dma-buf makes uverbs_dmabuf_release() see uobj.context==NULL and skip uverbs_uobject_release(), so the ufile kref is never put and ib_uverbs_file, every uobject in its idr and the dmabuf uobject leak (GFP_KERNEL, not memcg-charged); looping this exhausts memory, and the UAF path can oops.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 to < 28435e18a0dc1316e7b4bd702bfe10457f729c8e (affected · git)0ac6f4056c4a257f4b230b910e3e6fee6c6fc9b9 to < 4a953ee228f5544a3e5515eed88bf09d1a5adb94 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

RDMA/uverbs: Fix uobject leak in DMABUF release

Provenance

Schema
5.2
Searchable
yes
Content hash
7d1507e6b838f87f64d854aeab70cee61c00bc4e889789169f7e332485adf8b3
Ingested
01 Dec 2026, 05:47:22 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected