{"id":"CVE-2026-99190","aliases":["CVE-2026-99190"],"related":[],"kind":"vulnerability","state":"published","title":"gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-28T10:35:47.107Z","modified":"2026-10-30T13:21:52.150Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d73d2a569e6212f58d89efc6e66ffbb2386a47b1","fixed":"68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f","status":"affected"},{"type":"git","introduced":"9b407312755fd5db012413ca005f0f3a661db8dd","fixed":"78189c0e35abbcdab3b8ab0b764d578c02900734","status":"affected"},{"type":"git","introduced":"9b407312755fd5db012413ca005f0f3a661db8dd","fixed":"890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d","status":"affected"},{"type":"git","introduced":"9b407312755fd5db012413ca005f0f3a661db8dd","fixed":"c28846ca1ac6134881114d272314623c8433e372","status":"affected"},{"type":"semver","introduced":"6.12.114","fixed":"6.12.115","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.12.115","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.59","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.13","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99190","url":"https://www.cve.org/CVERecord?id=CVE-2026-99190","licence":"CVE Terms of Use","modified":"2026-10-30T12:42:47.929Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99190","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99190","licence":"Public domain","modified":"2026-10-30T13:21:52.150Z"}],"updatedAt":"2026-11-25T22:59:47.595Z","epss":{"score":0.00211,"percentile":0.11936,"date":"2026-12-01T12:00:22.000Z"}}