public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] blk-cgroup: cleanup and bugfixs in blk-cgroup
@ 2026-01-08  1:44 Zheng Qixing
  2026-01-08  1:44 ` [PATCH 1/3] blk-cgroup: factor policy pd teardown loop into helper Zheng Qixing
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Zheng Qixing @ 2026-01-08  1:44 UTC (permalink / raw)
  To: tj, josef, axboe, yukuai
  Cc: cgroups, linux-block, linux-kernel, yi.zhang, yangerkun, houtao1,
	zhengqixing

From: Zheng Qixing <zhengqixing@huawei.com>

Hi,

This series contains three patches.

Patch 1 is a cleanup change which extracts the common teardown sequence
into a helper.

Patches 2 and 3 fix a use-after-free issue triggered by the concurrency
between switching the device I/O scheduler and blkcg deletion.

Zheng Qixing (3):
  blk-cgroup: factor policy pd teardown loop into helper
  blk-cgroup: fix uaf in blkcg_activate_policy() racing with
    blkg_free_workfn()
  blk-cgroup: skip dying blkg in blkcg_activate_policy()

 block/blk-cgroup.c | 63 +++++++++++++++++++++++-----------------------
 1 file changed, 31 insertions(+), 32 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2026-01-12  1:04 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08  1:44 [PATCH 0/3] blk-cgroup: cleanup and bugfixs in blk-cgroup Zheng Qixing
2026-01-08  1:44 ` [PATCH 1/3] blk-cgroup: factor policy pd teardown loop into helper Zheng Qixing
2026-01-08 13:51   ` Christoph Hellwig
2026-01-08 16:12   ` Yu Kuai
2026-01-09 14:44   ` Michal Koutný
2026-01-12  1:04     ` Zheng Qixing
2026-01-08  1:44 ` [PATCH 2/3] blk-cgroup: fix uaf in blkcg_activate_policy() racing with blkg_free_workfn() Zheng Qixing
2026-01-08 13:51   ` Christoph Hellwig
2026-01-08 16:11   ` Yu Kuai
2026-01-09  6:22     ` Zheng Qixing
2026-01-09  6:43       ` Yu Kuai
2026-01-09  8:37         ` Zheng Qixing
2026-01-08  1:44 ` [PATCH 3/3] blk-cgroup: skip dying blkg in blkcg_activate_policy() Zheng Qixing
2026-01-08 13:52   ` Christoph Hellwig
2026-01-08 16:22   ` Yu Kuai
2026-01-09  8:46     ` Zheng Qixing

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