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

Published Mar 4, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/dbgfs: protect targets destructions with kdamondlock

DAMON debugfs interface iterates current monitoring targets in 'dbgfstargetidsread()' while holding the corresponding 'kdamondlock'. However, it also destructs the monitoring targets in 'dbgfsbeforeterminate()' without holding the lock. This can result in a useafterfree bug. This commit avoids the race by protecting the destruction with the corresponding 'kdamondlock'.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

mm/damon/dbgfs: protect targets destructions with kdamondlock

The Linux kernel CVE team has assigned CVE-2021-47088 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024030413-CVE-2021-47088-269c@gregkh/T

— Red Hat

Affected Software

9 affected componentsFixes available
Linux Linux kernel>=5.15<5.15.12
Linux Linux kernel=5.16-rc1
Linux Linux kernel=5.16-rc2
Linux Linux kernel=5.16-rc3
Linux Linux kernel=5.16-rc4
Linux Linux kernel=5.16-rc5
Linux Linux kernel=5.16-rc6
redhat/kernel<5.15.12
5.15.12
redhat/kernel<5.16
5.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.15.12
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 5.16

Event History

Mar 4, 2024
CVE Published
via MITRE·06:10 PM
Data Sourced
via MITRE·06:10 PM
Description
Mar 5, 2024
Data Sourced
via Red Hat·04:08 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-47088?

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

2

How do I fix CVE-2021-47088?

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

3

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.

4

What is the nature of CVE-2021-47088?

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

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203