Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.6.y 0/2] mm/damon/sysfs: fix pid leaks from wrong error handlings
@ 2026-10-28 14:14 SJ Park
  2026-10-28 14:14 ` [PATCH 6.6.y 1/2] mm/damon/sysfs: put target pids for damon_start() failure SJ Park
  2026-10-28 14:14 ` [PATCH 6.6.y 2/2] mm/damon/sysfs: put target pids for apply_inputs() failure SJ Park
  0 siblings, 2 replies; 3+ messages in thread
From: SJ Park @ 2026-10-28 14:14 UTC (permalink / raw)
  To: stable; +Cc: SJ Park, Andrew Morton, damon, linux-kernel, linux-mm

DAMON sysfs interface can leak pids due to wrong error handlings.  The
issue in the mainline has been fixed with code refactoring.  The
refactoring is done with commits including 7114bc5e01cf ("mm/damon/core:
add cleanup_target() ops callback").   Porting all the refactoring
changes to old stable kernels will be challenging.  Hence submitting
this non-mainline hotfix series.

Changes from RFC
- RFC: https://lore.kernel.org/20261028045902.148624-1-sj@kernel.org
- Drop RFC tag.

SJ Park (2):
  mm/damon/sysfs: put target pids for damon_start() failure
  mm/damon/sysfs: put target pids for apply_inputs() failure

 mm/damon/sysfs.c | 2 ++
 1 file changed, 2 insertions(+)


base-commit: e242a25af30b4e817ad5b8ecb336201e386a87ea
-- 
2.47.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-10-28 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-28 14:14 [PATCH 6.6.y 0/2] mm/damon/sysfs: fix pid leaks from wrong error handlings SJ Park
2026-10-28 14:14 ` [PATCH 6.6.y 1/2] mm/damon/sysfs: put target pids for damon_start() failure SJ Park
2026-10-28 14:14 ` [PATCH 6.6.y 2/2] mm/damon/sysfs: put target pids for apply_inputs() failure SJ Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox