summaryrefslogtreecommitdiff
path: root/kernel/crash_dump.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-09-23 19:51:19 +0800
committerTejun Heo <tj@kernel.org>2022-09-23 07:18:45 -1000
commitdf02452f3df069a59bc9e69c84435bf115cb6e37 (patch)
tree4bbb542c16070918d40eb5746603739a45dce1d8 /kernel/crash_dump.c
parenta81e18e963ce13ecfa4f0f11b185bc8372f203f8 (diff)
cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
cgroup has to be one kernfs dir, otherwise kernel panic is caused, especially cgroup id is provide from userspace. Reported-by: Marco Patalano <mpatalan@redhat.com> Fixes: 6b658c4863c1 ("scsi: cgroup: Add cgroup_get_from_id()") Cc: Muneendra <muneendra.kumar@broadcom.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Acked-by: Mukesh Ojha <quic_mojha@quicinc.com> Cc: stable@vger.kernel.org # v5.14+ Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/crash_dump.c')
0 files changed, 0 insertions, 0 deletions