[PATCH 5.10 048/106] memcg: fix possible use-after-free in memcg_write_event_control()