CVE-2026-138856

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

No CVSS score yet EPSS 0.19%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-138856

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-138856 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.19%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.50% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 3a299dad67139c3dbc1712b6d79472cea0a3a5b3
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 46a461d1c3230d0d10946431cceba70439623904
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before d93be1f126bd12eb1e3976f1809511f5cc5fa012
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 20000d5c335d3b4cadc2d926263abfc9e3f36c9e
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 653e99fad6aa70f444357b1edc624ab40da1f5c6
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 40f3e62921fb559dba4ae89c9086ba757f2eb086
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 90aa20dcd08586be5b57bbc8db3a80a46c1990e6
affected from 932d6562179efe8e2460a0343dbe0fcacf288a9e, before 6f165abe2b40ede71c98956cd74cd17c18505e75
Other versions: unaffected
Linux
affected 4.19
unaffected before 4.19
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.118 up to and including 6.12.*
unaffected from 6.18.64 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-138856 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-138856

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-138856
trivy image --scanners vuln IMAGE | grep CVE-2026-138856

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-138856 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.