netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Cezar Bulinaru <cbulinaru@gmail.com>
Cc: davem@davemloft.net, willemb@google.com, netdev@vger.kernel.org
Subject: Re: [PATCH v4 1/2] net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null
Date: Tue, 2 Aug 2022 21:42:58 -0700	[thread overview]
Message-ID: <20220802214258.23d1d788@kernel.org> (raw)
In-Reply-To: <20220803042845.5754-1-cbulinaru@gmail.com>

On Wed,  3 Aug 2022 00:28:45 -0400 Cezar Bulinaru wrote:
> Fixes a NULL pointer derefence bug triggered from tap driver.
> When tap_get_user calls virtio_net_hdr_to_skb the skb->dev is null
> (in tap.c skb->dev is set after the call to virtio_net_hdr_to_skb)
> virtio_net_hdr_to_skb calls dev_parse_header_protocol which
> needs skb->dev field to be valid.

Could you repost these patches as a normal, standalone series, with 
no fancy in-reply-to? Put [PATCH net v5] as the subject prefix.
Patchwork bot is unable to follow your creativity it seems.

  reply	other threads:[~2022-08-03  4:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20220728185640.085c83b6@kernel.org>
2022-07-29  5:17 ` Cezar Bulinaru
2022-07-29  5:17   ` [PATCH v2] net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null Cezar Bulinaru
2022-07-29  6:52     ` Willem de Bruijn
2022-07-30  2:03       ` Jakub Kicinski
2022-08-01  4:57         ` [PATCH v3 1/2] Fixes: 924a9bc362a5 ("net: check if protocol extracted by virtio_net_hdr_set_proto is correct") Cezar Bulinaru
2022-08-01  4:57           ` [PATCH v3 2/2] selftests: add few test cases for tap driver Cezar Bulinaru
2022-08-01  8:22             ` Willem de Bruijn
2022-08-03  4:29               ` [PATCH v4 " Cezar Bulinaru
2022-08-01  8:13           ` [PATCH v3 1/2] Fixes: 924a9bc362a5 ("net: check if protocol extracted by virtio_net_hdr_set_proto is correct") Willem de Bruijn
2022-08-03  4:28             ` [PATCH v4 1/2] net: tap: NULL pointer derefence in dev_parse_header_protocol when skb->dev is null Cezar Bulinaru
2022-08-03  4:42               ` Jakub Kicinski [this message]
2022-08-03  6:29                 ` c b

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=20220802214258.23d1d788@kernel.org \
    --to=kuba@kernel.org \
    --cc=cbulinaru@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=willemb@google.com \
    /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;
as well as URLs for NNTP newsgroup(s).