[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168132181733.666.17463837668317872941.git-patchwork-notify@kernel.org>
Date: Wed, 12 Apr 2023 17:50:17 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: davem@...emloft.net, daniel@...earbox.net, andrii@...nel.org,
martin.lau@...nel.org, netdev@...r.kernel.org, bpf@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH bpf-next] bpf: Handle NULL in bpf_local_storage_free.
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@...nel.org>:
On Wed, 12 Apr 2023 10:12:52 -0700 you wrote:
> From: Alexei Starovoitov <ast@...nel.org>
>
> During OOM bpf_local_storage_alloc() may fail to allocate 'storage' and
> call to bpf_local_storage_free() with NULL pointer will cause a crash like:
> [ 271718.917646] BUG: kernel NULL pointer dereference, address: 00000000000000a0
> [ 271719.019620] RIP: 0010:call_rcu+0x2d/0x240
> [ 271719.216274] bpf_local_storage_alloc+0x19e/0x1e0
> [ 271719.250121] bpf_local_storage_update+0x33b/0x740
>
> [...]
Here is the summary with links:
- [bpf-next] bpf: Handle NULL in bpf_local_storage_free.
https://git.kernel.org/bpf/bpf-next/c/10fd5f70c397
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