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


Groups > linux.kernel > #1336633

Re: [PATCH] Fix kfree bug in sendmsg and recvmsg

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] Fix kfree bug in sendmsg and recvmsg
Date 2016-02-17 19:30 +0100
Message-ID <r3f1o-1O1-29@gated-at.bofh.it> (permalink)
References <r3diX-yw-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Joe Korty <joe.korty@ccur.com>
Date: Wed, 17 Feb 2016 11:38:05 -0500

> Fix kfree bug in recvmsg and sendmsg.
> 
> We cannot kfree(iov) when iov points to an array on the
> stack, as that has the potential of corrupting memory.
> 
> So re-introduce the if-stmt that used to protect kfree
> from this condition, code that was removed as part of
> a larger set of changes made by git commit da184284.
> 
> Signed-off-by: Joe Korty <joe.korty@ccur.com>

Please submit networking patches to netdev@vger.kernel.org, thank you.

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


Thread

[PATCH] Fix kfree bug in sendmsg and recvmsg Joe Korty <joe.korty@ccur.com> - 2016-02-17 17:40 +0100
  Re: [PATCH] Fix kfree bug in sendmsg and recvmsg Al Viro <viro@ZenIV.linux.org.uk> - 2016-02-17 17:50 +0100
    Re: [PATCH] Fix kfree bug in sendmsg and recvmsg Al Viro <viro@ZenIV.linux.org.uk> - 2016-02-17 18:00 +0100
  Re: [PATCH] Fix kfree bug in sendmsg and recvmsg David Miller <davem@davemloft.net> - 2016-02-17 19:30 +0100

csiph-web