aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2022-09-23 19:51:19 +0800
committerTejun Heo <[email protected]>2022-09-23 07:18:45 -1000
commitdf02452f3df069a59bc9e69c84435bf115cb6e37 (patch)
tree4bbb542c16070918d40eb5746603739a45dce1d8 /drivers/gpu/drm/amd/display
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 <[email protected]> Fixes: 6b658c4863c1 ("scsi: cgroup: Add cgroup_get_from_id()") Cc: Muneendra <[email protected]> Signed-off-by: Ming Lei <[email protected]> Acked-by: Mukesh Ojha <[email protected]> Cc: [email protected] # v5.14+ Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions