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.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
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:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/11e1cae5da4096552f7c091476cbadbc0d1817da
- https://git.kernel.org/stable/c/901f84de0e16bde10a72d7eb2f2eb73fcde8fa1a
- https://git.kernel.org/stable/c/ab6c935ba3a04317632f3b8b68675bdbaf395303
- https://git.kernel.org/stable/c/11e1cae5da4096552f7c091476cbadbc0d1817da
- https://git.kernel.org/stable/c/901f84de0e16bde10a72d7eb2f2eb73fcde8fa1a
- https://git.kernel.org/stable/c/ab6c935ba3a04317632f3b8b68675bdbaf395303



