Thread (2 messages) flat view 2 messages, 2 authors, 2021-07-18

Re: [PATCH] net: sched: fix memory leak in tcindex_partial_destroy_work

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-07-18 16:50:26
Also in: lkml

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Sat, 17 Jul 2021 14:29:33 +0300 you wrote:
Syzbot reported memory leak in tcindex_set_parms(). The problem was in
non-freed perfect hash in tcindex_partial_destroy_work().

In tcindex_set_parms() new tcindex_data is allocated and some fields from
old one are copied to new one, but not the perfect hash. Since
tcindex_partial_destroy_work() is the destroy function for old
tcindex_data, we need to free perfect hash to avoid memory leak.

[...]
Here is the summary with links:
  - net: sched: fix memory leak in tcindex_partial_destroy_work
    https://git.kernel.org/netdev/net/c/f5051bcece50

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help