{"id":"CVE-2021-47088","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmm/damon/dbgfs: protect targets destructions with kdamond_lock\n\nDAMON debugfs interface iterates current monitoring targets in\n'dbgfs_target_ids_read()' while holding the corresponding\n'kdamond_lock'.  However, it also destructs the monitoring targets in\n'dbgfs_before_terminate()' without holding the lock.  This can result in\na use_after_free bug.  This commit avoids the race by protecting the\ndestruction with the corresponding 'kdamond_lock'.","modified":"2026-03-13T05:16:31.099450Z","published":"2024-03-04T18:15:07.510Z","references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/330c6117a82c16a9a365a51cec5c9ab30b13245c"},{"type":"FIX","url":"https://git.kernel.org/stable/c/34796417964b8d0aef45a99cf6c2d20cebe33733"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"5.15"},{"fixed":"5.15.12"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc2"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc3"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc4"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc5"}]},{"events":[{"introduced":"0"},{"last_affected":"5.16-rc6"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47088.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}