Re: [RESEND PATCH] net: qrtr: fix another OOB Read in qrtr_endpoint_post
From: patchwork-bot+netdevbpf
Date: Fri Aug 20 2021 - 09:50:12 EST
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Fri, 20 Aug 2021 03:50:34 +0800 you wrote:
> This check was incomplete, did not consider size is 0:
>
> if (len != ALIGN(size, 4) + hdrlen)
> goto err;
>
> if size from qrtr_hdr is 0, the result of ALIGN(size, 4)
> will be 0, In case of len == hdrlen and size == 0
> in header this check won't fail and
>
> [...]
Here is the summary with links:
- [RESEND] net: qrtr: fix another OOB Read in qrtr_endpoint_post
https://git.kernel.org/netdev/net/c/7e78c597c3eb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html