mbox series

[net,v2,0/3] fix null pointer access issue in qdisc

Message ID 20221018063201.306474-1-shaozhengchao@huawei.com (mailing list archive)
Headers show
Series fix null pointer access issue in qdisc | expand

Message

shaozhengchao Oct. 18, 2022, 6:31 a.m. UTC
These three patches fix the same type of problem. Set the default qdisc,
and then construct an init failure scenario when the dev qdisc is
configured on mqprio to trigger the reset process. NULL pointer access
may occur during the reset process.

---
v2: for fq_codel, revert the patch
---

Zhengchao Shao (3):
  net: sched: cake: fix null pointer access issue when cake_init() fails
  Revert "net: sched: fq_codel: remove redundant resource cleanup in
    fq_codel_init()"
  net: sched: sfb: fix null pointer access issue when sfb_init() fails

 net/sched/sch_cake.c     |  4 ++++
 net/sched/sch_fq_codel.c | 25 +++++++++++++++++--------
 net/sched/sch_sfb.c      |  3 ++-
 3 files changed, 23 insertions(+), 9 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 19, 2022, 1 p.m. UTC | #1
Hello:

This series was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 18 Oct 2022 14:31:58 +0800 you wrote:
> These three patches fix the same type of problem. Set the default qdisc,
> and then construct an init failure scenario when the dev qdisc is
> configured on mqprio to trigger the reset process. NULL pointer access
> may occur during the reset process.
> 
> ---
> v2: for fq_codel, revert the patch
> 
> [...]

Here is the summary with links:
  - [net,v2,1/3] net: sched: cake: fix null pointer access issue when cake_init() fails
    https://git.kernel.org/netdev/net/c/51f9a8921cea
  - [net,v2,2/3] Revert "net: sched: fq_codel: remove redundant resource cleanup in fq_codel_init()"
    https://git.kernel.org/netdev/net/c/f5ffa3b11973
  - [net,v2,3/3] net: sched: sfb: fix null pointer access issue when sfb_init() fails
    https://git.kernel.org/netdev/net/c/2a3fc78210b9

You are awesome, thank you!