{"id":"CVE-2026-99190","summary":"gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths","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.","modified":"2026-11-17T07:03:38.063718858Z","published":"2026-10-28T10:35:47.107Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99190.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d73d2a569e6212f58d89efc6e66ffbb2386a47b1"},{"fixed":"68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9b407312755fd5db012413ca005f0f3a661db8dd"},{"fixed":"78189c0e35abbcdab3b8ab0b764d578c02900734"},{"fixed":"890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d"},{"fixed":"c28846ca1ac6134881114d272314623c8433e372"}]}],"versions":["v6.12.114"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99190.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","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"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99190.json"}}],"schema_version":"1.9.2"}