CVE-2026-89941

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

Published Sep 16, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

An implementation of the Linux kernel’s Industrial I/O (IIO) subsystem introduced a custom release function for its DMA fences that frees the memory with kfree(). Because kfree() is not RCU-safe, a use-after-free condition can arise when the fence is accessed after it has been freed, potentially leading to a kernel crash or arbitrary code execution in privileged mode. This is a classic Use-After-Free flaw, corresponding to CWE-416.

Affected Systems

All Linux kernel installations that contain the IIO DMA fence code are potentially affected, including kernels distributed by major Linux distributions. Affected kernel versions are not specified, so any kernel in which the iio_dma_fence structure is compiled and used by IIO device drivers is included.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity vulnerability, but the EPSS score of less than 1 % suggests a low probability of exploitation in the wild, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector would require a privileged or local attack that can trigger the custom release path in the IIO subsystem, but this inference is drawn because the precise exploitation methods are not detailed in the CVE data. Given the low exploitation probability, the overall risk is medium, but the impact remains high if an attacker succeeds.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the IIO DMA fence RCU-safe fix.
  • Recompile any kernel modules that use iio_dma_fence to ensure the updated structure layout is used.
  • If an immediate kernel upgrade is not possible, apply a temporary patch that removes the custom release implementation from the iio_dma_fence code and rebuild kernel modules.

Generated by OpenCVE AI on September 18, 2026 at 08:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
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.
Title iio: buffer: Make IIO DMA fence release RCU-safe
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 8:55 AM
Reserved
Sep 11, 2026, 7:38 PM
Status
Received
Published
Sep 16, 2026, 11:17 AM
Modified
Oct 19, 2026, 9:18 AM