CVE-2026-89942

published 16 Sep 2026 · updated 15 Nov 2026

iio: buffer: Fix potential use-after-free in anonymous buffer release

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f1f8f0e8e0af9cae8150658dc7bb51332f984893, Kernel 6288b593e76eb10329326f2cd51e32557203b9e5, Kernel 6d4bdbf7bad63e759bf20259c527f69a1209e3dd and 4 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f <f1f8f0e8e0af9cae8150658dc7bb51332f984893, >=3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f <6288b593e76eb10329326f2cd51e32557203b9e5, >=3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f <6d4bdbf7bad63e759bf20259c527f69a1209e3dd, >=3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f <ab53077511cde811bf3ee219426c522329c41226, =6.11f1f8f0e8e0af9cae8150658dc7bb51332f984893, 6288b593e76eb10329326f2cd51e32557203b9e5, 6d4bdbf7bad63e759bf20259c527f69a1209e3dd, ab53077511cde811bf3ee219426c522329c41226
linux-kernel: Kernel>=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.11.0 <6.12.1106.18.51, 7.2.5, 6.12.110

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-89942 severity on Zeptric[![CVE-2026-89942](https://zeptric.io/badge/cve/CVE-2026-89942.svg)](https://zeptric.io/cve/CVE-2026-89942)