CVE-2021-47088
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
04/03/2024
Last modified:
16/01/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
mm/damon/dbgfs: protect targets destructions with kdamond_lock<br />
<br />
DAMON debugfs interface iterates current monitoring targets in<br />
&#39;dbgfs_target_ids_read()&#39; while holding the corresponding<br />
&#39;kdamond_lock&#39;. However, it also destructs the monitoring targets in<br />
&#39;dbgfs_before_terminate()&#39; without holding the lock. This can result in<br />
a use_after_free bug. This commit avoids the race by protecting the<br />
destruction with the corresponding &#39;kdamond_lock&#39;.
Impact
Base Score 3.x
7.00
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15 (including) | 5.15.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



