All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 6.1.y 0/2] mm/damon/sysfs: fix pid leaks from wrong error handlings
@ 2026-10-28 14:17 SJ Park
  2026-10-28 14:17 ` [PATCH 6.1.y 1/2] mm/damon/sysfs: put target pids for damon_start() failure SJ Park
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: SJ Park @ 2026-10-28 14:17 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/20261028051104.154232-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: 2d552c13645b4174829d2e131c6f6483a5111b6f
-- 
2.47.3

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

end of thread, other threads:[~2026-10-29 18:43 UTC | newest]

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.