VYPR
High severity7.0NVD Advisory· Published Mar 4, 2024· Updated Jun 17, 2026

CVE-2021-47088

CVE-2021-47088

Description

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

Affected products

9
  • Linux/Kernel9 versions
    cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 8 more
    • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.15,<5.15.12
    • 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:*:*:*:*:*:*
    • (no CPE)
    • (no CPE)range: 5.15

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.