# CVE-2026-63929: iio: buffer: Fix DMA fence leak in iio\_buffer\_enqueue\_dmabuf()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 5, 2026-12-04)
- **CWE:** CWE-401
- **Published:** 2026-07-19T14:55:29.309Z
- **Modified:** 2026-10-30T14:29:04.287Z

## Who should check

- Anyone running Linux \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 9678aeed8b77d495a417dd057d479f3733094019; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 3412a95afaa5d3262008dfc34f3c7be33d8151dc; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 96cdeaba6a008503455b78a9641c05c2a886a7ec; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< a093999355084bdbfe6e97f1dd232e58a1525f0b
- Anyone running Linux 6.11

## 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.

## Affected and fixed versions

- Linux: \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 9678aeed8b77d495a417dd057d479f3733094019; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 3412a95afaa5d3262008dfc34f3c7be33d8151dc; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 96cdeaba6a008503455b78a9641c05c2a886a7ec; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< a093999355084bdbfe6e97f1dd232e58a1525f0b (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-63929. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-63929.md
Affected: Linux >= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, < 9678aeed8b77d495a417dd057d479f3733094019; >= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, < 3412a95afaa5d3262008dfc34f3c7be33d8151dc; >= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, < 96cdeaba6a008503455b78a9641c05c2a886a7ec; >= 3e26d9f08fbe0b73e951a5e…
Fixed in: Linux 9678aeed8b77d495a417dd057d479f3733094019, Linux 3412a95afaa5d3262008dfc34f3c7be33d8151dc, Linux 96cdeaba6a008503455b78a9641c05c2a886a7ec

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-63929 being exploited?

There is no confirmed exploitation: CVE-2026-63929 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-12-04).

### How serious is CVE-2026-63929?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-63929?

Linux \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 9678aeed8b77d495a417dd057d479f3733094019; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 3412a95afaa5d3262008dfc34f3c7be33d8151dc; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< 96cdeaba6a008503455b78a9641c05c2a886a7ec; \>= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \< a093999355084bdbfe6e97f1dd232e58a1525f0b; Linux 6.11.

### Is there a fix for CVE-2026-63929?

Yes. Fixed in Linux 9678aeed8b77d495a417dd057d479f3733094019, Linux 3412a95afaa5d3262008dfc34f3c7be33d8151dc, Linux 96cdeaba6a008503455b78a9641c05c2a886a7ec. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-63929?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/9678aeed8b77d495a417dd057d479f3733094019>
- patch: <https://git.kernel.org/stable/c/3412a95afaa5d3262008dfc34f3c7be33d8151dc>
- patch: <https://git.kernel.org/stable/c/96cdeaba6a008503455b78a9641c05c2a886a7ec>
- patch: <https://git.kernel.org/stable/c/a093999355084bdbfe6e97f1dd232e58a1525f0b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-63929>

HTML: <https://flawdb.com/CVE-2026-63929> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-63929>
