public inbox for cgroups@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next v2 0/4] cgroup/dmem: bugfixes
@ 2026-02-02 12:27 Chen Ridong
  2026-02-02 12:27 ` [PATCH -next v2 1/4] cgroup/dmem: fix NULL pointer dereference when setting max Chen Ridong
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Chen Ridong @ 2026-02-02 12:27 UTC (permalink / raw)
  To: dev, mripard, natalie.vock, tj, hannes, mkoutny
  Cc: cgroups, dri-devel, linux-kernel, lujialin4, chenridong

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-02-03  0:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 12:27 [PATCH -next v2 0/4] cgroup/dmem: bugfixes Chen Ridong
2026-02-02 12:27 ` [PATCH -next v2 1/4] cgroup/dmem: fix NULL pointer dereference when setting max Chen Ridong
2026-02-02 12:27 ` [PATCH -next v2 2/4] cgroup/dmem: avoid rcu warning when unregister region Chen Ridong
2026-02-02 12:27 ` [PATCH -next v2 3/4] cgroup/dmem: avoid pool UAF Chen Ridong
2026-02-02 12:27 ` [PATCH -next v2 4/4] cgroup/dmem: add argument checks in helpers Chen Ridong
2026-02-02 16:17 ` [PATCH -next v2 0/4] cgroup/dmem: bugfixes Tejun Heo
2026-02-03  0:37   ` Chen Ridong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox