Subject: Re: [PATCH] CDC-NCM: avoid overflow in sanity checking

From: [email-masked]
Date: Tue, 15 Feb 2022 15:00:11 +0000

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <[email-masked]>:

On Tue, 15 Feb 2022 11:35:47 +0100 you wrote:
> A broken device may give an extreme offset like 0xFFF0
> and a reasonable length for a fragment. In the sanity
> check as formulated now, this will create an integer
> overflow, defeating the sanity check. Both offset
> and offset + len need to be checked in such a manner
> that no overflow can occur.
> And those quantities should be unsigned.
> 
> [...]

Here is the summary with links:
  - CDC-NCM: avoid overflow in sanity checking
    https://git.kernel.org/netdev/net/c/8d2b1a1ec9f5

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html