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 /> &amp;#39;dbgfs_target_ids_read()&amp;#39; while holding the corresponding<br /> &amp;#39;kdamond_lock&amp;#39;. However, it also destructs the monitoring targets in<br /> &amp;#39;dbgfs_before_terminate()&amp;#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 &amp;#39;kdamond_lock&amp;#39;.

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:*:*:*:*:*:*