[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166013581548.3703.13885430900913328520.git-patchwork-notify@kernel.org>
Date: Wed, 10 Aug 2022 12:50:15 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, jiri@...dia.com,
mlxsw@...dia.com
Subject: Re: [PATCH net] devlink: Fix use-after-free after a failed reload
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@...emloft.net>:
On Tue, 9 Aug 2022 14:35:06 +0300 you wrote:
> After a failed devlink reload, devlink parameters are still registered,
> which means user space can set and get their values. In the case of the
> mlxsw "acl_region_rehash_interval" parameter, these operations will
> trigger a use-after-free [1].
>
> Fix this by rejecting set and get operations while in the failed state.
> Return the "-EOPNOTSUPP" error code which does not abort the parameters
> dump, but instead causes it to skip over the problematic parameter.
>
> [...]
Here is the summary with links:
- [net] devlink: Fix use-after-free after a failed reload
https://git.kernel.org/netdev/net/c/6b4db2e528f6
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