CVE-2026-43181
Gravedad:
Pendiente de análisis
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
06/05/2026
Última modificación:
06/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
gpio: sysfs: fix chip removal with GPIOs exported over sysfs<br />
<br />
Currently if we export a GPIO over sysfs and unbind the parent GPIO<br />
controller, the exported attribute will remain under /sys/class/gpio<br />
because once we remove the parent device, we can no longer associate the<br />
descriptor with it in gpiod_unexport() and never drop the final<br />
reference.<br />
<br />
Rework the teardown code: provide an unlocked variant of<br />
gpiod_unexport() and remove all exported GPIOs with the sysfs_lock taken<br />
before unregistering the parent device itself. This is done to prevent<br />
any new exports happening before we unregister the device completely.



