PT-2024-11088 · Linux · Linux Kernel
Tomasz Duszynski
·
Published
2021-05-10
·
Updated
2024-12-31
·
CVE-2021-46979
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
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.
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel