lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241222231222.85060-1-sj@kernel.org>
Date: Sun, 22 Dec 2024 15:12:20 -0800
From: SeongJae Park <sj@...nel.org>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: SeongJae Park <sj@...nel.org>,
	damon@...ts.linux.dev,
	linux-mm@...ck.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] mm/damon/core: fix memory leaks and ignored inputs from damon_commit_ctx()

Due to two bugs in damon_commit_targets() and damon_commit_schemes(),
which are called from damon_commit_ctx(), some user inputs can be
ignored, and some mmeory objects can be leaked.  Fix those.

Note that only DAMON sysfs interface users are affected.  Other DAMON
core API user modules that more focused more on simple and dedicated
production usages, including DAMON_RECLAIM and DAMON_LRU_SORT are not
using the buggy function in the way, so not affected.

SeongJae Park (2):
  mm/damon/core: fix new damon_target objects leaks on
    damon_commit_targets()
  mm/damon/core: fix ignored quota goals and filters of newly committed
    schemes

 mm/damon/core.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


base-commit: a2b6c37664ce2d7ab39837dae4078fcb01078f13
-- 
2.39.5


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ