Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-0.9.git;a=commitdiff;h=c401cee20e6575119a06d8ed5d33f2db21ca4752

commit c401cee20e6575119a06d8ed5d33f2db21ca4752
Author: Miklos Vajna <[email protected]>
Date:   Tue Jan 13 16:20:54 2009 +0100

kernel-2.6.26-2solaria2-i686

- add CVE-2008-5079.patch
- closes #3527

diff --git a/source/base/kernel/CVE-2008-5079.patch 
b/source/base/kernel/CVE-2008-5079.patch
new file mode 100644
index 0000000..df46ed5
--- /dev/null
+++ b/source/base/kernel/CVE-2008-5079.patch
@@ -0,0 +1,42 @@
+From 17b24b3c97498935a2ef9777370b1151dfed3f6f Mon Sep 17 00:00:00 2001
+From: Chas Williams <[email protected]>
+Date: Thu, 4 Dec 2008 14:58:13 -0800
+Subject: [PATCH] ATM: CVE-2008-5079: duplicate listen() on socket corrupts the 
vcc table
+
+As reported by Hugo Dias that it is possible to cause a local denial
+of service attack by calling the svc_listen function twice on the same
+socket and reading /proc/net/atm/*vc
+
+Signed-off-by: Chas Williams <[email protected]>
+Signed-off-by: David S. Miller <[email protected]>
+---
+ net/atm/svc.c |    6 +++++-
+ 1 files changed, 5 insertions(+), 1 deletions(-)
+
+diff --git a/net/atm/svc.c b/net/atm/svc.c
+index de1e4f2..8fb54dc 100644
+--- a/net/atm/svc.c
++++ b/net/atm/svc.c
+@@ -293,7 +293,10 @@ static int svc_listen(struct socket *sock,int backlog)
+               error = -EINVAL;
+               goto out;
+       }
+-      vcc_insert_socket(sk);
++      if (test_bit(ATM_VF_LISTEN, &vcc->flags)) {
++              error = -EADDRINUSE;
++              goto out;
++        }
+       set_bit(ATM_VF_WAITING, &vcc->flags);
+       prepare_to_wait(sk->sk_sleep, &wait, TASK_UNINTERRUPTIBLE);
+       sigd_enq(vcc,as_listen,NULL,NULL,&vcc->local);
+@@ -307,6 +310,7 @@ static int svc_listen(struct socket *sock,int backlog)
+               goto out;
+       }
+       set_bit(ATM_VF_LISTEN,&vcc->flags);
++      vcc_insert_socket(sk);
+       sk->sk_max_ack_backlog = backlog > 0 ? backlog : ATM_BACKLOG_DEFAULT;
+       error = -sk->sk_err;
+ out:
+--
+1.6.1
+
diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild
index a8262b1..332a891 100644
--- a/source/base/kernel/FrugalBuild
+++ b/source/base/kernel/FrugalBuild
@@ -1,6 +1,6 @@
# Compiling Time: 9.14 SBU
# Maintainer: Miklos Vajna <[email protected]>

-_F_kernel_patches=(CVE-2008-5300.patch)
+_F_kernel_patches=(CVE-2008-5300.patch CVE-2008-5079.patch)
Finclude kernel
-pkgrel=2solaria1
+pkgrel=2solaria2
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to