CVE-2026-99190 gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths
설명
In the Linux kernel, the following vulnerability has been resolved: gpiolib: fix memory leak in gpiod_set_array_value_complex() on error paths A drive-by review by Sashiko reports that, after a failed call to gpiochip_set_multiple(), gpiod_set_array_value() returns abruptly, bypassing the freeing of possibly alloced bitmaps, potentially leaking memory. It is an unlikely error path, but is possible. Defer the return code check until after the bitmap_free() block.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.12.114 이상 6.12.115 미만
- 6.15
해결 버전
- 6.12.115 이상
- 6.15 미만
- 6.18.59 이상
- 7.2.13 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/68a2cd5381b8d89dc80bd16dd9cc9ca2d5c25e7f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/78189c0e35abbcdab3b8ab0b764d578c02900734 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/890c3bf08e0fc09eff788a6cfeded7d21b4d3e9d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c28846ca1ac6134881114d272314623c8433e372 (새 창)