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'.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
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:*:*:*:*:*:*

History

16 Jan 2025, 17:20

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.0
CPE cpe:2.3:o:linux:linux_kernel:5.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*
References () https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c - () https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c - Patch
References () https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733 - () https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733 - Patch
First Time Linux linux Kernel
Linux

21 Nov 2024, 06:35

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c - () https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c -
References () https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733 - () https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733 -

04 Mar 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-04 18:15

Updated : 2025-01-16 17:20


NVD link : CVE-2021-47088

Mitre link : CVE-2021-47088

CVE.ORG link : CVE-2021-47088


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free