In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxsd9: Fix potential use-after-free on removal Unregistering an IIO device with an active triggered buffer detaches its poll function. Freeing the poll function first can therefore make iio_device_unregister() access freed memory. Unregister the device before cleaning up the triggered buffer. This issue was found by our static analysis tool under development.
https://git.kernel.org/stable/c/fd7334314f63a3a2a4927f209b2ca0e33d111840
https://git.kernel.org/stable/c/f21d404b1f7ac52a0e98cc6557f74cab721a2e42
https://git.kernel.org/stable/c/bffe72f91259b9500823780c1d1bfc04ce70bded
https://git.kernel.org/stable/c/4eafda6f8461e0186ad401574521ef5b92324a76
https://git.kernel.org/stable/c/436a805cb13817a94390605cde25f1eefc6ae1e8
https://git.kernel.org/stable/c/3417ed399119c53871ca908a26d43e7661eda8f8