Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1436048890.32127631.1510746947605.JavaMail.zimbra@redhat.com>
Date: Wed, 15 Nov 2017 06:55:47 -0500 (EST)
From: Vladis Dronov <vdronov@...hat.com>
To: oss-security@...ts.openwall.com
Subject: CVE-2017-15115: Linux kernel: sctp: use-after-free in
 sctp_cmp_addr_exact()

Heololo,

It was found that in Linux kernel when peeling off an association to the socket
in another network namespace, all transports in this association are not to be
rehashed and keep use the old key in hashtable. A kernel would miss removing
transports from hashtable when closing the socket and all transports are being
freed. Later on a use-after-free could be caused when looking up an association
and dereferencing the transports.

This is a very old issue and it was fixed in Linux kernel v4.14-rc6, and may still
be not fixed in other distributions.

References:

https://bugzilla.redhat.com/show_bug.cgi?id=1513345

https://patchwork.ozlabs.org/patch/827077/

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=df80cd9b28b9ebaa284a41df611dbf3a2d05ca74

PS: I do not see that this fix has got into any stable tree, so posting about this
bug instead of the 100 other bugfixes in the past few weeks/months.

Best regards,
Vladis Dronov | Red Hat, Inc. | Product Security Engineer

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.