All reports
Medium

kernel: iio: buffer: Make IIO DMA fence release RCU-safe

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-89941

Probability of exploitation in the next 30 days: 0.16%

FIRST EPSS · 2026-11-23

Description

In the Linux kernel, the following vulnerability has been resolved: iio: buffer: Make IIO DMA fence release RCU-safe The dma_fence documentation states that if a custom release implementation is provided, the dma_fence object must be freed in an RCU-safe way. The current iio_dma_fence implementation uses kfree(), which might result in a use-after-free. Remove the custom release implementation. This makes the DMA fence core fall back to dma_fence_free(), which calls kfree_rcu() on the fence. This requires that the fence be the first member of struct iio_dma_fence. Using the default release method for extended DMA fence structures is a common pattern.

A flaw was found in the Linux kernel's IIO (Industrial I/O) buffer component. The iio_dma_fence implementation incorrectly uses kfree() instead of kfree_rcu() for releasing DMA fence objects. This improper memory deallocation can lead to a use-after-free vulnerability. An attacker could potentially exploit this to cause a system crash (denial of service) or achieve arbitrary code execution.