CWE
362
Advisory Published
Updated

CVE-2021-47461: userfaultfd: fix a race between writeprotect and exit_mmap()

First published: Wed May 22 2024(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
redhat/kernel<5.10.76
5.10.76
redhat/kernel<5.14.15
5.14.15
redhat/kernel<5.15
5.15
IBM Security Verify Governance - Identity Manager<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-47461?

    CVE-2021-47461 is classified with a medium severity due to its potential impact on system stability.

  • How do I fix CVE-2021-47461?

    To fix CVE-2021-47461, update the kernel to version 5.10.76, 5.14.15, or 5.15.

  • What systems are affected by CVE-2021-47461?

    CVE-2021-47461 affects various Linux kernel versions and IBM Security Verify Governance versions up to 10.0.2.

  • What specific issue does CVE-2021-47461 address?

    CVE-2021-47461 addresses a race condition between userfaultfd_writeprotect() and exit_mmap() in the Linux kernel.

  • Is CVE-2021-47461 specific to certain distributions?

    Yes, CVE-2021-47461 is primarily reported in Red Hat kernels and certain IBM security products.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203