| 概要 | In the Linux kernel, the following vulnerability has been resolved: gpio: Fix resource leaks on errors in gpiochip_add_data_with_key() Since commit aab5c6f20023 ("gpio: set device type for GPIO chips"), Drop the reference on errors. Also reorder the instructions to make the error handling simpler. >>> Some memory allocation. Go to ERR ZONE 1 on errors. gpiodev_release() takes over the responsibility for freeing the >>> Some initialization mainly on `gdev`. >>> ERR ZONE 2. gpio_device_put() and exit. |
|---|---|
| 公表日 | 2026年5月2日0:16 |
| 登録日 | 2026年5月2日4:07 |
| 最終更新日 | 2026年5月2日0:24 |