[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173964062887.2306719.12280700542530896756.git-patchwork-notify@kernel.org>
Date: Sat, 15 Feb 2025 17:30:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Pierre Riteau <pierre@...ckhpc.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net] net/sched: cls_api: fix error handling causing NULL
dereference
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 13 Feb 2025 23:36:10 +0100 you wrote:
> tcf_exts_miss_cookie_base_alloc() calls xa_alloc_cyclic() which can
> return 1 if the allocation succeeded after wrapping. This was treated as
> an error, with value 1 returned to caller tcf_exts_init_ex() which sets
> exts->actions to NULL and returns 1 to caller fl_change().
>
> fl_change() treats err == 1 as success, calling tcf_exts_validate_ex()
> which calls tcf_action_init() with exts->actions as argument, where it
> is dereferenced.
>
> [...]
Here is the summary with links:
- [net] net/sched: cls_api: fix error handling causing NULL dereference
https://git.kernel.org/netdev/net/c/071ed42cff4f
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