RFC mm/damon/sysfs-schemes: fix use-after-free for [memcg_]path
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mm/damon/sysfs-schemes: protect memcg_path kfree() with damon_sysfs_lockmm/ | +11 | 1 reply | |
| 2/2 | mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lockmm/ | +11 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] mm/damon/sysfs-schemes: fix use-after-free for [memcg_]path
Reads of 'path' and 'memcg_path' files in DAMON sysfs interface could race with their writes, results in use-after-free. Fix those.
SeongJae Park (2):
mm/damon/sysfs-schemes: protect memcg_path kfree() with
damon_sysfs_lock
mm/damon/sysfs-schemes: protect path kfree() with damon_sysfs_lock
mm/damon/sysfs-schemes.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
base-commit: 0d45806f3a75bf53e59475b0e56be324f650ab09
Signature · 1 line
2.47.3