{"id":"CVE-2026-138856","summary":"xen/gntdev: Fix gntdev_dmabuf ref leak in dmabuf_exp_wait_released()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen/gntdev: Fix gntdev_dmabuf ref leak in dmabuf_exp_wait_released()\n\ndmabuf_exp_wait_released() takes a reference on the exported\ngntdev_dmabuf with dmabuf_exp_wait_obj_get_dmabuf() and passes it to\ndmabuf_exp_wait_obj_new(), which drops that reference after adding the\nwait object to the wait list.  When the wait object allocation fails,\ndmabuf_exp_wait_obj_new() returns ERR_PTR(-ENOMEM) early and the\nreference is never dropped, leaking a reference to the exported\ngntdev_dmabuf.\n\nDrop the reference on the allocation failure path so the reference is\nconsumed whether the wait object is created or not.","modified":"2026-12-01T21:02:34.846204748Z","published":"2026-11-30T13:25:37.382Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138856.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/20000d5c335d3b4cadc2d926263abfc9e3f36c9e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a299dad67139c3dbc1712b6d79472cea0a3a5b3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/40f3e62921fb559dba4ae89c9086ba757f2eb086"},{"type":"WEB","url":"https://git.kernel.org/stable/c/46a461d1c3230d0d10946431cceba70439623904"},{"type":"WEB","url":"https://git.kernel.org/stable/c/653e99fad6aa70f444357b1edc624ab40da1f5c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f165abe2b40ede71c98956cd74cd17c18505e75"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90aa20dcd08586be5b57bbc8db3a80a46c1990e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d93be1f126bd12eb1e3976f1809511f5cc5fa012"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138856.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138856"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"932d6562179efe8e2460a0343dbe0fcacf288a9e"},{"fixed":"3a299dad67139c3dbc1712b6d79472cea0a3a5b3"},{"fixed":"46a461d1c3230d0d10946431cceba70439623904"},{"fixed":"d93be1f126bd12eb1e3976f1809511f5cc5fa012"},{"fixed":"20000d5c335d3b4cadc2d926263abfc9e3f36c9e"},{"fixed":"653e99fad6aa70f444357b1edc624ab40da1f5c6"},{"fixed":"40f3e62921fb559dba4ae89c9086ba757f2eb086"},{"fixed":"90aa20dcd08586be5b57bbc8db3a80a46c1990e6"},{"fixed":"6f165abe2b40ede71c98956cd74cd17c18505e75"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138856.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.19.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138856.json"}}],"schema_version":"1.9.2"}