CVE-2021-46979: Linux Kernel
Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.
In the Linux kernel, the following vulnerability has been resolved: iio: core: fix ioctl handlers removal Currently ioctl handlers are removed twice. For the first time during iio_device_unregister() then later on inside iio_device_unregister_eventset() and iio_buffers_free_sysfs_and_mask(). Double free leads to kernel panic. Fix this by not touching ioctl handlers list directly but rather letting code responsible for registration call the matching cleanup routine itself.
Affected products
- Linux Linux Kernel: from 5.11, before 5.11.22 (fixed in 5.11.22); from 5.12, before 5.12.5 (fixed in 5.12.5); version 5.13 only
Published 2024-02-28. Last modified 2026-06-17.