In the Linux kernel, the following vulnerability has been resolved: iio: gyro: mpu3050: Move iio_device_register() to correct location iio_device_register() should be at the end of the probe function to prevent race conditions. Place iio_device_register() at the end of the probe function and place iio_device_unregister() accordingly.
https://git.kernel.org/stable/c/cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c
https://git.kernel.org/stable/c/caec338f91469f0a70b68165185afa3abc994545
https://git.kernel.org/stable/c/92f18aa86302fe83e0726a1191015f427d4ff056
https://git.kernel.org/stable/c/59a317f8215674c8330817770497301bfb2c1b99
https://git.kernel.org/stable/c/4c05799449108fb0e0a6bd30e65fffc71e60db4d
https://git.kernel.org/stable/c/2a4537653d200fda2a8516083459f8ff6194f8fc
https://git.kernel.org/stable/c/22487ef85f6dd9499ddf49b85a08afc50a3f1992
https://git.kernel.org/stable/c/051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7