VDB

CISA-2021-47088

CISA-2021-47088 PUBLISHED

Reported by Linux · Published March 4, 2024

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

VendorProductVersions
LinuxLinux4bc05954d0076655cfaf6f0135585bdc20cd6b11, 4bc05954d0076655cfaf6f0135585bdc20cd6b11
LinuxLinux5.15, 0, 5.15.12
linuxlinux_kernel5.15, 5.15, 5.15
LinuxLinux4bc05954d0076655cfaf6f0135585bdc20cd6b11, 4bc05954d0076655cfaf6f0135585bdc20cd6b11, 5.15

Timeline

  • Mar 4, 2024 CVE Published
  • May 4, 2025 CVE Updated

References

Open in Interactive Console →
$ Console Community · 100/wk Open console ›