CVE-2021-46979
MEDIUMLinux Kernel < 5.11.22 - Double Free
Title source: ruleDescription
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.
Scores
CVSS v3
5.5
EPSS
0.0005
EPSS Percentile
14.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-415
Status
published
Affected Products (2)
linux/linux_kernel
< 5.11.22
linux/linux_kernel
Timeline
Published
Feb 28, 2024
Tracked Since
Feb 18, 2026