Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213722

Re: [PATCH] route: put lwstate before freeing dst to avoid use after free

From Jiri Benc <jbenc@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] route: put lwstate before freeing dst to avoid use after free
Date 2015-08-26 12:40 +0200
Message-ID <q1GhA-38h-21@gated-at.bofh.it> (permalink)
References <q1r8S-68b-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 25 Aug 2015 14:25:14 -0400, Sasha Levin wrote:
> Commit 61adedf3 ("route: move lwtunnel state to dst_entry") is trying to
> release lwstate after getting rid of dst, which causes a use-after-free
> trying to access dst->lwstate.
> 
> Fixes: 61adedf3 ("route: move lwtunnel state to dst_entry")
> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

Already fixed by e252b3d1a174 in net-next.

 Jiri

-- 
Jiri Benc
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] route: put lwstate before freeing dst to avoid use after free Sasha Levin <sasha.levin@oracle.com> - 2015-08-25 20:30 +0200
  Re: [PATCH] route: put lwstate before freeing dst to avoid use after  free Thomas Graf <tgraf@suug.ch> - 2015-08-25 20:30 +0200
  Re: [PATCH] route: put lwstate before freeing dst to avoid use  after free Jiri Benc <jbenc@redhat.com> - 2015-08-26 12:40 +0200

csiph-web