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

CVE-2026-138856
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 3a299dad67139c3dbc1712b6d79472cea0a3a5b3
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 46a461d1c3230d0d10946431cceba70439623904
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < d93be1f126bd12eb1e3976f1809511f5cc5fa012
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 20000d5c335d3b4cadc2d926263abfc9e3f36c9e
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 653e99fad6aa70f444357b1edc624ab40da1f5c6
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 40f3e62921fb559dba4ae89c9086ba757f2eb086
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 90aa20dcd08586be5b57bbc8db3a80a46c1990e6
affected : ≥ 932d6562179efe8e2460a0343dbe0fcacf288a9e < 6f165abe2b40ede71c98956cd74cd17c18505e75
Other versions : unaffected
Linux · Linux
affected : 4.19
unaffected : ≥ 0 < 4.19
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD