patches for DPDK stable branches
 help / color / mirror / Atom feed
From: David Marchand <>
To: Owen Hilyard <>
Cc: Vladimir Medvedkin <>,
	dev <>,  dpdk stable <>,
	Stephen Hemminger <>
Subject: Re: [dpdk-stable] [PATCH v4] rib: fix max depth IPv6 lookup
Date: Thu, 24 Jun 2021 15:23:24 +0200
Message-ID: <> (raw)
In-Reply-To: <>

On Wed, Jun 23, 2021 at 5:17 PM <> wrote:
> From: Owen Hilyard <>
> ASAN found a stack buffer overflow in lib/rib/rte_rib6.c:get_dir.
> The fix for the stack buffer overflow was to make sure depth
> was always < 128, since when depth = 128 it caused the index
> into the ip address to be 16, which read off the end of the array.
> While trying to solve the buffer overflow, I noticed that a few
> changes could be made to remove the for loop entirely.
> Fixes: f7e861e21c ("rib: support IPv6")
Updated sha1.

> Signed-off-by: Owen Hilyard <>
Acked-by: Vladimir Medvedkin <>

Applied, thanks.

David Marchand

      reply	other threads:[~2021-06-24 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <>
     [not found] ` <>
2021-06-21 13:30   ` [dpdk-stable] Fwd: [PATCH v3] lib/rte_rib6: fix stack buffer overflow Owen Hilyard
2021-06-23 15:17   ` [dpdk-stable] [PATCH v4] rib: fix max depth IPv6 lookup ohilyard
2021-06-24 13:23     ` David Marchand [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

patches for DPDK stable branches

This inbox may be cloned and mirrored by anyone:

	git clone --mirror stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ \
	public-inbox-index stable

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone