CVE-2021-47088
kernel: mm/damon/dbgfs: protect targets destructions with kdamond_lock
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 4, 2024
Updated · October 4, 2026
Description
A race condition was found in the Linux kernel's DAMON debugfs interface (mm/damon/dbgfs). The code iterates current monitoring targets while holding the corresponding kdamond_lock, but destructs the monitoring targets without holding the lock, potentially causing a use-after-free bug.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CWE-413 · Improper Resource Locking