[PATCH 6.6 050/101] mm/damon/sysfs: fix use-after-free in state_show()