CVE-2021-47088

mm/damon/dbgfs: protect targets destructions with kdamond_lock

published March 4, 2024

CVSS
—
EPSS
0%
Percentile
11.1
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00214 · 11.1th percentile
Published
2024-03-04T18:10Z
EPSS history
Timeline
  • 04 MAR 18:10Z
    mm/damon/dbgfs: protect targets destructions with kdamond_lock
    cvelistv5