rpms/kernel/F-10 af_unix-fix-deadlock-connecting-to-shutdown-socket.patch, 1.1.2.1, 1.1.2.2

Chuck Ebbert cebbert at fedoraproject.org
Mon Oct 26 12:57:37 UTC 2009


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30474

Modified Files:
      Tag: private-fedora-10-2_6_27
	af_unix-fix-deadlock-connecting-to-shutdown-socket.patch 
Log Message:
official upstream patch

af_unix-fix-deadlock-connecting-to-shutdown-socket.patch:
 af_unix.c |    2 ++
 1 file changed, 2 insertions(+)

Index: af_unix-fix-deadlock-connecting-to-shutdown-socket.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/Attic/af_unix-fix-deadlock-connecting-to-shutdown-socket.patch,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.1 -r1.1.2.2
--- af_unix-fix-deadlock-connecting-to-shutdown-socket.patch	19 Oct 2009 16:19:04 -0000	1.1.2.1
+++ af_unix-fix-deadlock-connecting-to-shutdown-socket.patch	26 Oct 2009 12:57:37 -0000	1.1.2.2
@@ -1,10 +1,10 @@
-From linux-kernel-owner+kyle=40mcmartin.ca-S1753471AbZJSGXV at vger.kernel.org Mon Oct 19 02:23:31 2009
-Message-ID: <4ADC010C.5070809 at hitachi.com>
-Date:	Mon, 19 Oct 2009 15:02:52 +0900
-From:	Tomoki Sekiyama <tomoki.sekiyama.qu at hitachi.com>
-Subject: [PATCH] AF_UNIX: Fix deadlock on connecting to shutdown socket
+From: Tomoki Sekiyama <tomoki.sekiyama.qu at hitachi.com>
+Date: Mon, 19 Oct 2009 06:17:37 +0000 (-0700)
+Subject: AF_UNIX: Fix deadlock on connecting to shutdown socket
+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=77238f2b942b38ab4e7f3aced44084493e4a8675
+
+AF_UNIX: Fix deadlock on connecting to shutdown socket
 
-Hi,
 I found a deadlock bug in UNIX domain socket, which makes able to DoS
 attack against the local machine by non-root users.
 
@@ -67,9 +67,8 @@ Patch:
 
 Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama.qu at hitachi.com>
 Signed-off-by: Masanori Yoshida <masanori.yoshida.tv at hitachi.com>
+Signed-off-by: David S. Miller <davem at davemloft.net>
 ---
- net/unix/af_unix.c |    2 ++
- 1 files changed, 2 insertions(+), 0 deletions(-)
 
 diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
 index 51ab497..fc820cd 100644
@@ -81,18 +80,6 @@ index 51ab497..fc820cd 100644
  		goto out_unlock;
 +	if (other->sk_shutdown & RCV_SHUTDOWN)
 +		goto out_unlock;
-
+ 
  	if (unix_recvq_full(other)) {
  		err = -EAGAIN;
--- 
-Tomoki Sekiyama
-Linux Technology Center
-Hitachi, Ltd., Systems Development Laboratory
-E-mail: tomoki.sekiyama.qu at hitachi.com
-
---
-To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
-the body of a message to majordomo at vger.kernel.org
-More majordomo info at  http://vger.kernel.org/majordomo-info.html
-Please read the FAQ at  http://www.tux.org/lkml/
-




More information about the fedora-extras-commits mailing list