From: patchwork-bot+netdevbpf@kernel.org
To: Szymon Heidrich <szymon.heidrich@gmail.com>
Cc: davem@davemloft.ne, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, linux-usb@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] usb: rndis_host: Secure rndis_query check against int overflow
Date: Tue, 03 Jan 2023 09:30:15 +0000 [thread overview]
Message-ID: <167273821587.22243.5603167276916404325.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230103091710.81530-1-szymon.heidrich@gmail.com>
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:
On Tue, 3 Jan 2023 10:17:09 +0100 you wrote:
> Variables off and len typed as uint32 in rndis_query function
> are controlled by incoming RNDIS response message thus their
> value may be manipulated. Setting off to a unexpectetly large
> value will cause the sum with len and 8 to overflow and pass
> the implemented validation step. Consequently the response
> pointer will be referring to a location past the expected
> buffer boundaries allowing information leakage e.g. via
> RNDIS_OID_802_3_PERMANENT_ADDRESS OID.
>
> [...]
Here is the summary with links:
- usb: rndis_host: Secure rndis_query check against int overflow
https://git.kernel.org/netdev/net/c/c7dd13805f8b
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2023-01-03 9:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-03 9:17 [PATCH] usb: rndis_host: Secure rndis_query check against int overflow Szymon Heidrich
2023-01-03 9:30 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=167273821587.22243.5603167276916404325.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.ne \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=szymon.heidrich@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox