Thread (3 messages) flat view 3 messages, 3 authors, 2023-07-07

Re: [PATCH net] net/sched: cls_fw: Fix improper refcount update leads to use-after-free

From: patchwork-bot+netdevbpf@kernel.org
Date: 2023-07-07 02:20:24

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Wed,  5 Jul 2023 12:15:30 -0400 you wrote:
From: M A Ramdhan <redacted>

In the event of a failure in tcf_change_indev(), fw_set_parms() will
immediately return an error after incrementing or decrementing
reference counter in tcf_bind_filter().  If attacker can control
reference counter to zero and make reference freed, leading to
use after free.

[...]
Here is the summary with links:
  - [net] net/sched: cls_fw: Fix improper refcount update leads to use-after-free
    https://git.kernel.org/netdev/net/c/0323bce598ee

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