CVE
CVE-2021-47088
CNA 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 versions
All Linux kernel vulnerabilities →
- 5.16-rc6This version only
- 5.16-rc5This version only
- 5.16-rc4This version only
- 5.16-rc3This version only
- 5.16-rc2This version only
- 5.16-rc1This version only
- ≥ 5.15, < 5.15.12Fixed in 5.15.12
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.