[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yy3tEKSV+vg6swOd@slm.duckdns.org>
Date: Fri, 23 Sep 2022 07:29:52 -1000
From: Tejun Heo <tj@...nel.org>
To: Ming Lei <ming.lei@...hat.com>
Cc: linux-kernel@...r.kernel.org, cgroups@...r.kernel.org,
Marco Patalano <mpatalan@...hat.com>,
Muneendra <muneendra.kumar@...adcom.com>
Subject: Re: [PATCH] cgroup: fix cgroup_get_from_id
On Fri, Sep 23, 2022 at 07:51:19PM +0800, Ming Lei wrote:
> cgroup has to be one kernfs dir, otherwise kernel panic is caused,
> especially cgroup id is provide from userspace.
>
> Reported-by: Marco Patalano <mpatalan@...hat.com>
> Fixes: 6b658c4863c1 ("scsi: cgroup: Add cgroup_get_from_id()")
> Cc: Muneendra <muneendra.kumar@...adcom.com>
> Signed-off-by: Ming Lei <ming.lei@...hat.com>
Applied to cgroup/for-6.0-fixes with the subject changed to "cgroup:
cgroup_get_from_id() must check the looked-up kn is a directory" and stable
cc'd.
Thanks.
--
tejun
Powered by blists - more mailing lists