{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "48b66f8f936f369bb1a43c12aedbfeb2975baf4c"
            },
            {
              "fixed": "b71893c57730809c222766e5718bb33610f11963"
            },
            {
              "fixed": "2ff615fc455acda5425c4900160cbe11cfea4449"
            },
            {
              "fixed": "d2759d49860b9a39b5cde2fb88e4b822ddf5f58f"
            },
            {
              "fixed": "29783e6b6ec0b7152a15e53a063f17537e81177d"
            },
            {
              "fixed": "e965627f0d442bfcae3f496c90cb653fb0917a61"
            },
            {
              "fixed": "a3763ae33476328cf8d661742deb9daec78eac96"
            },
            {
              "fixed": "9319c94f63ed10723afd738d79f5617daba87cc8"
            },
            {
              "fixed": "6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.16.0"
            },
            {
              "fixed": "5.10.259"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.210"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.176"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.143"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.93"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.35"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.0.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63930.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: buffer: hw-consumer: fix use-after-free in error path\n\nIn the err_put_buffers cleanup path of iio_hw_consumer_alloc(), the code\nwas using list_for_each_entry() to iterate through buffers while calling\niio_buffer_put() which can free the current buffer if refcount drops to 0.\nThe list_for_each_entry() loop macro then evaluates buf-\u003ehead.next to\ncontinue iteration, accessing the freed buffer.\n\nFix this by using list_for_each_entry_safe().",
  "id": "CVE-2026-63930",
  "modified": "2026-07-22T05:30:09.054334309Z",
  "published": "2026-07-19T14:55:30.016Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/29783e6b6ec0b7152a15e53a063f17537e81177d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2ff615fc455acda5425c4900160cbe11cfea4449"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6f5ed4f2c7c83f33344e0ba179f72a12e5dad4a4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9319c94f63ed10723afd738d79f5617daba87cc8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a3763ae33476328cf8d661742deb9daec78eac96"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b71893c57730809c222766e5718bb33610f11963"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d2759d49860b9a39b5cde2fb88e4b822ddf5f58f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e965627f0d442bfcae3f496c90cb653fb0917a61"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63930.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-63930"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "iio: buffer: hw-consumer: fix use-after-free in error path"
}