From: stranche@codeaurora.org
To: netfilter-devel@vger.kernel.org
Cc: subashab@codeaurora.org
Subject: Update on UAF in ip6_do_table on 4.19.X kernel
Date: Mon, 20 Jan 2020 15:36:46 -0700 [thread overview]
Message-ID: <a714cb7a671411196557ccae56d1395b@codeaurora.org> (raw)
Hi all,
Following up on the thread we submitted earlier here:
https://lore.kernel.org/netfilter-devel/44a69247-87bd-905d-bd1c-e9dcb5027641@gmail.com/
In short, we've seen that on the 4.19.X kernels, there is a crash in the
Xtables framework where the jumpstack can potentially be used after it
is freed. We've narrowed down the cause of this crash to a single patch:
f31e5f1a891f ("netfilter: unlock xt_table earlier in __do_replace"); if
this patch is reverted, the crash is no longer seen.
It seems that the xt_table lock is needed for get_old_counters() to be
synchronized properly with the rest of the framework.
Thanks,
Sean
reply other threads:[~2020-01-20 22:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=a714cb7a671411196557ccae56d1395b@codeaurora.org \
--to=stranche@codeaurora.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=subashab@codeaurora.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).