{"id":"CVE-2026-99190","published":"2026-10-28T10:35:47Z","modified":"2026-10-30T12:42:47Z","title":"gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00177,"percentile":0.07262,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f","tags":[]},{"url":"https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734","tags":[]},{"url":"https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d","tags":[]},{"url":"https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.45}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d73d2a569e6212f58d89efc6e66ffbb2386a47b1, < 68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f",">= 9b407312755fd5db012413ca005f0f3a661db8dd, < 78189c0e35abbcdab3b8ab0b764d578c02900734",">= 9b407312755fd5db012413ca005f0f3a661db8dd, < 890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d",">= 9b407312755fd5db012413ca005f0f3a661db8dd, < c28846ca1ac6134881114d272314623c8433e372",">= 6.12.114, < 6.12.115"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-111942","exploited":false,"provenance":"source"}}