Thread (2 messages) flat view 2 messages, 2 authors, 2021-08-20

Re: [RESEND PATCH] net: qrtr: fix another OOB Read in qrtr_endpoint_post

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-08-20 13:50:08
Also in: linux-arm-msm, lkml

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help