{
  "id": "CVE-2026-89942",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-89942",
  "published_at": "2026-09-16T10:32:29.836Z",
  "title": "iio: buffer: Fix potential use-after-free in anonymous buffer release",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: Fix potential use-after-free in anonymous buffer release\n\nAn anonymous buffer handle holds a reference to the underlying IIO device.\nThe reference is dropped in the buffer handle's release function. If the\ndevice has been removed, either through unbind or hot-unplug, the buffer\nhandle might hold the last reference.\n\nThe release function takes the mutex for the buffer using a guard, which\nmeans the unlock happens after all the code in the function, including\n`iio_device_put()`. If the anonymous buffer holds the last reference this\nmight free both the IIO device and the buffer, which contains the mutex,\nleading to use-after-free when the mutex is unlocked.\n\nFix this by using a scoped guard just around the buffer dmabuf list access,\nmaking sure the mutex is unlocked before releasing the IIO device.\n\nVersion 10 of the patch that introduced this issue used this exact scheme\nof first unlocking and then dropping the reference [1]. During review it\nwas suggested to use a guard instead, and version 11 made that change [2].",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \u003c ab53077511cde811bf3ee219426c522329c41226",
          "\u003e= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \u003c f1f8f0e8e0af9cae8150658dc7bb51332f984893",
          "\u003e= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \u003c 6d4bdbf7bad63e759bf20259c527f69a1209e3dd",
          "\u003e= 3e26d9f08fbe0b73e951a5e810fdb7a332b7e37f, \u003c 6288b593e76eb10329326f2cd51e32557203b9e5"
        ],
        "fixed_in": [
          "ab53077511cde811bf3ee219426c522329c41226",
          "f1f8f0e8e0af9cae8150658dc7bb51332f984893",
          "6d4bdbf7bad63e759bf20259c527f69a1209e3dd",
          "6288b593e76eb10329326f2cd51e32557203b9e5"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.110",
          "6.18.51",
          "7.2.5",
          "7.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to ab53077511cde811bf3ee219426c522329c41226 or f1f8f0e8e0af9cae8150658dc7bb51332f984893 or 6d4bdbf7bad63e759bf20259c527f69a1209e3dd or 6288b593e76eb10329326f2cd51e32557203b9e5 or later.",
      "Upgrade Linux to 0 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
