{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0a8565425afd8ba0e1a0ea73e21da119ee6dacea"
            },
            {
              "fixed": "89f3852a28fcf7bab599280cb082baa0675536db"
            },
            {
              "fixed": "b466db9e68b4741af85f6c017e2bb0a2f025053f"
            },
            {
              "fixed": "e63188d77e10c0951bf67da6c295f768fd1abf4b"
            },
            {
              "fixed": "84bb0fc46ccf6a545b8fdf57cda83770186ed8dd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5.15.137"
            },
            {
              "fixed": "5.16"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "6.1.60"
            },
            {
              "fixed": "6.2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "a9c471892d75847671a246619c2148578f22bbc6"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "7bca0af538a49dacb1470f233be0676bdc09605b"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.12.113"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.56"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.10"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98669.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: serialize buffer teardown with mode claims\n\nBuffer-mode claims hold mlock to guarantee that the device remains in\nbuffer mode until the claim is released. Normal buffer updates take\ninfo_exist_lock followed by mlock in iio_update_buffers().\n\nHowever, iio_device_unregister() disables and deactivates all buffers\nwithout taking mlock. This can invalidate buffer state, including\nactive_scan_mask, while a buffer-mode claim is held.\n\nTake mlock in iio_disable_all_buffers() so that unregister honors the\nmode-claim lifetime guarantee. The info_exist_lock -\u003e mlock ordering\nmatches iio_update_buffers().",
  "id": "CVE-2026-98669",
  "modified": "2026-10-19T02:30:24.589194607Z",
  "published": "2026-10-18T15:45:05.836Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/84bb0fc46ccf6a545b8fdf57cda83770186ed8dd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89f3852a28fcf7bab599280cb082baa0675536db"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b466db9e68b4741af85f6c017e2bb0a2f025053f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e63188d77e10c0951bf67da6c295f768fd1abf4b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98669.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-98669"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "iio: buffer: serialize buffer teardown with mode claims"
}