From: Bruce Richardson <bruce.richardson@intel.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: <dev@dpdk.org>, Denis Sergeev <denserg.edu@gmail.com>,
<stable@dpdk.org>, "John W. Linville" <linville@tuxdriver.com>
Subject: Re: [PATCH] net/af_packet: fix parsing of numeric device args
Date: Fri, 12 Jun 2026 10:35:00 +0100 [thread overview]
Message-ID: <aivSxPGAMkxLLJts@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <20260603181306.459234-1-stephen@networkplumber.org>
On Wed, Jun 03, 2026 at 11:13:06AM -0700, Stephen Hemminger wrote:
> This driver has several numeric arguments but it was using
> atoi() which allows garbage and negative values.
> Convert to a helper using strtoul() with upper bound.
>
> First found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Reported-by: Denis Sergeev <denserg.edu@gmail.com>
> Fixes: 364e08f2bbc0 ("af_packet: add PMD for AF_PACKET-based virtual devices")
> Cc: stable@dpdk.org
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
prev parent reply other threads:[~2026-06-12 9:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-03 4:42 [PATCH] net/af_packet: fix qpairs argument upper bound check Denis Sergeev
2026-06-03 15:27 ` Stephen Hemminger
2026-06-03 17:08 ` [PATCH v2] " Denis Sergeev
2026-06-03 18:13 ` [PATCH] net/af_packet: fix parsing of numeric device args Stephen Hemminger
2026-06-12 9:35 ` Bruce Richardson [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=aivSxPGAMkxLLJts@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=denserg.edu@gmail.com \
--cc=dev@dpdk.org \
--cc=linville@tuxdriver.com \
--cc=stable@dpdk.org \
--cc=stephen@networkplumber.org \
/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