{"id":"CVE-2026-99190","aliases":[],"title":"gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths","titleSource":"Linux","descriptionSource":"Linux","products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"9b407312755fd5db012413ca005f0f3a661db8dd","status":"affected","lessThan":"78189c0e35abbcdab3b8ab0b764d578c02900734","versionType":"git"},{"version":"9b407312755fd5db012413ca005f0f3a661db8dd","status":"affected","lessThan":"890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d","versionType":"git"},{"version":"9b407312755fd5db012413ca005f0f3a661db8dd","status":"affected","lessThan":"c28846ca1ac6134881114d272314623c8433e372","versionType":"git"},{"version":"d73d2a569e6212f58d89efc6e66ffbb2386a47b1","status":"affected","versionType":"git"},{"version":"6.12.114","status":"affected","lessThan":"6.13","versionType":"semver"}],"defaultStatus":"unaffected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99190"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.59","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.13","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99190"}],"remediation":[],"description":"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.","severity":"unknown","score":null,"published":"2026-10-28T10:35:47.107Z","modified":"2026-10-28T10:35:47.107Z","withdrawn":false,"knownExploited":false,"affected":[],"references":["https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734","https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d","https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372"],"sources":[{"name":"CVE","id":"CVE-2026-99190","modified":"2026-10-28T10:35:47.107Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99190"}],"assessments":[],"sourceAffected":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T02:20:33.012Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}