From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] Add a regression test for cve-2017-15649
Date: Wed, 29 Jan 2020 17:10:01 +0100 [thread overview]
Message-ID: <20200129161001.GA23969@dell5510> (raw)
In-Reply-To: <20200129120231.17375-1-mmoese@suse.de>
Hi Michie,
> net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local
> users to gain privileges via crafted system calls that trigger
> mishandling of packet_fanout data structures, because of a race
> condition (involving fanout_add and packet_do_bind) that leads to a
> use-after-free.
>
> See https://ssd-disclosure.com/archives/3484 for more detail.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Thanks for your work!
Fuzzy sync library changes now LGTM, but I'd Richie or somebody else to double
check.
What a shame it requires Kasan for reproducing.
> +++ b/testcases/cve/Makefile
> @@ -46,5 +46,6 @@ cve-2017-17052: CFLAGS += -pthread
> cve-2017-17053: CFLAGS += -pthread
>
> cve-2015-3290: CFLAGS += -pthread
> +cve-2017-15649: CFLAGS += -pthread
testcases/cve/../../include/tst_fuzzy_sync.h:342: undefined reference to `clock_gettime'
You also need link with -lrt, otherwise it fails to build on very old distros:
cve-2017-15649: LDLIBS += -lrt
Kind regards,
Petr
next prev parent reply other threads:[~2020-01-29 16:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-29 12:02 [LTP] [PATCH v2] Add a regression test for cve-2017-15649 Michael Moese
2020-01-29 16:10 ` Petr Vorel [this message]
2020-01-29 16:22 ` Petr Vorel
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=20200129161001.GA23969@dell5510 \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.