CVE-2021-46979
Last modified
CVE-2021-46979 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.11, < 5.11.22 | — |
| Linux | Linux Kernel | >= 5.12, < 5.12.5 | — |
| Linux | Linux Kernel | 5.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-46979?
How severe is CVE-2021-46979?
How do I fix CVE-2021-46979?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-46973In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-46974In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46975Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2021-46976In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46977In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46978In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-46980In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2021-46981In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46982In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2021-46983In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-46984In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-46985In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-46979?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
