Thread (1 message) 1 message, 1 author, 2009-02-11

Re: [PATCH] 4 bytes kernel memory disclosure in SO_BSDCOMPAT gsopt

From: David Miller <davem@davemloft.net>
Date: 2009-02-11 21:46:05
Also in: lkml

From: Clément LECIGNE <redacted>
Date: Wed, 11 Feb 2009 15:56:56 +0100
Hello lkml,

In function sock_getsockopt() located in net/core/sock.c, optval v.val is not correctly initialized and directly returned in userland in case we have SO_BSDCOMPAT option set.

This dummy code should trigger the bug:
Some problems with your patch:

1) Your patch doesn't apply properly.  It has been corrupted.

   Somehow, even though you used an attachment, tab characters were
   transformed into spaces.

2) Networking patches should be sent with at least
   netdev@vger.kernel.org CC:'d so that your patch gets
   properly traced at http://patchwork.ozlabs.org/project/netdev/list/

3) You need to provide a proper "Signed-off-by:" line with your
   patch description.  See linux/Documentation/SubmittingPatches
   for details.

Please fix these issues up and resubmit your patch.

Thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help