Re: [PATCH] usb: rndis_host: Secure rndis_query check against int overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

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





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux