Lucene search

K
ubuntucveUbuntu.comUB:CVE-2021-47088
HistoryMar 04, 2024 - 12:00 a.m.

CVE-2021-47088

2024-03-0400:00:00
ubuntu.com
ubuntu.com
4
linux kernel
mm/damon/dbgfs
vulnerability
cve-2021-47088
kdamond_lock
use_after_free
debugfs
exploitation
root access

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%

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

Notes

Author Note
Priority reason: Exploitation requires write access to debugfs entries, which are restricted to root by default on Ubuntu kernels.

6.5 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.1%