[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167427001733.13800.12531147943265395936.git-patchwork-notify@kernel.org>
Date: Sat, 21 Jan 2023 03:00:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Paolo Abeni <pabeni@...hat.com>
Cc: netdev@...r.kernel.org, edumazet@...gle.com, davem@...emloft.net,
kuba@...nel.org, shaozhengchao@...wei.com
Subject: Re: [PATCH net] net: fix UaF in netns ops registration error path
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 19 Jan 2023 19:55:45 +0100 you wrote:
> If net_assign_generic() fails, the current error path in ops_init() tries
> to clear the gen pointer slot. Anyway, in such error path, the gen pointer
> itself has not been modified yet, and the existing and accessed one is
> smaller than the accessed index, causing an out-of-bounds error:
>
> BUG: KASAN: slab-out-of-bounds in ops_init+0x2de/0x320
> Write of size 8 at addr ffff888109124978 by task modprobe/1018
>
> [...]
Here is the summary with links:
- [net] net: fix UaF in netns ops registration error path
https://git.kernel.org/netdev/net/c/71ab9c3e2253
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