{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "d73d2a569e6212f58d89efc6e66ffbb2386a47b1"
            },
            {
              "fixed": "68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "9b407312755fd5db012413ca005f0f3a661db8dd"
            },
            {
              "fixed": "78189c0e35abbcdab3b8ab0b764d578c02900734"
            },
            {
              "fixed": "890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d"
            },
            {
              "fixed": "c28846ca1ac6134881114d272314623c8433e372"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.12.114"
            },
            {
              "fixed": "6.12.115"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.15.0"
            },
            {
              "fixed": "6.18.59"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.2.13"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99190.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths\n\nA drive-by review by Sashiko reports that, after a failed call to\ngpiochip_set_multiple(), gpiod_set_array_value() returns abruptly,\nbypassing the freeing of possibly alloced bitmaps, potentially leaking\nmemory. It is an unlikely error path, but is possible.\n\nDefer the return code check until after the bitmap_free() block.",
  "id": "CVE-2026-99190",
  "modified": "2026-11-17T06:45:37.762562292Z",
  "published": "2026-10-28T10:35:47.107Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99190.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99190"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths"
}