CVE-2021-46979

Severity CVSS v4.0:
Pending analysis
Type:
CWE-415 Double Free
Publication date:
28/02/2024
Last modified:
31/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> iio: core: fix ioctl handlers removal<br /> <br /> Currently ioctl handlers are removed twice. For the first time during<br /> iio_device_unregister() then later on inside<br /> iio_device_unregister_eventset() and iio_buffers_free_sysfs_and_mask().<br /> Double free leads to kernel panic.<br /> <br /> Fix this by not touching ioctl handlers list directly but rather<br /> letting code responsible for registration call the matching cleanup<br /> routine itself.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.11.22 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.12 (including) 5.12.5 (excluding)
cpe:2.3:o:linux:linux_kernel:5.13:rc1:*:*:*:*:*:*