CWE
416
Advisory Published
Updated

CVE-2021-47088: mm/damon/dbgfs: protect targets destructions with kdamond_lock

First published: Mon Mar 04 2024(Updated: )

In the Linux kernel, the following vulnerability has been resolved: mm/damon/dbgfs: protect targets destructions with kdamond_lock DAMON debugfs interface iterates current monitoring targets in 'dbgfs_target_ids_read()' while holding the corresponding 'kdamond_lock'. However, it also destructs the monitoring targets in 'dbgfs_before_terminate()' without holding the lock. This can result in a use_after_free bug. This commit avoids the race by protecting the destruction with the corresponding 'kdamond_lock'.

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

Affected SoftwareAffected VersionHow to fix
Linux kernel>=5.15<5.15.12
Linux kernel=5.16-rc1
Linux kernel=5.16-rc2
Linux kernel=5.16-rc3
Linux kernel=5.16-rc4
Linux kernel=5.16-rc5
Linux kernel=5.16-rc6

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.

Frequently Asked Questions

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

    CVE-2021-47088 is classified as a medium-severity vulnerability affecting the Linux kernel.

  • How do I fix CVE-2021-47088?

    To resolve CVE-2021-47088, update your Linux kernel to a version later than 5.15.12.

  • What versions of the Linux kernel are affected by CVE-2021-47088?

    CVE-2021-47088 affects Linux kernel versions from 5.15 to 5.16-rc6.

  • What is the nature of CVE-2021-47088?

    CVE-2021-47088 involves a vulnerability in the DAMON debugfs interface in the Linux kernel.

  • What impact does CVE-2021-47088 have on systems?

    CVE-2021-47088 may lead to improper handling of monitoring targets in the Linux kernel, potentially affecting system stability.

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