# CVE-2026-89942: iio: buffer: Fix potential use-after-free in anonymous buffer release

CVE-2026-89942 is fixed in 37 products on 1 platform, first by DEBIAN-CVE-2026-89942, released September 23, 2026. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2026-89942
- Priority: High
- CVSS: 7.8 (high)
- EPSS: 0.0016
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Sep 16, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-89942

## Description

In the Linux kernel, the following vulnerability has been resolved:  iio: buffer: Fix potential use-after-free in anonymous buffer release  An anonymous buffer handle holds a reference to the underlying IIO device. The reference is dropped in the buffer handle's release function. If the device has been removed, either through unbind or hot-unplug, the buffer handle might hold the last reference.  The release function takes the mutex for the buffer using a guard, which means the unlock happens after all the code in the function, including `iio_device_put()`. If the anonymous buffer holds the last reference this might free both the IIO device and the buffer, which contains the mutex, leading to use-after-free when the mutex is unlocked.  Fix this by using a scoped guard just around the buffer dmabuf list access, making sure the mutex is unlocked before releasing the IIO device.  Version 10 of the patch that introduced this issue used this exact scheme of first unlocking and then dropping the reference [1]. During review it was suggested to use a guard instead, and version 11 made that change [2].

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | kernel-uek ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-devel ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-devel ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-deprecated ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-deprecated ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-desktop ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-desktop ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-extra ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-extra ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-extra-netfilter ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-extra-netfilter ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-usb ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-usb ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-wireless ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-debug-modules-wireless ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-devel ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-devel ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-doc ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-doc ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-deprecated ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-deprecated ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-desktop ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-desktop ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-extra ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-extra ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-extra-netfilter ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-extra-netfilter ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-usb ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-usb ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-wireless ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-modules-wireless ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-tools ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek-tools ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-devel ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-devel ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-core ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-core ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-deprecated ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-deprecated ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-desktop ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-desktop ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-extra ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-extra ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-extra-netfilter ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-extra-netfilter ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-usb ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-usb ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-wireless ol 10 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | kernel-uek64k-modules-wireless ol 9 | 0:6.12.0-207.111.5.1.el9uek | [ELSA-2026-500374](https://patchblox.com/security/data/fix/linux/elsa-2026-500374.md) | Oct 7, 2026 |
| Linux | linux Debian 13.5 (trixie) | 6.12.111-1 | [DEBIAN-CVE-2026-89942](https://patchblox.com/security/data/fix/linux/debian-cve-2026-89942.md) | Sep 23, 2026 |
| Linux | linux Debian 14 | 7.2.6-1 | [DEBIAN-CVE-2026-89942](https://patchblox.com/security/data/fix/linux/debian-cve-2026-89942.md) | Sep 23, 2026 |
| Linux | linux-6.12 Debian 12.15 (bookworm) | 6.12.111-1~deb12u1 | [DEBIAN-CVE-2026-89942](https://patchblox.com/security/data/fix/linux/debian-cve-2026-89942.md) | Sep 23, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
