CVE-2021-47461
Last modified
CVE-2021-47461 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: userfaultfd: fix a race between writeprotect and exit_mmap() A race is possible when a process exits, its VMAs are removed by exit_mmap() and at the same time userfaultfd_writeprotect() is called. The race was detected by KASAN on a development kernel, but it appears to be possible on vanilla kernels as well. Use mmget_not_zero() to prevent the race as done in other userfaultfd operations.. EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: userfaultfd: fix a race between writeprotect and exit_mmap() A race is possible when a process exits, its VMAs are removed by exit_mmap() and at the same time userfaultfd_writeprotect() is called. The race was detected by KASAN on a development kernel, but it appears to be possible on vanilla kernels as well. Use mmget_not_zero() to prevent the race as done in other userfaultfd operations.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.7, < 5.10.76 | — |
| Linux | Linux Kernel | >= 5.11, < 5.14.15 | — |
| Linux | Linux Kernel | 5.15 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47461?
How severe is CVE-2021-47461?
How do I fix CVE-2021-47461?
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-47455In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47456In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2021-47457In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47458In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47459In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47460In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47462In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47463In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47464In the Linux kernel, the following vulnerability has been re…7.4
- CVE-2021-47465In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47466In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47467In the Linux kernel, the following vulnerability has been re…5.3
Are you affected by CVE-2021-47461?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
