CVE-2026-89942
iio: buffer: Fix potential use-after-free in anonymous buffer release
Reported by linux · Published September 16, 2026
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].
EPSS 0.16% · 5.1th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | f1f8f0e8e0af9cae8150658dc7bb51332f984893, ab53077511cde811bf3ee219426c522329c41226, 6d4bdbf7bad63e759bf20259c527f69a1209e3dd, 6288b593e76eb10329326f2cd51e32557203b9e5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f |
| Linux | Linux | 6.11, 0, 6.12.110 |
| Linux | Linux | 7.3, 0, 6.12.110 |
| linux | linux_kernel | 6.11, 6.11, 6.11 |
Timeline
- Sep 16, 2026 Coalition ESS Score
- Sep 16, 2026 CVE Published
- Sep 17, 2026 EPSS Score (8 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-89942
vulnetix vdb fixes CVE-2026-89942
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-89942/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart