From: Chen Ridong <chenridong@huawei.com>
This patch series addresses three existing bugs in the cgroup/dmem
subsystem and adds a safety check for an exported API to prevent misuse.
---
v2:
- patch 1/4: fix uninitialized region.
- patch 4/4: new patch adding check for exported API.
Chen Ridong (4):
cgroup/dmem: fix NULL pointer dereference when setting max
cgroup/dmem: avoid rcu warning when unregister region
cgroup/dmem: avoid pool UAF
cgroup/dmem: add argument checks in helpers
kernel/cgroup/dmem.c | 85 +++++++++++++++++++++++++++++++++++++++-----
1 file changed, 76 insertions(+), 9 deletions(-)
--
2.34.1