# CVE-2026-138856: xen/gntdev: Fix gntdev_dmabuf ref leak in dmabuf_exp_wait_released()

- 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 8% of CVEs (2026-12-01)
- Published: 2026-11-30T13:25:37.382Z
- Modified: 2026-11-30T14:17:41.733Z
- Assigned by: Linux

## Description

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

xen/gntdev: Fix gntdev_dmabuf ref leak in dmabuf_exp_wait_released()

dmabuf_exp_wait_released() takes a reference on the exported
gntdev_dmabuf with dmabuf_exp_wait_obj_get_dmabuf() and passes it to
dmabuf_exp_wait_obj_new(), which drops that reference after adding the
wait object to the wait list.  When the wait object allocation fails,
dmabuf_exp_wait_obj_new() returns ERR_PTR(-ENOMEM) early and the
reference is never dropped, leaking a reference to the exported
gntdev_dmabuf.

Drop the reference on the allocation failure path so the reference is
consumed whether the wait object is created or not.

(As written by CVE List.)

## Affected

- Linux Linux: from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 3a299dad67139c3dbc1712b6d79472cea0a3a5b3; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 46a461d1c3230d0d10946431cceba70439623904; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before d93be1f126bd12eb1e3976f1809511f5cc5fa012; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 20000d5c335d3b4cadc2d926263abfc9e3f36c9e; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 653e99fad6aa70f444357b1edc624ab40da1f5c6; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 40f3e62921fb559dba4ae89c9086ba757f2eb086; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 90aa20dcd08586be5b57bbc8db3a80a46c1990e6; from 932d6562179efe8e2460a0343dbe0fcacf288a9e before 6f165abe2b40ede71c98956cd74cd17c18505e75; 4.19 (not affected: before 4.19; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.118 up to 6.12.*; from 6.18.64 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/3a299dad67139c3dbc1712b6d79472cea0a3a5b3>
- <https://git.kernel.org/stable/c/46a461d1c3230d0d10946431cceba70439623904>
- <https://git.kernel.org/stable/c/d93be1f126bd12eb1e3976f1809511f5cc5fa012>
- <https://git.kernel.org/stable/c/20000d5c335d3b4cadc2d926263abfc9e3f36c9e>
- <https://git.kernel.org/stable/c/653e99fad6aa70f444357b1edc624ab40da1f5c6>
- <https://git.kernel.org/stable/c/40f3e62921fb559dba4ae89c9086ba757f2eb086>
- <https://git.kernel.org/stable/c/90aa20dcd08586be5b57bbc8db3a80a46c1990e6>
- <https://git.kernel.org/stable/c/6f165abe2b40ede71c98956cd74cd17c18505e75>

## Sources

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

---

Page: https://cve.day/CVE-2026-138856 · Whole record: https://cve.day/CVE-2026-138856.json · Rebuilt by cve.day 2026-11-30T14:32:36.661Z
