linux/kernel/cgroup
Linus Torvalds 0d32b3ec5f cgroup: Fixes for v7.3-rc6
- During CPU offline, the active mask drops the CPU before cpuset updates
   the effective CPUs, so a task placement in that window could find no
   active CPU in the top cpuset and dereference NULL. Restore the NULL check.
 
 - The cpuset v2-mode test read the subsystem's root pointer, which is stale
   during a cgroup filesystem rebind, and the hotplug handler evaluated it
   before taking the cpuset mutex. Record the mode in a flag and test it
   under the mutex.
 -----BEGIN PGP SIGNATURE-----
 
 iIQEABYKACwWIQTfIjM1kS57o3GsC/uxYfJx3gVYGQUCasUtqA4cdGpAa2VybmVs
 Lm9yZwAKCRCxYfJx3gVYGf+HAP9wEWWAp5XQUuDFaWg6Ft8iPw4Tm+b1d2w4c5il
 j+EGQgD/ce2FLEIu2642xuvQB4XaScJMT7G+3XZplgBsT4/jrA4=
 =Qa2B
 -----END PGP SIGNATURE-----

Merge tag 'cgroup-for-7.3-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

Pull cgroup fixes from Tejun Heo:

 - During CPU offline, the active mask drops the CPU before cpuset
   updates the effective CPUs, so a task placement in that window could
   find no active CPU in the top cpuset and dereference NULL. Restore
   the NULL check.

 - The cpuset v2-mode test read the subsystem's root pointer, which is
   stale during a cgroup filesystem rebind, and the hotplug handler
   evaluated it before taking the cpuset mutex. Record the mode in a
   flag and test it under the mutex.

* tag 'cgroup-for-7.3-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup:
  cgroup/cpuset: Call is_in_v2_mode() after acquiring cpuset_mutex in cpuset_handle_hotplug()
  cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus()
  cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode()
2026-10-07 02:19:02 +02:00
..
cgroup-internal.h
cgroup-v1.c
cgroup.c cgroup: Fixes for v7.3-rc3 2026-09-15 11:40:30 -07:00
cpuset-internal.h cgroup/cpuset: Support multiple source cpusets for cpuset_*attach() 2026-07-06 14:51:01 -10:00
cpuset-v1.c cgroup/cpuset: Remove obsolete PFA_SPREAD_SLAB task flag 2026-08-11 15:43:08 -10:00
cpuset.c cgroup: Fixes for v7.3-rc6 2026-10-07 02:19:02 +02:00
debug.c
dmem.c cgroup/dmem: Add reclaim callback for lowering max below current usage 2026-08-06 23:38:03 +02:00
freezer.c
legacy_freezer.c
Makefile
misc.c
namespace.c
pids.c cgroup/pids: Restore pids.events notifications in local mode 2026-09-24 06:22:11 -10:00
rdma.c RDMA/cgroup: Disambiguate devices across net namespaces 2026-07-26 03:11:00 -04:00
rstat.c cgroup: rstat: relax NMI guard after switch to try_cmpxchg 2026-05-20 09:44:35 -10:00