{"id":"CVE-2021-46979","published":"2024-02-28T08:13:09Z","modified":"2026-05-11T13:45:36Z","title":"iio: core: fix ioctl handlers removal","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: core: fix ioctl handlers removal\n\nCurrently ioctl handlers are removed twice. For the first time during\niio_device_unregister() then later on inside\niio_device_unregister_eventset() and iio_buffers_free_sysfs_and_mask().\nDouble free leads to kernel panic.\n\nFix this by not touching ioctl handlers list directly but rather\nletting code responsible for registration call the matching cleanup\nroutine itself.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00222,"percentile":0.07547,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/11e1cae5da4096552f7c091476cbadbc0d1817da","tags":[]},{"url":"https://git.kernel.org/stable/c/ab6c935ba3a04317632f3b8b68675bdbaf395303","tags":[]},{"url":"https://git.kernel.org/stable/c/901f84de0e16bde10a72d7eb2f2eb73fcde8fa1a","tags":[]}],"priority":{"score":1.5,"factors":[{"name":"EPSS percentile","points":1.51}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 8dedcc3eee3aceb37832176f0a1b03d5687acda3, < 11e1cae5da4096552f7c091476cbadbc0d1817da",">= 8dedcc3eee3aceb37832176f0a1b03d5687acda3, < ab6c935ba3a04317632f3b8b68675bdbaf395303",">= 8dedcc3eee3aceb37832176f0a1b03d5687acda3, < 901f84de0e16bde10a72d7eb2f2eb73fcde8fa1a"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-05T16:50:41.718465Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33627","exploited":false,"provenance":"source"}}