[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162188760991.19394.5741178812670347661.git-patchwork-notify@kernel.org>
Date: Mon, 24 May 2021 20:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Taehee Yoo <ap420073@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us, netdev@...r.kernel.org
Subject: Re: [PATCH net] sch_dsmark: fix a NULL deref in qdisc_reset()
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Sun, 23 May 2021 14:38:53 +0000 you wrote:
> If Qdisc_ops->init() is failed, Qdisc_ops->reset() would be called.
> When dsmark_init(Qdisc_ops->init()) is failed, it possibly doesn't
> initialize dsmark_qdisc_data->q. But dsmark_reset(Qdisc_ops->reset())
> uses dsmark_qdisc_data->q pointer wihtout any null checking.
> So, panic would occur.
>
> Test commands:
> sysctl net.core.default_qdisc=dsmark -w
> ip link add dummy0 type dummy
> ip link add vw0 link dummy0 type virt_wifi
> ip link set vw0 up
>
> [...]
Here is the summary with links:
- [net] sch_dsmark: fix a NULL deref in qdisc_reset()
https://git.kernel.org/netdev/net/c/9b76eade1642
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