Linux · Linux Kernel · CVE-2021-46979
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to the removal of ioctl handlers in the Linux kernel. Currently, ioctl handlers are removed twice, which leads to a double free and results in a kernel panic. This occurs during the `iio device unregister()` function and later on inside `iio device unregister eventset()` and `iio buffers free sysfs and mask()`. The fix involves not touching the ioctl handlers list directly but rather letting the code responsible for registration call the matching cleanup routine itself.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.