From: David Miller <davem@davemloft.net>
To: ross.lagerwall@citrix.com
Cc: netdev@vger.kernel.org, mostrows@earthlink.net,
pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de,
roopa@cumulusnetworks.com, nikolay@cumulusnetworks.com,
kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org
Subject: Re: [PATCH] net: Fix usage of pskb_trim_rcsum
Date: Fri, 18 Jan 2019 14:05:36 -0800 (PST) [thread overview]
Message-ID: <20190118.140536.1289771503734412771.davem@davemloft.net> (raw)
In-Reply-To: <20190117153438.32204-1-ross.lagerwall@citrix.com>
From: Ross Lagerwall <ross.lagerwall@citrix.com>
Date: Thu, 17 Jan 2019 15:34:38 +0000
> In certain cases, pskb_trim_rcsum() may change skb pointers.
> Reinitialize header pointers afterwards to avoid potential
> use-after-frees. Add a note in the documentation of
> pskb_trim_rcsum(). Found by KASAN.
>
> Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Applied and queued up for -stable.
prev parent reply other threads:[~2019-01-18 22:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-17 15:34 [PATCH] net: Fix usage of pskb_trim_rcsum Ross Lagerwall
2019-01-18 22:05 ` David Miller [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=20190118.140536.1289771503734412771.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=kadlec@blackhole.kfki.hu \
--cc=kuznet@ms2.inr.ac.ru \
--cc=mostrows@earthlink.net \
--cc=netdev@vger.kernel.org \
--cc=nikolay@cumulusnetworks.com \
--cc=pablo@netfilter.org \
--cc=roopa@cumulusnetworks.com \
--cc=ross.lagerwall@citrix.com \
--cc=yoshfuji@linux-ipv6.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;
as well as URLs for NNTP newsgroup(s).