[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168432482018.30872.8605947380694334089.git-patchwork-notify@kernel.org>
Date: Wed, 17 May 2023 12:00:20 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Kumar@...eaurora.org, M Chetan <m.chetan.kumar@...ux.intel.com>
Cc: netdev@...r.kernel.org, kuba@...nel.org, davem@...emloft.net,
johannes@...solutions.net, ryazanov.s.a@...il.com, loic.poulain@...aro.org,
linuxwwan@...el.com, m.chetan.kumar@...el.com, edumazet@...gle.com,
pabeni@...hat.com, simon.horman@...igine.com, sam@...wein.com
Subject: Re: [PATCH v3 net] net: wwan: iosm: fix NULL pointer dereference when
removing device
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Tue, 16 May 2023 21:09:46 +0530 you wrote:
> From: M Chetan Kumar <m.chetan.kumar@...ux.intel.com>
>
> In suspend and resume cycle, the removal and rescan of device ends
> up in NULL pointer dereference.
>
> During driver initialization, if the ipc_imem_wwan_channel_init()
> fails to get the valid device capabilities it returns an error and
> further no resource (wwan struct) will be allocated. Now in this
> situation if driver removal procedure is initiated it would result
> in NULL pointer exception since unallocated wwan struct is dereferenced
> inside ipc_wwan_deinit().
>
> [...]
Here is the summary with links:
- [v3,net] net: wwan: iosm: fix NULL pointer dereference when removing device
https://git.kernel.org/netdev/net/c/60829145f1e2
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists