-
由 Mathias Nyman 提交于
stable inclusion from stable-5.10.36 commit 98599e1045c27c5b659d2fa329d5249fbd78565d bugzilla: 51867 CVE: NA -------------------------------- [ Upstream commit 597899d2 ] Don't dereference ctrl_ctx before checking it's valid. Issue reported by Klockwork Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20210406070208.3406266-3-mathias.nyman@linux.intel.comSigned-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NWeilong Chen <chenweilong@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
bddc6186