Use After Free in Linux
CVE-2021-47088
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'.
Vulnerability class: Use-After-Free
EPSS: 0.002 (11.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Linux — versions 4bc05954d0076655cfaf6f0135585bdc20cd6b11, 5.15, 0
- Linux Linux_kernel — versions 5.16
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2021-47088?
- CVE-2021-47088 is a high-severity vulnerability in Linux, classified under Use After Free. CVSS score: 7.0/10. Published 2024-03-04.
- How severe is CVE-2021-47088?
- High severity. CVSS v3 base score is 7.0 out of 10.