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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2024-05-22 07:15
Updated : 2025-09-24 12:38
NVD link : CVE-2021-47461
Mitre link : CVE-2021-47461
CVE.ORG link : CVE-2021-47461
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
