CVE-2026-63929
iio: buffer: Fix DMA fence leak in iio_buffer_enqueue_dmabuf()
Check your servers for CVE-2026-63929
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-63929 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.
Description
In the Linux kernel, the following vulnerability has been resolved:
iio: buffer: Fix DMA fence leak in iio_buffer_enqueue_dmabuf()
iio_buffer_enqueue_dmabuf() allocates a struct iio_dma_fence (104 bytes, kmalloc-128) via kmalloc_obj()+dma_fence_init(), which sets the initial kref to 1. It then calls dma_resv_add_fence() which takes a second reference (kref=2), and stores a raw pointer in block->fence.
On the success path the function returns without calling dma_fence_put() to release the initial reference, so every buffer enqueue permanently leaks one kmalloc-128 allocation.
The iio_buffer_cleanup() work item only releases the temporary reference taken during completion signalling by iio_buffer_signal_dmabuf_done(); the initial reference from dma_fence_init() is never released.
With four iio_rwdev instances at 240kHz and 512 samples per buffer, this produces ~1875 kmalloc-128 allocations per second matching the observed slab growth exactly. A test with ftrace confirmed that the dma_fence_destroy event was never triggered.
Fix by calling dma_fence_put() after dma_resv_add_fence(), transferring ownership of the fence to the DMA reservation object. The DMA fence then gets properly discarded after being signalled.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.85% of all scored CVEs. Scores of 2 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, before 9678aeed8b77d495a417dd057d479f3733094019 affected from 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, before 3412a95afaa5d3262008dfc34f3c7be33d8151dc affected from 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, before 96cdeaba6a008503455b78a9641c05c2a886a7ec affected from 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, before a093999355084bdbfe6e97f1dd232e58a1525f0b
Other versions: unaffected
|
| Linux |
affected 6.11 unaffected before 6.11 unaffected from 6.12.93 up to and including 6.12.* unaffected from 6.18.35 up to and including 6.18.* unaffected from 7.0.12 up to and including 7.0.* unaffected 7.1 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-63929 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-63929
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-63929
trivy image --scanners vuln IMAGE | grep CVE-2026-63929
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
- https://git.kernel.org/stable/c/9678aeed8b77d495a417dd057d479f3733094019 git.kernel.org
- https://git.kernel.org/stable/c/3412a95afaa5d3262008dfc34f3c7be33d8151dc git.kernel.org
- https://git.kernel.org/stable/c/96cdeaba6a008503455b78a9641c05c2a886a7ec git.kernel.org
- https://git.kernel.org/stable/c/a093999355084bdbfe6e97f1dd232e58a1525f0b git.kernel.org
Source: the record CVE-2026-63929 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.
Vulnpocalypse