memcg: fix possible use-after-free in memcg_write_event_control()
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.4.227 by commit 35963b31821920908e397146502066f6b032c917, it was introduced in version v3.14 by commit 347c4a8747104a945ecced358944e42879176ca5. For more details please see the references link.