Re: [PATCH net-next v8 0/8] Some pktgen fixes/improvments (part II)

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

 



Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Thu, 27 Feb 2025 14:55:56 +0100 you wrote:
> While taking a look at '[PATCH net] pktgen: Avoid out-of-range in
> get_imix_entries' ([1]) and '[PATCH net v2] pktgen: Avoid out-of-bounds
> access in get_imix_entries' ([2], [3]) and doing some tests and code review
> I detected that the /proc/net/pktgen/... parsing logic does not honour the
> user given buffer bounds (resulting in out-of-bounds access).
> 
> This can be observed e.g. by the following simple test (sometimes the
> old/'longer' previous value is re-read from the buffer):
> 
> [...]

Here is the summary with links:
  - [net-next,v8,1/8] net: pktgen: fix mix of int/long
    https://git.kernel.org/netdev/net-next/c/90b856ae3528
  - [net-next,v8,2/8] net: pktgen: remove extra tmp variable (re-use len instead)
    https://git.kernel.org/netdev/net-next/c/7d39e01803bd
  - [net-next,v8,3/8] net: pktgen: remove some superfluous variable initializing
    https://git.kernel.org/netdev/net-next/c/80f6c198dfd5
  - [net-next,v8,4/8] net: pktgen: fix mpls maximum labels list parsing
    https://git.kernel.org/netdev/net-next/c/2b15a0693f70
  - [net-next,v8,5/8] net: pktgen: fix access outside of user given buffer in pktgen_if_write()
    https://git.kernel.org/netdev/net-next/c/c5cdbf23b84c
  - [net-next,v8,6/8] net: pktgen: fix mpls reset parsing
    https://git.kernel.org/netdev/net-next/c/4bedafa7474e
  - [net-next,v8,7/8] net: pktgen: remove all superfluous index assignements
    https://git.kernel.org/netdev/net-next/c/21d0d99aebbd
  - [net-next,v8,8/8] selftest: net: add proc_net_pktgen
    https://git.kernel.org/netdev/net-next/c/03544faad761

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






[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux