Re: [PATCH] remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 25 Nov 2022 10:16:41 +0800, Shang XiaoJing wrote:
> q6v5_wcss_init_mmio() will call platform_get_resource_byname() that may
> fail and return NULL. devm_ioremap() will use res->start as input, which
> may causes null-ptr-deref. Check the ret value of
> platform_get_resource_byname() to avoid the null-ptr-deref.
> 
> 

Applied, thanks!

[1/1] remoteproc: qcom: q6v5: Fix potential null-ptr-deref in q6v5_wcss_init_mmio()
      commit: f360e2b275efbb745ba0af8b47d9ef44221be586

Best regards,
-- 
Bjorn Andersson <andersson@xxxxxxxxxx>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux