[GIT PULL] cgroup: Fixes for v7.1-rc1

From: Tejun Heo

Date: Mon Apr 27 2026 - 15:00:08 EST


Hello,

The following changes since commit d730905bc3c0075275b2d109cd971735274b98c0:

Merge tag 'mips_7.1' of git://git.kernel.org/pub/scm/linux/kernel/git/mips/linux (2026-04-17 08:53:23 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git tags/cgroup-for-7.1-rc1-fixes

for you to fetch changes up to 981cd338614c96070cf9854679014fd027c1fb1d:

docs: cgroup: fix typo 'protetion' -> 'protection' (2026-04-27 07:55:40 -1000)

----------------------------------------------------------------
cgroup: Fixes for v7.1-rc1

- Fix UAF race in psi pressure_write() against cgroup file release by
extending cgroup_mutex coverage and ordering of->priv access after
cgroup_kn_lock_live().

- Fix integer overflow in rdmacg_try_charge() when usage equals INT_MAX
by performing the increment in s64.

- Fix asymmetric DL bandwidth accounting on cpuset attach rollback by
recording the CPU used by dl_bw_alloc() so cancel_attach() returns
the reservation to the same root domain.

- Fix nr_dying_subsys_* race that briefly showed 0 in cgroup.stat after
rmdir by incrementing from kill_css() instead of offline_css().

- Typo fix in cgroup-v2 documentation.

----------------------------------------------------------------
Edward Adam Davis (1):
sched/psi: fix race between file release and pressure write

Guopeng Zhang (1):
cgroup/cpuset: record DL BW alloc CPU for attach rollback

Petr Malat (1):
cgroup: Increment nr_dying_subsys_* from rmdir context

Petr VanÄ?k (1):
docs: cgroup: fix typo 'protetion' -> 'protection'

cuitao (1):
cgroup/rdma: fix integer overflow in rdmacg_try_charge()

Documentation/admin-guide/cgroup-v2.rst | 2 +-
kernel/cgroup/cgroup.c | 46 ++++++++++++++++++++-------------
kernel/cgroup/cpuset-internal.h | 5 ++++
kernel/cgroup/cpuset.c | 13 +++++++---
kernel/cgroup/rdma.c | 2 +-
5 files changed, 44 insertions(+), 24 deletions(-)

--
tejun